Towards Resiliency in Large Language Model Serving with KevlarFlow
Shangshu Qian, Kipling Liu, P. C. Sruthi, Lin Tan, Yongle Zhang
TL;DR
This paper addresses the fragility of large language model (LLM) serving in hyperscale clusters, where hardware faults cause prolonged outages. It introduces Kevlar-Flow, a fault-tolerant architecture that decouples model-parallel initialization, performs dynamic traffic rerouting, and continuously replicates KV cache to mask failures and keep requests flowing. Key findings show a 20x reduction in mean-time-to-recovery (MTTR) and substantial latency improvements under partial failures (average latency up to 3.1x; TTFT up to 378.9x) with negligible overhead during normal operation. The approach enables near-continuous service in the face of node failures, offering a practical, scalable path toward “always-on” LLM serving for large-scale AI systems.
Abstract
Large Language Model (LLM) serving systems remain fundamentally fragile, where frequent hardware faults in hyperscale clusters trigger disproportionate service outages in the software stack. Current recovery mechanisms are prohibitively slow, often requiring up to 10 minutes to reinitialize resources and reload massive model weights. We introduce KevlarFlow, a fault tolerant serving architecture designed to bridge the gap between hardware unreliability and service availability. KevlarFlow leverages 1) decoupled model parallelism initialization, 2) dynamic traffic rerouting, and 3) background KV cache replication to maintain high throughput during partial failures. Our evaluation demonstrates that KevlarFlow reduces mean-time-to-recovery (MTTR) by 20x and, under failure conditions, improves average latency by 3.1x, 99th percentile (p99) latency by 2.8x, average time-to-first-token (TTFT) by 378.9x, and p99 TTFT by 574.6x with negligible runtime overhead in comparison to state-of-the-art LLM serving systems.
