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.
- multidb-router is a round-robin master/slave database router. It’s similar to the router from the Django docs, in a package with its own documentation.