robinhood-caching · research · also RobinHood, tail-latency-aware caching

RobinHood caching

RobinHood is a cache-partitioning system that shifts capacity toward backends that delay requests near a target latency percentile.

Request objective: A parallel wait-for-all request finishes at its slowest query. Reducing a different query's time may leave that request unchanged. RobinHood allocates capacity using request-level blocking, not merely query popularity. [1]

Controller: The paper counts each backend's slowest-query appearances in requests between P98.5 and P99.5. Every five seconds, its basic rule pools 1% of each partition and redistributes it in proportion to these counts. Backends with excessive unused allocation are temporarily excluded. [1]

Configuration matters: In the pinned author code, crit_path_window consumes crit_count2, the P98.5-P99.5 statistic. The selector named robinhood instead sorts backend query p99 values. A selector's name alone does not identify the paper's request-blocking policy. [2] [3]

Constructed example: Of 100 requests, 98 query only A; two query A and B simultaneously. Misses take 10 ms and 100 ms respectively; hits take 1 ms. With one equal-size key preloaded and fixed, caching A gives 100/102 query hits but request p99 = 100 ms. Caching B gives 2/102 hits but p99 = 10 ms. Mean request latency instead favors A: 2.98 versus 10 ms. Nearest-rank p99, no queues or insertion. [4]

Relations

related
Tail latency, Request hit ratio, Cliffhanger, Least Hit Density

Limitations

  • Insufficient capacity or largely uncacheable work can prevent repartitioning from fixing the request tail. [1]
  • Backends sharing a storage bottleneck need joint consideration; independently shifting cache can also harm another service sharing that backend. [1]
  • The finite example compares fixed placements, not the adaptive controller or a measured service. [4]

Citations

  1. Berger et al. RobinHood: Tail Latency Aware Caching. OSDI 2018, pp. 195-212; sections 3, 4.3 and 6. (accessed 2026-11-29)
  2. RobinHood author code: controller selection and capacity weights, commit c94801d833525b49e1f1e78e6ca2c13f1289f371. (accessed 2026-11-29)
  3. RobinHood author code: request-blocking percentile windows, commit c94801d833525b49e1f1e78e6ca2c13f1289f371. (accessed 2026-11-29)
  4. Hesela. Fixed-placement request-latency counterexample: assumptions, results, code and tests. (accessed 2026-11-29)

Further reading

  1. Hesela. Fan-out completion and the difference between slow RAID hours and request latency. (accessed 2026-11-29)
Sources & caveats
  • The paper's evaluation uses a testbed with workloads derived from production statistics; its reported improvements are not universal service guarantees. [1]
  • Code inspected at the pinned revision. The selector discrepancy is a reproducibility caveat, not evidence that the published experiments used the wrong policy. [2] [3]
  • RobinHood caching is distinct from the Robinhood filesystem policy engine.

JSON: /data/terms/robinhood-caching.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. RobinHood caching. Hesela. 2026-11-29. https://hesela.dev/terms/robinhood-caching/