March 2020 – Edition #85

A Newsletter About Everything Redis

Edition #85
March 31st, 2020

Editor’s Notes

Dateline: In my beautiful house

I grew up in the 1980s. One of my earliest memories is riding to the store in my parents’ brown Buick, both of them smoking Winstons like chimneys (all the windows rolled up, natch). Katrina and The Waves blared Walking on Sunshine over the FM. I was in the back seat—no seat belts, much less a car seat. I think I had a toy truck that I was playing with on the floor boards. I was probably around four years old. We pulled into the grocery store, which was being remodeled from the earthy hues of the 1970s to garish-yet-awesome pastels with a touch of neon. To me, it looked fresh and new. Speaking of things looking fresh and new, take a look at our newly refactored RedisConf Takeaway event scheduled for May 12th—it’s fully online for you to safely enjoy from your own corner of the world.

Happy Redising,

Kyle Davis

Redis Trivia: When Salvatore wrote Redis, he didn’t know what memcached was, despite accomplishing similar goals.

Stories

Using the Command Line to Check Redis Health

A short and sweet article that shows useful commands to run in redis-cli when you want to inspect the health of your Redis instances. In 2020, most people probably would prefer a GUI like RedisInsight, but hey, if you’re really oldschool you’ll set up this cathode-ray terminal emulator and check your Redis health in all its fuzzy green-on-black glory!

Using rcc to Reshard a Redis Cluster Using Keyspace Notification

In the 1980s, notifications meant pagers: Keyspace notifications in Redis are somewhat similar. Benjamin Sergeant shows how he gets an evenly distributed workload across his cluster by using weighted resharding using the tools he’s developing for rcc, Machine Zone’s Redis Cluster Client.

Delete All the Things

Sometimes a careless whisper works its way into your database and you need to delete everything. Rahul Kumar has us covered with a quick post on how to delete everything in Redis from the command line. Meanwhile, Vivek Balasubramaniam goes a step further and shows us how to do it with Java!

Redis Diskless Replication: What, How, Why and the Caveats

While I was making a mixtape with my boombox—the one with the dual tape decks—I ran across this radical article on Redis diskless replication. It’s like dubbing a tape, but without the other tape!

Redis Module in Kotlin/Native

I want to make a bad ‘80s joke, but this article deserves better. Dude. The author shows us how to build a Redis module, in this case one to expose a simple data structure for parentheses expression validation using Kotlin/Native. Cool stuff!

Caching API with Redis and Node

Let’s say you built an app that could look up song lyrics. buteach lookup is an external API call, and it costs you 0.0001 cents for every one. Now, you know that people have looked up “Hungry like the Wolf” 100,000 times in the last week—what a waste! Well, this article describes how to cache Duran Duran and save you some cash and make everything run faster in the process.

Caching in Node.js Using Redis

Ever confused Kajagoogoo and Oingo Boingo? That’s how I’m feeling about this post and the last one: named similarly, doing similar things. I double checked, they’re not the same, but they’re explaining the same concept with remarkably close titles. I guess it just shows how well Node.js and Redis work together.

How We Pushed a Million Keys to Redis in Seconds

A certain plumber got a generation of kids interested in pipes. Indeed, I think of a warp pipe every time I pipe one command into another. (Anyone else? Anyone? OK. Just me.) The folks over at Gojek show us how to insert millions of keys efficiently with pipe mode in redis-cli. Rad.

Libraries and tools

MichielvdVelde/redis-streams-manager

This JavaScript library offers an interface to Redis Streams based on EventListeners. It’s a handy way to integrate Streams in an existing project that was previously using Pub/Sub but always needed a bit more reliability. Once you switch to Streams, it’s like having a VCR for your Pub/Sub notifications. What’s a VCR you ask? Get off my lawn you whippersnapper!

encode/broadcaster

This is a multiplexer for Pub/Sub-style notification systems that supports Redis as a backend. It’s written in Python, but not the oldschool Python from the ‘80s (actually Python was first released in 1991, but whatever), it uses AsyncIO so you will need to upgrade to Python3.

Overheard

 
Full work at home #geekmode #serving up #Flask #microservices up on #redis server… have the t-shirt to prove it to my bosses
 
So… happy to see that the original concept of backward compatibility is still working as expected. In the future for this to be still the case, the Redis core team should continue to add things always thinking at what happens to old versions of modules.
 
Redis is one of the most amazing pieces of plumbing tech I’ve used. The simple interface & the elegant data structures it provides fits so many use cases.
 

Redis

Ah, the mall, the prime hangout spot for countless teens in the 1980s.If you’ve ever wished for something similar for adults who like Redis, check out the new Redis Stars Community.

Speaking of the mall, things have changed so much in the past 30+ years, imagine how primitive it was to not even have a full and instant list of all your previous purchases—unthinkable! The Case for Ephemeral Search outlines how you can create this modern feature with RediSearch.

Of course, a key moment of the 1980s was the introduction of MTV, when people could finally see the music they loved in video format. Similarly we’ve started streaming on Twitch, so you can see us coding in video format.

Fredric Paul, aka “the Freditor,” produced a comprehensive rundown of The Many Flavors of Multi-Cloud. Unfortunately these flavors don’t include 1980s classics like Pop Rocks or Big League Chew.

The first Macintosh was introduced in 1984 and could do some amazing things, but the platform got really interesting as Apple added more features and made it faster—a little like how RediSearch Version 1.6 Adds Features, Improves Performance.

The start of the 1980s was all about boomboxes, but by the late ‘80s people were loving the (relatively) tiny Sony Walkman. You could say the same about the new RedisTimeSeries 1.2, which has made the data much smaller through compression.

Finally, What 1980s discussion would be complete without mentioning Star Wars? Guy Royse goes over Lettuce vs Jedis (sadly, that last word is not the plural of space wizard, but rather rhymes with our beloved database software).

     

{{my.footer_address}}
© {{my.footer_year}} Redis, Inc. All Rights Reserved.


Subscribe

Get the hottest Redis news with Redis Watch newsletter.

Thanks for Subscribing

We appreciate your interest! You can change your communication preferences any time by visiting this page.

Continue Your Journey to Rediscover Redis