Redis 2.6.0 Released
redis.io
redis.io
Want to use Redis as a very fast bloom filter server? A couple of short Lua scripts can make it happen. Want to do some operation which would require a lot of round-trips to Redis? Turn it into a Lua script and get rid of those network round-trips. Once you get used to having this capability, it starts to feel indespensible, an essential feature that Redis would be incomplete without.
Oh, and I guess there are a bunch of other improvements in 2.6 -- reduced memory usage, more convenient command-line options for redis-server, some handy new commands, and a lot more -- but really, the Lua scripting is so good that it outshines everything else.
Yes! You should blog about this.
Not criticizing, but just curious: couldn't you have done this with "watch" and multi exec?
Bloom filters in redis: https://gist.github.com/3936629
Turns out it's kinda hard to get a decent hashing algorithm working in redis-lua-land, but I'm sure an implementation of murmurhash wouldn't be so hard if one had a few hours.
EDIT: It's worth mentioning, too, that we've been using a collection of lua scripts to manage inventory reservations at Shopify since March, and the tech has worked very well for us.
http://www.eecs.harvard.edu/~michaelm/postscripts/tr-02-05.p...
https://gist.github.com/3932768
https://gist.github.com/3933451
https://gist.github.com/3934073
Side topic: It's pretty cool that you guys have dedicated pages for administration. http://redis.io/topics/admin
Short answer: You can simply upgrade.
Redis 2.6 includes an experimental implementation of Sentinel considered in beta stage, that will be upgraded with every new release of 2.8.
The development of Redis Sentinel continues in the unstable branch in the meantime. Basically at some point when Sentinel will be declared stable, 2.6 will ship with a stable version of Sentinel, however 2.8 may implement additional support for Sentinel features that may not be available for 2.6.