This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

Cache Money

Stefan Tilkov,

Twitter’s Nick Kallen:

Cache Money is a plugin for ActiveRecord that transparently provides write-through and read-through caching functionality using Memcached. With Cache Money, queries are automatically cached for you; and similarly, cache expiry happens automatically as after_save and after_destroy events.

This doesn’t just apply to trivial queries. Very complex, sophisticated queries are handled effortlessly; the vast majority of ActiveRecord usage is transparently materialized, indexed, and kept fresh in Memcached.

I’m slightly skeptical towards magic like this, but it definitely sounds interesting.