Redis 8.0
What's new in Redis 8 in Redis Open Source
Highlights
-
Name change: Redis Community Edition is now Redis Open Source
-
License options:
- Redis Source Available License 2.0 (RSALv2)
- Server Side Public License v1 (SSPLv1)
- GNU Affero General Public License (AGPLv3)
-
Integrated modules now part of core:
- JSON
- Probabilistic: Bloom, Cuckoo, Count-min sketch, Top-K, and t-digest
- Time Series
- Vector sets (preview)
- Redis Query Engine with horizontal & vertical scaling
- All components available in Redis binary distributions
- New config file:
redis-full.conffor full component loading
New Commands
- Hash with expiration support:
HGETDEL– get and delete hash fieldHGETEX,HSETEX– get/set hash fields with expiration
- Field TTL & expiration (7.4+):
HEXPIRE,HPEXPIRE,HEXPIREAT,HPEXPIREATHPERSIST,HEXPIRETIME,HPEXPIRETIME,HTTL,HPTTL
- Other command additions:
XREAD +– read latest stream entryHSCAN NOVALUES– scan hash field names onlySORTin cluster mode withBYandGETCLIENT KILL MAXAGE- Lua:
os.clock()now available SPUBLISHinMULTI/EXECtransactions on replicas- Vector set command group (preview)
Internal Architecture
- I/O threading overhaul: read+write threading for higher throughput
- Replication: improved mechanism with AOF offset support
- Over 30 performance optimizations:
- Optimized:
GET,EXISTS,LRANGE,HSET,XREAD,SCAN,ZADD,ZUNION,PFCOUNT,HSCAN, and more - Improved latency, memory, and CPU utilization
- Optimized:
Security
- CVE-2024-46981: Lua RCE
- CVE-2024-51741: ACL DoS
- CVE-2024-31449, 31227, 31228: DoS in Lua/ACLs
Packaging
Redis 8 in Redis Open Source is available in the following distributions:
- Docker
- APT
- RPM
- Snap
- Homebrew
- Pre-built binaries
- Source code
Observability
- New
INFOsections:KEYSIZES,Threads- Hash expiration stats
- Client buffer disconnection counters
- Dictionary memory rehashing
- Script eviction stats
Upgrades & Support
- Supports upgrade from:
- Redis 7.x with or without modules
- Redis Stack 7.2 and 7.4
- Supported operating systems:
- Ubuntu 20.04 / 22.04 / 24.04
- Debian 11 / 12
- macOS 13–15
- Rocky/Alma Linux 8.10 / 9.5