Alibaba Cloud Native
Alibaba Cloud Native
May 14, 2019 · Databases

How We Cut etcd’s Storage Latency from Seconds to Milliseconds at 100 GB Scale

This article explains why Alibaba needed to boost etcd’s storage capacity, analyzes the bottleneck caused by BoltDB’s freelist spill operation, presents a hash‑based redesign that reduces allocation and release from O(n) to O(1), and shows benchmark results confirming dramatic latency improvements for large‑scale deployments.

Performance Optimizationetcdfreelist
0 likes · 12 min read
How We Cut etcd’s Storage Latency from Seconds to Milliseconds at 100 GB Scale