Uber's Failover Architecture: Reconciling Reliability and Efficiency in Hyperscale Microservice Infrastructure

Mayank Bansal (Uber Technologies), Milind Chabbi (Uber Technologies), Kenneth Bøgh (Uber Technologies), Srikanth Prodduturi (Uber Technologies), Kevin Xu (Uber Technologies), Amit Kumar (Uber Technologies), David Bell (Uber Technologies), Ranjib Dey (Uber Technologies), Yufei Ren (Uber Technologies), Sachin Sharma (Uber Technologies), Juan Marcano (Uber Technologies), Shriniket Kale (Uber Technologies), Subhav Pradhan (Uber Technologies), Ivan Beschastnikh (University of British Columbia), Miguel Covarrubias (Uber Technologies), Chien-Chih Liao (Uber Technologies), Sandeep Koushik Sheshadri (Uber Technologies), Wen Luo (Uber Technologies), Kai Song (Uber Technologies), Ashish Samant (Uber Technologies), Sahil Rihan (Uber Technologies), Nimish Sheth (Uber Technologies), Albert Greenberg (Uber Technologies), Uday Kiran Medisetty (Uber Technologies)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Neurons Meet Routers

Overview

This talk details Uber's redesign of its hyperscale multi-region failover architecture, balancing extreme reliability requirements with hardware efficiency. Operating at a scale of 6,000+ microservices handling 62 trillion RPCs per week, Uber previously maintained a dual-region active-active setup for stateless services where half the global fleet sat idle as a warm standby. This traditional insurance policy required doubling the entire infrastructure footprint—roughly 4 million CPU cores globally—yielding a low baseline utilization of just 20%. With full peak region failovers occurring fewer than 20 hours per year, this approach incurred massive financial overhead.

Watch on YouTube · Slides

Visual summary for Uber's Failover Architecture: Reconciling Reliability and Efficiency in Hyperscale Microservice Infrastructure by Mayank Bansal, Milind Chabbi, Kenneth Bøgh, Srikanth Prodduturi, Kevin Xu, Amit Kumar, David Bell, Ranjib Dey, Yufei Ren, Sachin Sharma, Juan Marcano, Shriniket Kale, Subhav Pradhan, Ivan Beschastnikh, Miguel Covarrubias, Chien-Chih Liao, Sandeep Koushik Sheshadri, Wen Luo, Kai Song, Ashish Samant, Sahil Rihan, Nimish Sheth, Albert Greenberg, Uday Kiran Medisetty
Visual summary for Uber's Failover Architecture: Reconciling Reliability and Efficiency in Hyperscale Microservice Infrastructure by Mayank Bansal, Milind Chabbi, Kenneth Bøgh, Srikanth Prodduturi, Kevin Xu, Amit Kumar, David Bell, Ranjib Dey, Yufei Ren, Sachin Sharma, Juan Marcano, Shriniket Kale, Subhav Pradhan, Ivan Beschastnikh, Miguel Covarrubias, Chien-Chih Liao, Sandeep Koushik Sheshadri, Wen Luo, Kai Song, Ashish Samant, Sahil Rihan, Nimish Sheth, Albert Greenberg, Uday Kiran Medisetty

Key moments

  1. 0:00 Introduction and multi-region failover scale at Uber
  2. 1:53 The cost of insurance and key architecture challenges
  3. 4:00 Goals, microservice tiering, and reliability targets
  4. 5:57 Outage Mitigator (OMG) and orchestration workflow
  5. 10:35 Resource sharing and container c-group management
  6. 12:15 Fixing fail-close dependencies with static and runtime analysis
  7. 15:47 Real production failover data and error rate results
  8. 17:40 Lessons learned, core savings, and future directions

Uber's Failover Architecture: Reconciling Reliability and Efficiency in Hyperscale Microservice Infrastructure

Speakers: Mayank Bansal (Uber Technologies); Milind Chabbi (Uber Technologies); Kenneth Bøgh (Uber Technologies); Srikanth Prodduturi (Uber Technologies); Kevin Xu (Uber Technologies); Amit Kumar (Uber Technologies); David Bell (Uber Technologies); Ranjib Dey (Uber Technologies); Yufei Ren (Uber Technologies); Sachin Sharma (Uber Technologies); Juan Marcano (Uber Technologies); Shriniket Kale (Uber Technologies); Subhav Pradhan (Uber Technologies); Ivan Beschastnikh (University of British Columbia); Miguel Covarrubias (Uber Technologies); Chien-Chih Liao (Uber Technologies); Sandeep Koushik Sheshadri (Uber Technologies); Wen Luo (Uber Technologies); Kai Song (Uber Technologies); Ashish Samant (Uber Technologies); Sahil Rihan (Uber Technologies); Nimish Sheth (Uber Technologies); Albert Greenberg (Uber Technologies); Uday Kiran Medisetty (Uber Technologies)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=DLdPcDX6VhY

Overview

