A Newsletter About Everything Redis
I cracked a rib reading @seldo's tweet: '"I'm using redis, so we can handle hundreds of RSVPs per second" – why engineers shouldn't build their own wedding website'.
Redis Trivia: 6379 is a prime number that's the sum of 9 consecutive primes (http://oeis.org/A082251).
Stories and News
@mikegravell (personal hero of mine and kind to all) from @StackExchange gave an intro to Redis last year in @NDC_Conferences London's event. Although the content of the talk is mostly technical, this video deserves a first-page mention because it isn't your usual "intro to Redis in 30m" talk. After having watched it, I understood better some of the decisions that Marc and the team took as they evolved their technologies alongside Redis' evolution.
The talk includes an overview of SE's very own OSS monitoring system – Opserver (repo available at: https://github.com/opserver/Opserver) and ample examples of using the .NET StackExchange Redis client (https://github.com/StackExchange/StackExchange.Redis), which for me makes it an invaluable learning reasouce. Lastly, if you're clueless about Redis on Windows and .NET like I am, the talk is extremely important because I, for one, didn't know about that most-importantant maxheap tip (19:42).
PS: I was also totally trolled on last April 1st 🙂
@antirez delivers the 2nd release candidate for the much-anticipated v3 (code name "Cluster") and promises a stable version within 3w. This will let the community test the new candidate for a couple of weeks, mainly due to the gap between RC1 and RC2. Head over to the mailing list to read the full body of release notes.
This is just plain cute – courtasy of @tarantulae:
Development & Tools
A utility that merges and converts RDB files – we use it in our products to manage backups taken from sharded Redis clusters.
Described as a "utility to create disposable instances of Redis server on random ports." by our favorite Chief Architect at @everythingme, @dvirsky.
Complementing the 2nd News item from above and meekly described as "Redis toolkit", this little beauty is apparently a Redis server in Node. Why would anyone do it? Muji's story is as follows: https://github.com/freeformsystems/jsr#story…
Here's how @stackify migrated to Redis from Microsoft Azure's Managed Cache by implementing their own cache tags with some Lua magic.
An all-encompassing view – video: https://www.youtube.com/watch?v=-_u0NjmSKgI (27:30), source: https://github.com/johanan/Where-to-eat by @theJohanan.
A contender to the ROM crown? Still too early to tell but getting bonus points for innovation in the naming department. From 2nd-week-in-a-row-mentioned @miguelsempere.
Redis has been officially adopted by the Magento community a while back. This post from @MarkoTechyTalk explain how to configure Magento 2 to use Redis.
Until Redis provides native support for Bloom filters, here's a Lua-based implementation /HT @thomasdarimont.
Everyone agrees that testing software is super important, but we usually don't think of Redis' Lua scripts in that context… and we should. @suprememoocow gives the lowdown on how to easily integrate Lua scripts' testing to your tests suite.
@vcolonel provides a step-by-stepper that anyone can follow even without being familiar with Docker and/or Redis (+promises to follow up with an Opserver post <- see Marc Gravell's video above).
You can and should cache your Rails' models according to @skmvasu, who also provides all the relevant info on achieving that.
@cuerbot: [OT] – Thank you #2272 <- big like!
@marcoarment: "I need to modify my Redis statement. Redis is awesome! Except when it crashes for no apparent reason. Then you restart it and it’s awesome!"
<- @antirez: "@marcoarment crash -> no long messages at all -> OOM killer of Linux that kills it for out of memory. Check “dmesg” command."
<- @StanfordRyan: "@marcoarment @marcoarment I’ve run hundreds of Redis instances since 2011 and it’s been one of the least crashy services I’ve ever used."
<- @jrychter: "@marcoarment In >4 years of heavy production usage Redis hasn’t crashed for me even once. Check Salvatore’s OOM killer suggestion."
@spiffyjr: "@michaelmoussa Redis. Fantastic software."
@Endijs: "I have said it before and will say it again: Redis is very cool! Simplicity, stability and speed is amazing."
@SpiritMachine: "Got a single Redis instance here doing 40-70k reqs/sec at 0.6% CPU. It isn't saturated yet. Solid software."
This newsletter was produced and distributed by Redis Labs, Inc.