What's New in Valkey
summary
Valkey 9.2 adds concrete gains: forkless snapshots eliminate large COW memory spikes by writing snapshots on a background thread, replication sees streaming compression (LZ4 and optional ZSTD) cutting network bytes by ~50–60% for writes, sorted sets switch from skip lists to a B+ tree saving ~30–50% memory and doubling mutation speed in some workloads, and a new PathHash data type provides native longest-prefix lookups for LLM KV caching so prefix checks become a single indexed command.
AI-written summary · about
chapters (8)
- 0:00Welcome and what to expect
- 1:13Community updates: Valkey operator, Valkey Search, GLIDE, Valkey Admin, Lua alternatives
- 6:22Valkey 9.2 overview and a record quarter for commits
- 7:36Replication: forkless snapshots, snapshot and command stream compression (LZ4, ZSTD)
- 12:38Sorted sets as a B+ tree
- 14:45Stability and usability: replication throttling, admin-reserved clients, priority processing, hotkey observability, ACL roles and digest, conditional transactions, new stream commands, memory efficiency
- 19:08PathHash: native prefix index for LLM KV cache and other hierarchical data
- 24:51How to try the 9.2 release candidate and what needs to be enabled
