GhostServe: A Lightweight Checkpointing System in the Shadow for Fault-Tolerant LLM Serving

Shakya Jayakody, Youpeng Zhao, Chinmay Dhanraj Nehate, Jun Wang
3/26/2026
cs.DCcs.AIcs.PF

No confident code implementation found for this paper.

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.

Show full abstract

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 seamlessly without costly full recomputation or state replication. Evaluations demonstrate that GhostServe reduces checkpointing latency by up to 2.7x and recovery latency by 2.1x for a single batch, and 1.2x median response latency compared to existing methods, in the presence of system failures, paving the way for high-availability and cost-effective LLM serving at scale.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jayakody2026ghostserve,
  title  = {GhostServe: A Lightweight Checkpointing System in the Shadow for Fault-Tolerant LLM Serving},
  author = {Shakya Jayakody and Youpeng Zhao and Chinmay Dhanraj Nehate and Jun Wang},
  year   = {2026},
  eprint = {2605.00831},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.00831v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.00831.svg)](https://codeofpaper.com/paper/2605.00831)

Discussion