Caching and Indexing for Low-Latency, High-Availability Inference Systems
Every system that must answer quickly and stay available solves two problems: locating the right data cheaply, and avoiding the full cost of producing an answer more than once. Indexing addresses the first; caching addresses the second. Together they account for most of the engineering behind a p99 latency target and an availability objective, and this is especially true of systems that serve machine-learned inference, where a single forward pass can cost orders of magnitude more than a memory lookup. This paper consolidates the design space for caching and indexing in inference serving systems. It distinguishes indexing from caching as complementary rather than interchangeable techniques; establishes the conditions under which model output may be cached safely, including a precise treatment of why large generative models are frequently not reproducible in production; and argues that tiered caches should be designed as the upper rungs of a fault-tolerance cascade rather than as a latency optimization alone. It then surveys techniques that extend the reachable design space: deterministic approximation of computations that appear uncacheable, prefix reuse of attention state in generative serving, approximate membership filters as miss gates, and the recent displacement of least-recently-used eviction by FIFO-based policies. The paper closes with a reference serving path and a practitioner checklist. The treatment is architectural and vendor-neutral. Quantitative claims are attributed to the published literature rather than to any single production deployment.
Authors
- Sowmya Yarlagadda
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.5281/zenodo.24511442
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00