This talk details Uber's redesign of its hyperscale multi-region failover architecture, balancing extreme reliability requirements with hardware efficiency. Operating at a scale of 6,000+ microservices handling 62 trillion RPCs per week, Uber previously maintained a dual-region active-active setup for stateless services where half the global fleet sat idle as a warm standby. This traditional insurance policy required doubling the entire infrastructure footprint—roughly 4 million CPU cores globally—yielding a low baseline utilization of just 20%. With full peak region failovers occurring fewer than 20 hours per year, this approach incurred massive financial overhead.

Presented by Mayank Bansal on behalf of a large engineering team from Uber Technologies and the University of British Columbia at USENIX NSDI, the talk outlines the Uber's Failover Architecture (UFA) project. The engineering challenge centered on two core problems: poor resource utilization and "fail-close" dependencies that allowed non-critical downstream services to drag down high-priority trip-serving infrastructure. By rethinking failover orchestration, decoupling tiers, and leveraging batch computing clusters as overflow capacity, Uber successfully reduced its failover footprint buffer from 2x to 1.3x, reclaimed over 1 million CPU cores, and boosted baseline infrastructure utilization to 30%, all while maintaining four-nines ($\text{99.99\%}$) availability for critical paths during live disaster recovery drills.

Background

▶ Watch: Introduction and multi-region failover scale at Uber (0:00)

In modern hyperscale cloud systems, multi-region active-active architectures are the gold standard for high availability. However, they force infrastructure teams into a painful trade-off: over-provisioning compute to absorb a sudden 100% traffic shift during a regional outage, or risking cascading failures and degraded user experience. At Uber, the stateless microservice fleet consumed approximately 4 million CPU cores globally. Because a regional failure forces the surviving region to absorb double the traffic load, maintaining dedicated spare capacity meant keeping 50% of the hardware idle during steady-state operations.

Compounding this efficiency penalty was the issue of service graph topology. Previously, Uber employed a uniform Service Level Agreement (SLA) model that failed to differentiate between core business-critical services (such as trip matching and dispatch) and non-critical internal tools or development services. This flat dependency model created widespread fail-close dependencies, where an outage in a low-priority tier-5 service could propagate upward and crash tier-0 trip-serving paths. Consequently, buying reliability through pure hardware redundancy was both economically unsustainable and architecturally fragile, motivating a comprehensive overhaul of Uber's disaster recovery framework.

Key Findings

▶ Watch: Goals, microservice tiering, and reliability targets (4:00)

The primary discovery presented in the talk is that infrastructure reliability and hardware efficiency are not mutually exclusive at hyperscale. By transitioning from a rigid, monolithic 2x spare capacity model to a tiered, highly orchestrated failover architecture, Uber achieved several key performance and operational milestones:

  • Footprint Reduction: Successfully dropped the failover capacity multiplier from 2.0x down to 1.3x.
  • Utilization Gains: Improved baseline global microservice CPU utilization from 20% to 30% during steady-state, jumping to 50% immediately following a failover event.
  • Capacity Reclaimed: Reclaimed and reallocated over 1.025 million CPU cores across the global fleet.
  • SLA Maintenance: Maintained strict tier-based reliability standards: four-nines ($\text{99.99\%}$) availability for critical tier-0 and tier-1 services, and three-nines ($\text{99.99\%}$) for tier-2 services.
  • Zero Regression in Production: Through rigorous dependency decoupling and automated gating, Uber recorded zero production incidents in 2025 where lower-tier service failures impacted tier-0/1 reliability.
  • Rapid Recovery Times: Real-world production drills demonstrated full capacity online status and tier-2 stabilization within 7 to 20 minutes of initiating a peak failover.

Technical Deep Dive

▶ Watch: Resource sharing and container c-group management (10:35)

The architectural foundation of UFA relies on several tightly coordinated subsystems spanning orchestration, container resource management, dependency analysis, and rapid image distribution.

The Outage Mitigator (OMG)

At the center of UFA is Outage Mitigator (OMG), an automated hyperscale orchestration engine. When OMG detects a peak failover event—requiring all traffic from a degraded region to be evacuated—it executes massive parallel execution pipelines. One pipeline shifts network traffic and migrates stateless services, while the parallel pipeline aggressively reclaims resources by terminating non-production services, halting lower-tier batch computing clusters, and evicting tier-3 through tier-5 workloads.

Tiered Workload Management & Cgroups

To squeeze efficiency out of steady-state operations without sacrificing burst capacity, Uber leverages Linux cgroups to implement over-committed, shared node resources. Services are categorized into tiers:

  • Always-On (AO / T0/T1): Core trip-flow services guaranteed dedicated resource reservations.
  • Active Migrate (AM / T2): Medium-priority services that run on borrowed/shared resources during steady state and are migrated to reclaimed batch clusters during a failover.
  • Resource Kill (RL / T3-T5): Low-priority services that are entirely terminated during a failover, freeing up compute for the doubled traffic load of AO services.

