Redis 6.0.0 stable is out and here are the things we liked about it.

Today we got the news that Redis 6.0.0 stable is out just after 4 months (as quoted by the maintainer) after the RC1(release candidate 1). So let’s have a quick look at what we liked the most.

Redis 6.0.0 stable is out

RDB files are faster to load

This is a big value for those who are running Redis Clusters on Kubernetes. Since pods can fail, this feature will help them to start up faster. Faster startup means more time the Redis containers will be available and takes less time in failover. If you don’t know about this. It is what Redis does at the startup, load the data from the RDB file specified into memory.

RDB files get deleted if not in use

Now there is a mode in Redis in which Redis RDB files are deleted immediately if no longer useful. This will save some amount of disk.

ACL logs are better

A new ACL command is introduced in which you will be able to see logs of all the clients that are violating the ACLs. Its always good to have a look at who are trying to violate policies.

Replication is improved.

The replication algorithm is improved which is called PSYNC2. Redis will now do partial sync more often. Read about Redis clustering here.

Client-side caching is changed.

I don’t know about the side-effects of this for existing clients. The idea is shifted more towards the client now. The earlier server uses to keep information on what keys each client requested. Now the clients have to subscribe to key prefixes in this mode which is called broadcast mode. This will reduce memory usage on the server-side. You can also opt-in/opt-out of broadcast mode. Basically the feature is now much better both when a low-memory mode is needed, and when a very selective (low-bandwidth) mode is needed as written on the website.

The above informations was analyzed and taken from where the actual release was announced.

If you like the article please share and subscribe. This was Redis 6.0.0 stable is out

Gaurav Yadav

Gaurav is cloud infrastructure engineer and a full stack web developer and blogger. Sportsperson by heart and loves football. Scale is something he loves to work for and always keen to learn new tech. Experienced with CI/CD, distributed cloud infrastructure, build systems and lot of SRE Stuff.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.