Redis 5.0 New Features and Migration Considerations
The article outlines Redis 5.0's major new capabilities—including Streams, module APIs, enhanced RDB metadata, cluster management improvements, new sorted‑set commands, active memory defragmentation, HyperLogLog upgrades, better memory reporting, HELP sub‑commands, connection performance, bug fixes, and Jemalloc 5.1—while also detailing important migration notes from version 4.0 and providing a reference link to the Streams introduction.
This article presents a concise list of new features introduced in Redis 5.0 and highlights technical points that users should understand before upgrading.
1. New Stream data type. 2. New Redis module APIs: Timers and Cluster API. 3. RDB now stores LFU and LRU information. 4. Cluster manager moved from Ruby (redis-trib.rb) to C code and is accessible via redis-cli --cluster help. 5. New sorted‑set commands: ZPOPMIN / ZPOPMAX and blocking variants. 6. Active memory defragmentation V2. 7. Enhanced HyperLogLog implementation. 8. Improved memory statistics reporting. 9. Many commands now include a HELP sub‑command. 10. Better performance for frequent client connect/disconnect cycles. 11. Various bug fixes and improvements. 12. Jemalloc upgraded to version 5.1.
The development team thanks the users and contributors of this version and notes that further RC releases will be issued until no critical issues are reported.
Migration considerations from 4.0 to 5.0: * redis-cli now implements the cluster management tool; the older redis-trib is still maintained, but new fixes will only appear in redis-cli. * The RDB format has changed; Redis 5.0 can read files from 4.0 (and earlier), but older versions cannot read 5.0 files. * Some log formats and statements differ in Redis 5.0.
Reference link: https://redis.io/topics/streams-intro
Event announcement: The GIAC Global Internet Architecture Conference will be held in Shenzhen on June 1‑2, featuring experts from companies such as Tencent, Alibaba, Baidu, ByteDance, iFlytek, Sina Weibo, Xiaomi, Meitu, Oracle, Lianjia, Vipshop, JD.com, Ele.me, Meituan, Logic Thinking, ofo, Megvii, LinkedIn, Pivotal, and others.
For more details, click “Read the original article”.
High Availability Architecture
Official account for High Availability Architecture.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
