Adaptive replica selection
Adaptive replica selection routes a request among eligible data replicas using changing performance or load information rather than a fixed choice.
A local outstanding-request count measures one client's unfinished requests, not all work at the replica. C3's motivating illustration prints 60 ms for an equal split of twelve jobs across 4 ms and 10 ms servers and 32 ms for an ideal allocation. [1] Under an explicit empty, serial, deterministic model with simultaneous arrivals, Hesela instead obtains 36 ms at a 9/3 split: by 32 ms the two servers can finish only 8 + 3 = 11 jobs. This model does not re-evaluate C3's experiments. [4] Load-sensitive choices can also synchronize clients onto one replica, producing oscillation. [1]
In C3, servers return queue size and service time on each response, and clients smooth both with moving averages. The queue estimate is 1 + os * w + q, where os counts the client's own outstanding requests and w was set to the number of clients. Ranking uses the cube of that estimate divided by the service rate, so long queues are penalized more than under a linear score. Rate control and backpressure complement the ranking, without request reissues. [1]
The paper reports up to a factor of 3 lower 99.9th-percentile latency and up to 50% higher read throughput, from a prototype on one open-source database with synthetic workloads in a public cloud. It does not establish a universal speedup for other engines or current deployments. [1] The two-choice supermarket result concerns a homogeneous Poisson/FIFO/exponential-service model with current queue lengths. Its asymptotic comparison is not a universal exponential speedup for finite storage deployments or stale feedback. [3]
Relations
- related
- Hedged request, Tied request, Tail latency, Asynchronous replication, Session guarantees, Monotonic writes, Quantile, D-SPTF, Load-Aware Hedge (LAEDGE), sRoute, Power of two choices, Tars replica selection, Feedback age
Advantages
- Feedback rides on existing responses, so ranking needs no separate probing traffic. [1]
Limitations
- A concurrency weight tied to the client count is a good approximation only when that count is comparable to expected queue lengths. [1]
- The two-choice result assumes Poisson arrivals and exponential service times with mean 1, not heterogeneous replicas with delayed feedback. [3]
Citations
- Suresh, Canini, Schmid and Feldmann. C3: Cutting Tail Latency in Cloud Data Stores via Adaptive Replica Selection. NSDI 2015, sections 2, 3.1 and 5.
- Mitzenmacher. The Power of Two Choices in Randomized Load Balancing. IEEE TPDS 12(10), 2001, pp. 1094-1104.
- Hesela. Replica bursts: exact serial completion audit, capacity proof and client-partition counterexample.
Further reading
Sources & caveats
- c3 re-read 2026-10-23, sections 2, 3.1 and 5, for the 4 ms and 10 ms burst example, the queue estimate, cubic ranking and the factor-of-3 and 50% results.
- p2c2001 read 2026-10-23, abstract and sections 1 to 3, for the supermarket model and the exponential gain from two choices.
- The quantile entry links here because the reported tail gains are stated as 99.9th-percentile response times.
- A companion analysis on hedged reads is listed but not used in prose.
- 2026-11-20: narrowed the two-choice comparison to its model and linked the dedicated current-versus-stale-feedback record.
- 2026-11-20: visually reviewed C3 Figure 1 on printed page 515; replaced the unqualified 32 ms completion claim with attributed source labels and an independently tested 36 ms result under explicit deterministic serial assumptions.