A Newsletter About Everything Redis
I learned of another use case for Redis – an auto-expiring log for potentially sensitive information that saves you from the need to set up a log rotator and shredder had you been using files – from @patio11's post at @TeamTwilio's blog: https://www.twilio.com/blog/2015/01/how-patrick-mckenzie-builds-twilio-apps.html.
Redis Trivia: Redi's (http://en.wikipedia.org/wiki/Francesco_Redi) controlled experiment disproved the spontaneous generation hypothesis.
Stories and News
@peterbourgon, "CRDT Evangelist" from @SoundCloud's, in an interview to @InfoQ. A CRDT is a data structure that's a "collection of properties of operations". He argues that CRDTs provide a solid AP (in the CAP sense) solution and provides simple explanations to what this data structure is capable of. The Redis angle – roshi, a large-scale CRDT set implementation for timestamped events: https://github.com/soundcloud/roshi. Favorite quote: "engineers often overestimate their inabilities" 🙂
@simulmedia's engineers chose Redis "for its performance, stability, licensing, simplicity, and its diverse language support" and were able to reduce the response time of some of their queries from 40 minutes to 100ms. While they were experimenting with Redis they found a nice and efficient way to do bulk loading (which they've open sourced), submitted a Pull Request that had evolved into a better ZUNIONSTORE, and added a couple of custom Redis commands.
A worthy writeup by @gwilym_e from @Bigcommerce about taking some of the load off MySQL before Black Friday. Counting is a classic use case for Redis so the implementation described is straightforward and combines counters with light locking for periodic sync operations. What's really nice about this piece, IMO, is the presentation of the use case and analysis of requirements at the beginning, so even if the nitty-gritty is less important for you I recommend you read it if only for that.
Development & Tools
Another gem from the prolific @soveran that offers a lightweight alternative for queue and workers management.
@badboy_ demonstrates his new Rust skills by releasing a CLI and lib that parses RDBs. As part of the effort he also meticulously documented RDB's format (http://rdb.fnordig.de/file_format.html) and he's open to suggestions for features and improvements.
A thin wrapper for Erlang's Redis client (eredis) for multiplexing subscribers' connections by @nacmartin – cool idea, great implementation and a nice post to accompany it: http://nacho-martin.com/a-better-pubsub-in-redis-with-erlang.html.
This gem has been around for almost as long as Redis has and had just got bumped to v1.1.0 adding connection pool via a proxy object and three other minor fixes – by @nateware.
The culmination of @halostatue's several years long journey with Redis is a cache connection manager that implements several solid protections against sub-optimal patterns.
@xedarius: "I probably shouldn't choose Redis as a caching solution purely based on the fact that they have nice ASCII-art during the startup. Probably."
@cpeeyush: "Redis Max key size is 512mb. Is anybody hit that limit.. Really!!!! #redis #DevOps"
@adam_baldwin: "@digininja @cktricky @carnal0wnage love Redis for this. Great data structures and it’s insanely fast."
@imjoshholloway: "Love the fact that #redis responses with "PONG" if you type "PING" #geekery"
@michaelasmith: "Human intelligible telnet responses is just one thing to love about redis."
@_honza: "First Lua script for Redis.<3"
@mattsta: 'It’s another news day full of "VCs funding companies built on top of Redis."'
@poznia: "The most awesome thing about redis is that I can write data migration scripts in bash! Thank you, @antirez"
@dukeleto: '"The Little Redis Book" is filled with Dune references, users named "leto" + awesome Redis gems https://github.com/karlseguin/the-little-redis-book/blob/master/en/redis.md How did I miss this?'
@imperugo: "WTF!!! Redis running on an entry level laptop can scan a 1 million key database in 40 milliseconds."
@chrisamccoy: "Lesson: Find slow queries and refactor. Ruthlessly!"
@mattsta: "I get about 5 email requests a week asking for a definitive, absolute, 100% guaranteed stable release date for Redis Cluster. #lolopensource"
@antirez: "Time for 2.8.20 soon -> https://github.com/antirez/redis/commit/4433f5a7f24350cb398ae448fca691a53a51a155"
RLEC provides you with the same high performance Redis experience that you expect from us with the added benefit of managing your own cluster on any environment you choose, including on-premise, virtual private cloud, IaaS / PaaS, and many others.
We are inviting the Redis and developer community to take the RLEC beta for a test drive and give us your feedback.
You can sign up and try Redis Labs Enterprise Cluster at: https://redislabs.com/redis-enterprise-downloads
This newsletter was produced and distributed by Redis Labs, Inc.