Announcing etcd v3.7.0
etcd v3.7.0 adds RangeStream, an RPC that returns large range results in chunks so neither server nor client has to buffer the whole response. It will reach Kubernetes v1.37 behind the EtcdRangeStream feature gate. Other performance changes include keys-only ranges served straight from the in-memory index without reading bbolt, prioritized LeaseRevoke and a FastLeaseKeepAlive that skips waiting for the applied index, and faster interval-tree find() for watches. The server now bootstraps entirely from v3store, the gogo and golang protobuf libraries are replaced with google.golang.org/protobuf, and experimental flags and legacy v2 packages are removed, so operators should do rolling upgrades and Go module consumers may need code changes.
Related posts
- Kubernetes v1.37: etcd RangeStream Cuts Memory Use on Large List Reads
Kubernetes Blog mediumAdeptKubernetes v1.37 promotes etcd RangeStream to beta and enables it by default via the EtcdRangeStream feature gate. When paired with etcd v3.7, the API server reads whole collections, such as during watch cache initialization and uncached list fallbacks, through a streaming RPC instead of key-count-paginated Range calls. Previously a full page sat in memory on both etcd and the API server at once. With RangeStream, chunks are sized adaptively by bytes and are decoded and freed one at a time, which lowers peak memory and OOM risk. The API server falls back to paginated Range automatically on older etcd, and a non-zero etcd_request_duration_seconds_count{operation="listStream"} metric confirms the streaming path is in use.
- Session revocations at scale
Canva Engineering mediumAdeptCanva moved its gateway session-revocation cache from per-pod MySQL loads to sorted binary chunks in S3, eliminating the database stampede when hundreds of gateway pods started during deploys. Revocations are packed into 16-byte records in sorted flat arrays split into 30-minute S3 objects. Gateways binary-search the downloaded bytes directly and refresh recent chunks with conditional GETs. A ZooKeeper-elected worker appends new revocations, using conditional PUTs for optimistic concurrency so that racing writers never lose updates. The theoretically O(N^2) rebuild still exceeds 2000 revocations/sec, memory use dropped 87.5%, and read replicas were cut to two.
- Evolving our real-time timeseries storage again: Built in Rust for performance at scale
Datadog Engineering hardMasterDatadog's sixth-generation real-time timeseries database (RTDB) is a Rust rewrite that unifies two earlier engines, one for scalar metrics and one for DDSketch distributions, after earlier generations built on Cassandra, Redis, MDBM, a Go B+ tree and RocksDB. Its storage engine, Monocle, is an LSM tree with a worker-per-shard, thread-per-core design. Kafka intake tasks route data over per-shard MPSC channels to single-threaded Tokio shards, which keeps locks off the write path. Permit-based throttling and CoDel-based cost scheduling keep the system stable under load, and snapshots provide recovery. Datadog reports 60x higher ingestion throughput and 5x faster queries at peak scale.
- Litestream Revamped: SQLite Replication
Fly.io mediumAdeptLitestream is being reworked around ideas from LiteFS. It replaces the raw-WAL "shadow WAL" with transaction-aware LTX files, sorted page changesets that can be compacted LSM-style, so point-in-time restores no longer replay every intermediate page write. Conditional writes in S3 and Tigris provide a time-based lease that guarantees a single writer per destination without Consul, which removes the need for multiple "generations" and makes failover and replica resync simpler. Planned additions are a VFS-based read-replica layer that fetches and caches pages straight from object storage, and wildcard replication of hundreds or thousands of databases from one process.
- Kubernetes v1.38 Sneak Peek
Kubernetes Blog hardMasterKubernetes v1.38, planned for December 16, 2026, will require container runtimes to report the cgroup driver via the CRI RuntimeConfig RPC. The kubelet will reject the cgroupDriver config field unless the temporary LegacyCgroupDriverFallback gate is enabled, and kubeadm preflight will fail on runtimes that lack the RPC. On cgroup v2 nodes using LimitedSwap, swap limits will follow pod-level memory settings, so Pods whose pod-level request equals their limit get no swap. The kubectl WebSocket opt-out environment variables and the kuberc allowlist `name` field are removed. kuberc, pod-level resources and DRA partitionable devices are expected to go stable, and an alpha EvictionRequest API lets responders prepare Pods before eviction while still respecting PDBs.