Simon Willison’s Weblog

Subscribe

Thursday, 7th May 2009

ericflo’s django-tokyo-sessions. A Django sessions backend using Tokyo Cabinet, via Tokyo Tyrant and the PyTyrant library. A fast key/value store is a much better solution for sessions than a relational database.

# 7:30 am / django, sessions, keyvaluestores, tokyocabinet, tokyotyrant, pytyrant, databases, eric-florenzano

oauth-signpost. The Qype API uses OAuth to sign client requests with the developer’s API key, so it’s not surprising to see them release a Java OAuth signing library compatible with Google’s Android mobile platform.

# 7:33 am / android, oauth, java, qype, api-keys

mmalone’s django-caching. Mike Malone shares code used by Pownce to add QuerySet level caching to Django. It’s a smart implementation—a CachingQuerySet class inspects the arguments passed to get(), and if they’re just a straight forward exact PK lookup hits memcache for the object before hitting the database. Signals are used to invalidate the cache.

# 7:36 am / mike-malone, django, caching, pownce, querysets, signals

2009 » May

MTWTFSS
    123
45678910
11121314151617
18192021222324
25262728293031