# The first release candidate of Redis 4.0 is out

DevFeed: [The first release candidate of Redis 4.0 is out](<https://devfeed.tech/articles/the-first-release-candidate-of-redis-4-0-is-out-20601.md>)

Original publisher: [Read original article](<http://antirez.com/news/110>)

Author: Antirez

Published: 2016-12-02T17:25:58Z

Content type: release

Language: en

Sources: [Antirez](<https://devfeed.tech/sources/antirez.md>)

Topics: [Redis](<https://devfeed.tech/topics/redis.md>), [project release](<https://devfeed.tech/topics/project-release.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [commands](<https://devfeed.tech/tags/commands.md>), [data-type](<https://devfeed.tech/tags/data-type.md>), [graph](<https://devfeed.tech/tags/graph.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [indexing](<https://devfeed.tech/tags/indexing.md>), [list](<https://devfeed.tech/tags/list.md>), [modules](<https://devfeed.tech/tags/modules.md>), [network](<https://devfeed.tech/tags/network.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [new-releases](<https://devfeed.tech/tags/new-releases.md>), [rate-limiting](<https://devfeed.tech/tags/rate-limiting.md>), [redis](<https://devfeed.tech/tags/redis.md>), [release](<https://devfeed.tech/tags/release.md>), [rust](<https://devfeed.tech/tags/rust.md>), [series](<https://devfeed.tech/tags/series.md>), [stable](<https://devfeed.tech/tags/stable.md>), [stuff](<https://devfeed.tech/tags/stuff.md>)

## AI overview

Redis 4.0 Release Candidate 1 adds capabilities for extending Redis and reduces operational interruptions, though it is not yet stable and its release date is unknown. Its module API supports persisted data types and nonblocking commands while keeping extensions separate from the core. Replication v2 forwards a consistent write stream through chained replicas and records history tags and offsets, enabling partial resynchronization after topology changes or clean restarts when histories overlap. Cache eviction adds LFU and improves other policies. UNLINK defers key cleanup to another thread; asynchronous FLUSH commands and SWAPDB support replacing database contents without blocking. Optional RDB-prefixed AOF rewrites aim to speed generation and loading but make the file less transparent. MEMORY adds usage, statistics, purge, and allocator-reporting commands, though these are described as undocumented. Cluster NAT/Docker compatibility changes the cluster bus protocol and requires a mass reboot for upgrade.

## Source excerpt

It's not yet stable but it's soon to become, and comes with a long list of things that will make Redis more useful for we users: finally Redis 4.0 Release Candidate 1 is here, and is bold enough to call itself 4.0 instead of 3.4. For me semantic versioning is not a thing, what I like instead is try to communicate, using version numbers and jumps, what's up with the new version, and in this specific case 4.0 means "this is the shit". It's just that Redis 4.0 has a lot of things that Redis should have had since ages, in a different world where one developer can, like Ken The Warrior, duplicate itself in ten copies and start to code. But it does not matter how hard I try to learn about new vim shortcuts, still the duplicate-me thing is not in my chords. But well, finally with 4.0 we got a lot of these stuff done... and here is the list of the big ones, with a few details and pointers to learn more. 1. Modules As you probably already know Redis 4.0 got a modules system, and one that allows to do pretty fancy stuff like implementing new data types that are RDB/AOF persisted, create non blocking commands and so forth. The deal here is that all this is done with an higher level abstract API completely separated from the core, so the modules you write are going to work with new releases of Redis. Using modules I wrote Neural Redis, a neural network data type that can be trained inside Redis itself, and many people are doing very interesting stuff: there are new rate limiting commands (implemented in Rust!), Graph DBs on top of Redis, secondary indexes, time series modules, full text indexing, and a number of other stuff, and my feeling is that's just the start. This does not just allow Redis to grow and cover new things, while taking the core, if not minimal, just with things that are useful to most users at least, pretty generic things that many people need. But also has the potential to avoid for many tasks the problem of rewriting a networked server, even if the goal is to