Subscribe free
Morning Merge DevOps · Wednesday, November 18, 20264 min read

Valkey makes large sorted sets smaller

Also: kube-proxy plans to drop IPVS in 1.40, Redict says move to Valkey, Helm chart 1.0.0

The main thing

A blue gantry moving a box between filing drawers

Valkey 9.2 changes the index behind large sorted sets

If you run queues or leaderboards on Valkey sorted sets, the next minor version should hold them in less memory, with no command changes. The visible change is an encoding name, so check anything that looks for the word skiplist.

Valkey's engineering write-up, published Monday, Nov 16, explains the switch. Today, a sorted set that outgrows the compact listpack encoding is backed by a hashtable plus a skiplist. The skiplist stores one member per node, each node a separate heap allocation, at roughly 37 bytes of pointers, spans and score before the member string itself.

Valkey 9.2 replaces that skiplist with fbtree, a B+ tree variant with 61-way fanout. A 512-byte leaf holds up to 61 value pointers instead of one per node, and leaves are linked so ZRANGE can walk from leaf to leaf.

The team's memory numbers:

Two caveats keep this in staging. Valkey 9.2 has no stable release yet: 9.2.0-rc2 shipped November 4, 2026, and the project says release candidates are not supported for production use. And the post's command-throughput benchmarks ran on a pre-merge branch and were not rerun for the merged commit.

What to do today: if sorted sets carry real traffic for you, run valkey/valkey:9.2.0-rc2 in staging, replay representative writes and range reads, and compare memory and tail latency with your current version. Then search monitoring, tests and tooling for the literal string skiplist, because OBJECT ENCODING reports btree for large sorted sets in 9.2. Don't revise capacity forecasts from the post's 20-byte members; measure your own.

Plan the migration

A blue gantry above a railway switch

Kubernetes plans to remove kube-proxy's IPVS backend (Nov 16). SIG Network deprecated the ipvs backend in Kubernetes 1.35 and now plans to remove it in 1.40. The kernel IPVS API never matched the Services API well, and because ipvs still leans on iptables, Red Hat's plan to remove the iptables API from RHEL would take it out there anyway. The recommendation: on Kubernetes 1.36 or later, with nodes on kernel 5.13 or later, move ipvs clusters to the nftables mode, GA since 1.33. Inventory proxy modes and node kernels first, then check service reachability and connection behavior on a staging cluster.

Redict is deprecated. Drew DeVault says Redict 7.3.6 is the final release and recommends switching to valkey. He advises against returning to Redis, citing its contributor license agreement. For package installs, install valkey and mv /etc/redict.conf /etc/valkey.conf; container users pull the valkey image and point it at their config.

Yelp moved its Cassandra fleet to EKS without streaming data. An EBS volume is bound to an Availability Zone, not a cluster, so Yelp pre-created PersistentVolumes in EKS pointing at existing volume IDs and handed disks over one pod at a time. About 90 production clusters and roughly 1,000 TiB moved by pointer, with zero customer downtime. Read the failure notes first: a stale VolumeAttachment left a pod Pending with no error, and backups failed for 48 hours because scheduled jobs weren't yet assuming a new IAM role.

Release watch

A blue gantry lifting a module into a server rack

Valkey Helm chart 1.0.0 is generally available (Nov 12). The maintainers call it the chart's first stable release for production. The big addition is Sentinel: three Sentinel pods promote a replica when the primary fails, and during rolling updates or node drains the primary requests a coordinated failover so no confirmed write is lost. Crashes can still lose recent writes. TLS, ACL authentication and Prometheus metrics are included, all off by default, and there's no cluster mode. Upgrading from 0.x breaks things:

Diff rendered manifests from your current values, and if you run Sentinel, rehearse a failover first.

EKS Auto Mode can rightsize Pods (preview). Create a ClusterResourceOptimizationPolicy, review recommendations in the default Recommend mode, then switch to Apply to resize running Pods in place. It won't change what a Horizontal Pod Autoscaler or KEDA scales on, and VPA-managed workloads can be excluded. It needs Kubernetes 1.36 or later, in seven Regions, at no additional charge.

Docker Compose 5.8 runs scheduled jobs. A top-level jobs: element declares one-shot work, run on demand with docker compose run or on a cron schedule. Scheduling needs Docker Engine 29.10 or later with the jobs extension enabled (dockerd --extension-enable org.mobyproject.jobs.v0, off by default). On an engine without jobs support, up refuses projects with scheduled jobs.

Grep for skiplist this week, and schedule the IPVS move before 1.40.

← All Morning Merge DevOps issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →