A Newsletter About Everything Redis
Dateline: The future as predicted in a cyberpunk novel, circa 1982
Has anyone noticed that our current existence is both strangely futuristic and more-than-slightly dystopian? Human interaction has been replaced with Zoom calls, and going outside your house now requires wearing a bandana. I spend most of my day talking to people in distant lands, but instead of shoving speakers into my ears to hear them, instead I have sound directly beamed into my skull—it’s just more comfortable. The future is now, and folks, it’s weird.
Speaking of now and the future, we just saw the release of Redis 6, which is massive. This release will inform how we use Redis for months and years to come. And coming up is RedisConf 2020 Takeaway—all online May 12-13 and totally free. To be clear, this isn’t two days of Zoom calls, this is as close to an in-person event as you can get from the comfort of your La-Z-Boy. Take a gander at the event’s slick virtual environment:
I’ll be there, and I hope to see you (actually: your avatar) at RedisConf Takeaway.
Redis Trivia: Redis Streams look an awful lot like a series of hashes with a timestamp and a sequence number. But they are way different than that: the fields are ordered and can have repeats!
Mark Paluch, the Project Lead for Spring Data, gave a great talk at SpringOne Platform on using Redis Streams from Java. He didn’t sport a mohawk, but he’s still got that cyberpunk street cred.
Need to install Redis on your cyberdeck… I mean on CentOS or RHEL 8? If so, herein lies the detailed instructions to do so, including how to run a benchmark.
You’ve recently started with Omni Consumer Products as a netrunner. They’re using Java and you need to integrate with Redis. But how? This article is a great introduction to getting started with Spring Data Redis. I’d buy that for a dollar!
If you want to spin up multiple instances of your chat application, Redis Pub/Sub can help with broadcasting messages among them. This article shows how to set everything up in Go. Chances are that your cyber implants will use WebSockets to communicate in the future, so you better bet that neural Pub/Sub module from the black market first.
Or, how to augment your slow neural paths with Redis. Nothing much else to say here.
In the future all programming job openings in New San Francisco are for YAML engineers. The Federal Corporation (previously called the federal government, renamed after the merger with Amazon) mandates all programmers to be exposed to a daily YAML intake. It’s said that fringe groups of hackers have re-learned to program in other languages but the FBY (Federal Bureau of YMAL) has officially declared those rumors to be “no”, “false” and “off”. Ah, almost forgot, this article it’s about setting up Redis using Ansible.
Herein, the author uses a simile and indirectly draws a line between Redis and the Batmobile yet gives a complete overview of Redis capabilities. I like the comparison, especially since it’s the dark and weird “tumbler” Batmobile from the Dark Knight era. It’s not just a car, but rather something that really transforms how you think about cars. Redis does this for life, if you just let it.
Libraries and tools
Do you use Apollo Server? Do you love Redis? Do you have cybernetic implants? If you can answer yes to at least two of these questions and you also use Node.js, you should check out this latest package. It “allows using Redis as a backing store for resource caching in Data Sources.”
A rate-limiting module for Redis. The notable thing about this module is that it’s written in Go! The project contains some C glue code that works with Go’s C-ABI interoperability to allow Go code to be run by Redis. In some ways this module is like cyborg augmentations: extra cool but you can clearly see that the huge chainsaw is not exactly a proper replacement for a hand.
It’s yet a work in progress, but since it is starting to work and I just pushed the code online, this is my 1st April project. I implemented (in the “lcs” branch on Github) an LCS command for Redis. LCS means Longest Common Subsequence, a very important algorithm in CS.
Redis 6.0.0 GA is out! Blog post here: http://antirez.com/news/132
Despite the strange world we find ourselves in, Redis Labs has been pushing the future forward so we can live our constantly, connected lives. As mentioned earlier, we just released Redis 6, which has a boat load of new features, but for those who have to connect up to corporate VPNs, perhaps you’re interested in finding out about the new features in Redis Enterprise 6, which came out at the same time.
In the world of Redis operations, we ask “Why should you even care about Kubernetes?” (you should) and demonstrate how easy it is to get started with Redis Enterprise on Google Cloud. Finally, even though this world might be a little dark right now, one point of light is that there are fewer unsecured (haxor magnet) Redis servers in the wild now. Progress is good, right?
Redis is often the answer to existing scale or performance problems, but Guy Royse flips it around and talks about not dealing with a deluge of traffic driven by our current connectivity-soaked lives but rather designing for it. If you’ve had enough cyber-dystopia and long to disconnect and head out to the woods, well, you can use Redis to avoid bigfoot hot-spots. Less effort is required to escape into a game, and maybe that game is using Redis to track of your meaningless accomplishments. Finally, in this post about calculating Jaccard similarity, Guy uses the examples of movies, but I don’t see Bladerunner nor Dredd in the list—glaring omissions in my eyes.
Not only are our lives more connected than ever, so are the lives of our things. Loris Cro shares some interesting points about how to ingest data from those things efficiently using Redis Streams. If you want to find out how things are connected really fast, well, RedisGraph is up for the job. If we ever leave our government-allotted geographic zones again, we’ll need to get thinking about geo distribution of data again and how to manage those changes and conflict across the globe. Luckily, we have a primer on CRDTs that explains how to do just that.
Finally, make sure and sign up for the totally free, all online RedisConf Takeaway on May 12-13! While you’re there, don’t miss these 7 terrific speakers, check out the live keynote, attend the 50+ breakout sessions, participate in the hackathon, sign up for 1:1 office hours with Redis experts, hang out in group chats, play games, and much more. It’s the Redis event of the year!
Get the hottest Redis news with Redis Watch newsletter.