Yesterday, the Mozilla webdev team released a few reusable libraries that are helping us scale out the new Django-based version of addons.mozilla.org.
Cache Machine hooks into the Django ORM to provide automatic object caching and invalidation for database queries. We have a separate post about how Cache Machine works.
This entry was posted
on Wednesday, February 10th, 2010 at 1:21 pm and is filed under Web Development.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.
One Response to “New Django libraries: Cache Machine and multidb”
This is very similar to my as-yet-unreleased project “johnny-cache”, except that johnny caches any type of query, it supports versions 1.x of django, and its invalidation is potentially a lot more zealous. I started conceptual work on Johnny a year ago, but have only gotten around to reimplementing it for open-source consumption recently. The docs are:
I expect to have a release on pypi sometime within the next few weeks. I’d love to ask you some more questions about your invalidation strategy; there may be room in this world for a hybrid approach
This is very similar to my as-yet-unreleased project “johnny-cache”, except that johnny caches any type of query, it supports versions 1.x of django, and its invalidation is potentially a lot more zealous. I started conceptual work on Johnny a year ago, but have only gotten around to reimplementing it for open-source consumption recently. The docs are:
http://dev.jmoiron.net/johnny/
and the hg repos:
http://dev.jmoiron.net/hg/johnny-cache/
I expect to have a release on pypi sometime within the next few weeks. I’d love to ask you some more questions about your invalidation strategy; there may be room in this world for a hybrid approach
Jason on February 23rd, 2010 at 12:49 am