Ask Your Question

Would it be possible to port askbot to Google App Engine?

asked 2010-08-07 14:07:50 -0500

bogorman gravatar image

updated 2010-08-07 14:56:47 -0500

Evgeny gravatar image

I would like to run askbot on GAE. How much work would it be to port it across?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2010-08-07 14:55:30 -0500

Evgeny gravatar image

updated 2010-08-07 14:58:07 -0500

Hi there, this will take a while (at least if I start working on it - I've never touched app engine yet).

The main issue is adaptation of code from using Django ORM to GAE datastore. There is something called "django-nonrel" adapter that is in development out there. This may help. Last time I read about it "nonrel" could not "translate" all django orm queries to datastore but could handle the most frequently used queries.

I am gradually removing ORM calls from the application code so that eventually one might re-implement the model layer to work on the engine. IMO the best way to proceed it to first isolate application code (the view functions, templates etc.) from the direct model lookups, rather than just rewrite everything specifically for GAE (because in this case you will end up with two incompatible applications).

If you are interested to run a site - you will not suffer in any way by using old school SQL-based database for quite a while. With careful caching in the application you can sustain very high traffic (~1000-3000 views per second and dozens of posts per second). Most forums, including the best ones are much slower.

non-technical consideration:

App engine is free to the entry level users, which is maybe part of the appeal. Traditional hosting of decent quality costs ~ $10 a month (extra cheap offerings usually bring more pain than savings). sure $10 a month will eventually add up, however that expense will be minor compared to the effort maintaining the forum.

The bottom line is that eventually the app will be portable to GAE, but after other important issues are solved and the application is prepared to porting to other data backends.

edit flag offensive delete link more


Thanks for the info. What hosting site would you recommend? I hear webfaction is good. I am fairly new to this but i have written some small GAE sites before and found it really easy. The read/writes sound good to me this will last me for a long time.
bogorman gravatar imagebogorman ( 2010-08-08 03:40:17 -0500 )edit
Great, that sounds encouraging. Webfaction is a good host, there are quite few others listed on . An important part is that host supports mod_wsgi and apache. There are other ways to run python webapps, but this one is the best tested for askbot. Thanks!
Evgeny gravatar imageEvgeny ( 2010-08-08 14:57:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2010-08-07 14:07:50 -0500

Seen: 497 times

Last updated: Aug 07 '10