ContinuityBench: A Benchmark and Systems Study of Stateful Failover in Multi-Provider LLM Routing
Abstract
In production large language model (LLM) deployments, high API availability guarantees do not equate to conversational continuity. When a primary provider experiences an outage or strict rate-limiting, naive stateless failover mechanisms successfully maintain uptime but silently discard conversation history, severely disrupting the user experience. To rigorously quantify and resolve this failure mode, we introduce two novel metrics: Continuity Preservation Rate (CPR) and Continuity Latency Overhead (CLO). We propose a stateful, multi-provider proxy architecture utilizing a History-Forwarding strategy to seamlessly reconstruct conversational state across heterogeneous LLM endpoints during failover events. Furthermore, we release continuity-bench, https://github.com/Vishal-sys-code/continuity-bench, an open evaluation harness designed to stress-test context preservation under high-concurrency provider failure conditions. Our empirical evaluation ( failover events) demonstrates that our stateful proxy achieves a 99.20\% CPR [95\% CI: 98.27\%, 99.63\%], cleanly transferring deep conversational context to fallback providers, compared to a near-0\% preservation rate for standard stateless architectures. Finally, we characterize failover latency distributions, identifying the critical necessity of asynchronous exponential backoff with jitter to prevent cascading retry storms against strict-limit fallback APIs. Our results provide a principled foundation for building robust, state-preserving multi-model inference systems.
Create a lesson
Metadata
- Comments
- 16 pages, 2 figures
Related papers
Compute-Aware Submodular Online Learning in Open Multi-Agent Systems
Shared title terminologycs.LGJing Liu, Luca Ballotta, Fangfei Li et al.
SysBio-SR: Benchmarking Symbolic Regression for Trajectory Fidelity and Mechanism Recovery in Systems Biology
Shared title terminologycs.LGHeng Rao, Dan Gao, Benjamin J Hoffman et al.
Assessing the Physical Interpretability of AlphaEarth Foundation Embeddings Through Multi-Sensor Satellite Time-Series Benchmarking for Agricultural Mapping
Shared title terminologycs.LGEl Houcine El Moussaoui, Chouaib El Hachimi, Saïd Khabba et al.
Graph-Embedded Intuitionistic Fuzzy Broad Learning System: A Multi-view Framework
Shared title terminologycs.LGYogesh Kumar, Manju, Mudasir Ganaie
When Do Multi-Agent Systems Help? An Information Bottleneck Perspective
Shared title terminologycs.LGWendi Yu, Lianhao Zhou, Xiangjue Dong et al.
A gene informed benchmark for BioScoring of pathology foundation models
Shared title terminologycs.LGPaul Vilars, Vincent Quoc-Huy Trinh, Maria Vakalopoulou et al.