Introduction to the new features of Redis4.0
1)。 A module system is provided to facilitate third-party developers to expand the functions of Redis.
2) .PSYNC2.0: optimizes the problem that switching between master and slave nodes will inevitably cause full replication in the previous version.
3)。 A new cache culling algorithm: LFU (Last Frequently Used) is provided, and the existing algorithms are optimized.
4)。 Non-blocking del and flushall/flushdb functions are provided to effectively solve the Redis blocking that may be caused by deleting bigkey.
5)。 RDB-AOF mixed persistence format is provided, which makes full use of the respective advantages of AOF and RDB.
6)。 Provide memory command to achieve more comprehensive monitoring and statistics of memory.
7)。 The interactive database function is provided to realize the data exchange between Redis internal databases.
8. Redis Cluster is compatible with NAT and Docker.