During steady state, AM and RL workloads execute on resources overlapping with AO allocation limits. When a failover strikes and traffic doubles, AO services instantly reclaim their full CPU shares via cgroups within milliseconds. Concurrently, AM services are migrated to batch infrastructure, and RL services are shut down.

Dependency Governance: RPC Shield and Static Analysis

To eliminate fail-close violations across the 6,000+ microservices, Uber deployed a multi-stage dependency governance pipeline:

  1. Runtime Analysis: Scanned and identified over 4,000 cross-tier fail-close RPC dependencies.
  2. RPC Shield: A static analysis tool powered by LLMs that inspects code changes and pull requests to automatically detect and flag newly introduced fail-close dependencies across tier boundaries before deployment.
  3. Canary Regression Gates: Automated deployment gates that black-hole inter-tier RPCs during staging verification to ensure services cannot escape validation if a regression occurs.
  4. Dragon (GenAI Mobile Testing): An automated testing framework that navigates mobile application UI screens to simulate end-to-end user workflows while injecting targeted backend service failures.

Rapid Binary Distribution via Kraken

Bringing down and spinning up thousands of microservices within minutes requires overcoming container image distribution bottlenecks. Uber utilizes Kraken, a peer-to-peer (P2P) large-scale image distribution system, to pre-fetch and cache build images across regional zones and clusters, preventing cold-start delays during rapid failover execution.

Experimental Setup & Results

▶ Watch: Fixing fail-close dependencies with static and runtime analysis (12:15)

The evaluation of UFA was conducted across Uber’s global production infrastructure comprising millions of CPU cores distributed across dual-region active-active deployments. Rather than relying solely on synthetic benchmarks, the architecture was validated using live production drills and staging environments.

  • Scale of Evaluation: Tests encompassed top-100 metropolitan regions globally, handling tens of trillions of RPCs per week.
  • Timeline of Failover Execution: Production telemetry recorded during failover drills shows:
  • T+0:00: Failover initiated by OMG.
  • T+0:07 (7 minutes): Batch clusters killed, non-prod services evicted, full capacity online.
  • T+0:10 to T+0:20 (10-20 minutes): Tier-2 active migrate services fully established in steady-state/batch mix.
  • T+0:30 (30 minutes): Tier-3 services fully restored.
  • T+1:00 (1 hour): Complete system stabilization matching pre-failover steady-state baselines.
  • Error Rate Stability: Telemetry tracking top-100 city error rates demonstrated flat, undisturbed error distributions across the pre-failover, active-failover, and post-failover phases, confirming that tier-0/1 services suffered zero latency or availability degradation.

Practical Implications

▶ Watch: Lessons learned, core savings, and future directions (17:40)

For infrastructure teams and large-scale microservice operators, UFA offers a blueprint for breaking the false dichotomy between reliability and efficiency. Traditional active-active multi-region architectures pay a 100% tax on idle compute just to cover worst-case scenarios. Uber's approach proves that by combining fine-grained cgroup-based resource over-commitment, aggressive container eviction policies, and batch-compute elasticity, organizations can safely compress their standby footprint by 35% or more.

However, implementing this architecture requires rigorous organizational and technical discipline. As demonstrated by Uber’s remediation of over 4,000 fail-close violations, automated hyperscale failover will fail catastrophically if upstream services maintain unmanaged dependencies on downstream infra. Systems architects adopting this model must invest heavily in automated static analysis, strict tier boundary enforcement, and continuous staging drills (>70 staging drills were required at Uber) to ensure that efficiency gains do not quietly reintroduce cascade failure vectors.

Key Takeaways

  • Reliability vs. Efficiency: Hyperscale organizations do not need to double their infrastructure footprint to achieve robust multi-region disaster recovery.
  • Automated Orchestration: Centralized engines like Outage Mitigator (OMG) can safely execute complex, multi-tiered parallel shutdowns, migrations, and traffic shifts within minutes.
  • Resource Borrowing: Utilizing cgroup shares allows high-priority always-on services to safely borrow compute from lower-tier or batch workloads during steady-state, reclaiming capacity in milliseconds during traffic spikes.
  • Strict Dependency Governance: Eliminating fail-close dependencies across tier boundaries using tools like LLM-powered RPC Shield and Canary Regression Gates is a prerequisite for safely shedding load during outages.
  • Rapid Image Prefetching: Peer-to-peer distribution systems like Kraken are essential for avoiding cold-start bottlenecks when spinning up evicted workloads during an active failover.

About the Speaker(s)

Mayank Bansal presented this work on behalf of a large collaborative team of engineers and researchers from Uber Technologies and the University of British Columbia. The author collective includes distributed systems engineers, reliability architects, and researchers specializing in hyperscale infrastructure, cluster management, microservice dependability, and automated orchestration systems.

Reviews

  • Simon Wisk (Open Source Developer & AI Tooling Expert) — MUST SEE ★★★★★

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)