Blogs / Why Large etcd Result Sets Were Hard to Handle

Why Large etcd Result Sets Were Hard to Handle

What the etcd v3.7.0 announcement says happened with large result sets in v3.6 and earlier and what RangeStream changes.

  • Learning
  • 1 min read

For: Learners who know etcd stores Kubernetes data.

The problem in v3.6 and earlier

In etcd v3.6 and earlier, it is challenging to work with requests that return large result sets.[1]

What was buffered

The database would buffer the full result set before sending, leading to unpredictable latency and memory usage, both on the server and the client.[1]

Large result set,v3.6 and earlierchallenging to work withFull result setbuffered beforesendingunpredictable latency andmemory usageRangeStream RPCresult sets accepted inchunksreplaced by
How does RangeStream change how a result set is returned?

What RangeStream does

The RangeStream RPC lets calling applications accept result sets in chunks, reducing latency and making buffering memory usage more predictable.[1]

Sources

  1. Announcing etcd v3.7.0 (kubernetes.io · checked )

More articles