When You Can't Just Retry: Designing Failover for Production Generative AI

Common LLM-gateway and retry patterns model failover as request-level retry over synchronous completions. Asynchronous generative workloads — including image and video generation and batch inference — break the assumptions underneath that model: jobs can run for minutes, cost exposure can begin once execution starts independently of result delivery, outcomes may arrive via webhooks after the submitting process has exited, and rate limits can reflect account-level concurrency rather than provider failure. This technical report develops a reference architecture in which a durable workflow owns the retry ladder through persisted attempt state, a three-way signal taxonomy (fault, capacity, and indeterminate), conditional-write terminal arbitration, and quota accounting that survives crashes and duplicate delivery. An open-source discrete-event simulator compares three failover strategies across seven synthetic fault scenarios using 30 seeds per cell and bootstrap confidence intervals. Two ablations show that effective failover can mask reliability-policy misconfiguration: success rates remain essentially flat while tail latency, retry amplification, and/or cost absorb the damage. All results are synthetic. No production system, workload, customer data, or internal company metric is modeled or measured. Code and reproducibility: https://github.com/canjianchen/genai-failover-sim

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-09-21
DOI
https://doi.org/10.5281/zenodo.22870511
Primary Topic
Distributed systems and fault tolerance
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
preprint

When You Can't Just Retry: Designing Failover for Production Generative AI

Canjian Chen
Zenodo (CERN European Organization for Nuclear Research)
Distributed systems and fault tolerance
preprint

When You Can't Just Retry: Designing Failover for Production Generative AI

Canjian Chen
preprint en

Abstract

Common LLM-gateway and retry patterns model failover as request-level retry over synchronous completions. Asynchronous generative workloads — including image and video generation and batch inference — break the assumptions underneath that model: jobs can run for minutes, cost exposure can begin once execution starts independently of result delivery, outcomes may arrive via webhooks after the submitting process has exited, and rate limits can reflect account-level concurrency rather than provider failure. This technical report develops a reference architecture in which a durable workflow owns the retry ladder through persisted attempt state, a three-way signal taxonomy (fault, capacity, and indeterminate), conditional-write terminal arbitration, and quota accounting that survives crashes and duplicate delivery. An open-source discrete-event simulator compares three failover strategies across seven synthetic fault scenarios using 30 seeds per cell and bootstrap confidence intervals. Two ablations show that effective failover can mask reliability-policy misconfiguration: success rates remain essentially flat while tail latency, retry amplification, and/or cost absorb the damage. All results are synthetic. No production system, workload, customer data, or internal company metric is modeled or measured. Code and reproducibility: https://github.com/canjianchen/genai-failover-sim

Zenodo (CERN European Organization for Nuclear Research)
Distributed systems and fault tolerance
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

When You Can't Just Retry: Designing Failover for Production Generative AI — Canjian Chen · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS