Yesterday I spent some time running memory usage tests on Redis. Specifically I was interested in storing roughly comparable data in the different data structures and comparing costs. This article contains the numbers and notes from that process.
Part of my day's experiment was to play with implementing Python datastructures which are implemented ontop of Redis. Here we take a look at dictionaries and lists, but it should be straightforward to extend this idea to sets as well.
If you're doing analytics, reports or dealing with memory constraints in Redis, you're probably dealing with keeping two sorted-sets mutually consistent. This article also takes a look at using multi/exec to keep it fresh.
In this post I briefly discuss the (questionably) novel aspects of the new Sisyphus blog engine which hosts this blog.
Here are some quick notes on the time to load Redis snapshots, perhaps useful when investigating Redis as an architectural component.
Your delightful host.
Email: lethain[at]gmail
Develop at SocialCode.
Used to Digg, and Y!.
All Rights Reserved, Will Larson 2007 - 2013.