GhostServe: A Lightweight Checkpointing System in the Shadow for Fault-Tolerant LLM Serving
Shakya Jayakody, Youpeng Zhao, Chinmay Dhanraj Nehate, Jun Wang

TL;DR
GhostServe is a lightweight checkpointing system that enhances fault tolerance in large language model serving by efficiently protecting and recovering the KV cache using erasure coding, reducing latency and improving availability.
Contribution
It introduces GhostServe, a novel erasure coding-based checkpointing approach for fault-tolerant LLM inference, addressing the vulnerability of the KV cache in distributed systems.
Findings
Reduces checkpointing latency by up to 2.7x
Decreases recovery latency by 2.1x for a single batch
Achieves 1.2x median response latency improvement during failures
Abstract
The rise of million-token, agent-based applications has placed unprecedented demands on large language model (LLM) inference services. The long-running nature of these tasks increases their susceptibility to hardware and software faults, leading to costly job failures, wasted resources, and degraded user experience. The stateful key-value (KV) cache, which grows with the sequence length, presents a central challenge as it is a critical and vulnerable component in distributed serving systems. In this work, we propose GhostServe, a novel checkpointing solution to facilitate fault-tolerant LLM serving. Specifically, GhostServe protects the streaming KV cache in the shadow by applying erasure coding to generate and store the parity shards in host memory. In the event of device failures, GhostServe enables fast reconstruction of the lost KV cache, allowing the inference process to resume…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
