BigTable Backend for Django Cache

82 views
Skip to first unread message

Aaron Krill

unread,
Apr 16, 2008, 12:48:37 AM4/16/08
to google-a...@googlegroups.com
Anyone interested? ;-) I made one that uses pickles to store data in a simple BigTable model. Hooray for pickles and BlobProperties.

Aaron Krill

unread,
Apr 16, 2008, 12:54:47 AM4/16/08
to google-a...@googlegroups.com
I should clarify, I have it working. It does require modifying Django to recognize the BigTable backend, though. But that's easy.

If anyone is interested in using it let me know. I'll post it online with some docs on how to use it.

Roberto Saccon

unread,
Apr 16, 2008, 1:30:46 AM4/16/08
to Google App Engine
Yes, I am interested to play with it ! Can you cache with it entire
rendered pages or page fragments ?

(I am not very familiar yet with Django caching, but kind of familiar
with Django Template Language, because I implemented it in Erlang,
http://erlydtl.googlecode.com, and there the templates get compiled to
bytecode and known variables at compile time also get rendered)

regards
Roberto

Aaron Krill

unread,
Apr 16, 2008, 1:32:10 AM4/16/08
to google-a...@googlegroups.com
Yes, you can cache entire pages, or fragments, or whatever. There are instructions here: http://www.djangoproject.com/documentation/cache/

that will tell you how you can use caching. :-)

Aaron Krill

unread,
Apr 16, 2008, 10:35:15 AM4/16/08
to google-a...@googlegroups.com
I've taken most of this work and merged it into a new project called Gaengo, a cut-down version of django for use on GAE. I'll document what I've done later on, but for there's:

 - Django now uses the Mail API
 - BigTable Cache Backend
 - BigTable+LocMem Hybrid Cache Backend
 - list_detail generic views work AFAIK (needs more testing)
 - Signalized versions of the Datastore Model/Expando for use with dispatcher (pre/post init, pre/post put, and pre/post delete signals are thrown for the master classes and each subclass)

More to come. Keep watch on http://code.google.com/p/gaengo/ where the project is hosted.
Reply all
Reply to author
Forward
0 new messages