I am a beginner in developing websites by Django. I run small discussion websites similar to SO.
I have an account at Bluehost which has been a nightmare in developing by Django. I have found that Webfaction and Google App Engine seems to be the best choices for Django.
However, I am not sure which one is the best for me.
Is Google App Engine better than Webfaction in running small websites?
- Great shell access. Ability to install python modules, or anything else you might need. You will love checking out source code from shell to update your production (no need for FTPing anything anymore!)
- Very good performance and reliability
- Great support + wealth of info on help knowledge base and in the forums. (FORGET bluehost or anything else you ever tried). I was surprised by amount of answers I found to what I thought would be difficult questions.
- You can use regular database and you can do joins (see app engine minus #2)
- Setting up initial deployment can be a bit tricky the first few times around (as is to be expected from shell).
- Growing-scaling can be expensive and you probably will not survive beign "slashdotted"
- Free to start with
- Initial database is easier to setup.
- Deployment is a breeze
- Enforcement of "good" design principles from the start which help you with #5. (Such as hard limits, db denormalizing etc)
- Scalability (but this does not come free - you need to think ahead).
- No maintanence: auto backups, security comes for free, logging + centralized dashboard, software updates are automatic.
- Setting up Django on App Engine is not so straightforward, as well as getting used to this setup. The webapp framework from google is weak.
- Database model takes a little bit of time to wrap your head around. THis is not your moma's SQL server. For example you have to denormalize your DB from the start, and you cannot do Joins (unless they are self joins)
- The usual things you are used to are not always there. Some things such as testing and data-importing are not that easy anymore.
- You are tied down to App Engine and migrating your data to another DB or server, while not impossible, is not easy. (Not that you do data migration that often! Probably never)
- Hard limits in requests, responses and file sizes (last time I heard about 1MB).
- App Engine currently supports Python 2.5 only.
Can't think of anything else so far. I am currently with Webfaction and am testing App Engine as well. I have no difficulty going from Django-Webfaction to App-Engine way of thinking. However, I am not sure if the AppEngine -> Standalone servers route would be just as easy.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki