Valkey 9.2 Replaces Skiplist with B+ Tree, Cutting Sorted Set Memory Up to 43%
Original: Valkey kills the skiplist, cuts sorted set overhead by up to 43%
Valkey 9.2 replaces the skiplist backing large sorted sets with fbtree, a high-fanout B+ tree variant, cutting per-member memory overhead by 36-43% and saving up to 109 MB in a 5-million-member test. fbtree combines contiguous storage with SIMD searches, linked leaves, and fast paths for sequential inserts and pops tuned to Valkey's workload and allocator. The change matters most for workloads with large sorted sets and commands like ZADD, ZRANK, and ZCOUNT.