Towards Performance Robustness for Microservices
Divyanshu Saxena (UT Austin), Gaurav Vipat (UT Austin), Jiaxin Lin (Cornell University), Jingbo Wang (Purdue University), Isil Dillig (UT Austin), Sanjay Shakkottai (UT Austin), Aditya Akella (UT Austin)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · The Care and Feeding of Networked Systems
Overview
Modern cloud applications are built as collections of decoupled microservices that communicate via request-response mechanisms, functioning much like modular LEGO blocks. While this architecture provides flexibility and maintainability, it introduces severe operational challenges. Microservices sit directly in the path of end-user interactions, making them subject to stringent Service Level Objectives (SLOs) and tight latency targets. However, meeting these targets is notoriously difficult due to pervasive performance variability. Factors such as sudden request rate spikes, co-located background jobs causing CPU contention, and shared service bottlenecks create continuous performance fluctuations. Crucially, many of these drivers of variability are latent and cannot be observed through end-to-end measurements alone.

Key moments
- 0:00 Introduction and background on microservice performance variability
- 2:00 Limitations of current controllers and the need for robustness
- 3:20 Key insight: Performance Robustness Certificates (PERKs)
- 4:40 Galileo framework and queuing theory analytical model
- 7:40 Computing worst tail latencies and gradient estimation
- 10:20 Using PERKs in controllers and implementing runtime shields
- 12:00 Evaluation results and comparison with state-of-the-art baselines
- 13:40 Summary and conclusion of the talk
Towards Performance Robustness for Microservices
Speakers: Divyanshu Saxena (UT Austin); Gaurav Vipat (UT Austin); Jiaxin Lin (Cornell University); Jingbo Wang (Purdue University); Isil Dillig (UT Austin); Sanjay Shakkottai (UT Austin); Aditya Akella (UT Austin)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=AKaAgYRf7PU
Overview
Modern cloud applications are built as collections of decoupled microservices that communicate via request-response mechanisms, functioning much like modular LEGO blocks. While this architecture provides flexibility and maintainability, it introduces severe operational challenges. Microservices sit directly in the path of end-user interactions, making them subject to stringent Service Level Objectives (SLOs) and tight latency targets. However, meeting these targets is notoriously difficult due to pervasive performance variability. Factors such as sudden request rate spikes, co-located background jobs causing CPU contention, and shared service bottlenecks create continuous performance fluctuations. Crucially, many of these drivers of variability are latent and cannot be observed through end-to-end measurements alone.
To counteract these dynamics, cloud operators deploy various resource and traffic controllers, ranging from traditional heuristic-based algorithms to advanced machine learning models. Unfortunately, existing controllers fail to account for latent environmental perturbations, reacting only after performance degradation has already occurred. This talk presents Galileo, a novel systems framework designed to achieve performance robustness in microservices. By introducing an analytical performance reasoning model rooted in queuing theory, Galileo anticipates worst-case tail latencies under environmental perturbations and equips controllers to make proactively safe decisions.
Background
▶ Watch: Introduction and background on microservice performance variability (0:00)
The systems and machine learning communities have invested heavily in automated control mechanisms for microservices, including heuristic autoscalers, bandit-based CPU allocators like AutoThrottle, and reinforcement learning (RL) admission controllers like TopFull. Despite these advancements, a fundamental mismatch persists between how controllers operate and how microservice environments evolve. Current controllers evaluate system state based on current metrics—such as observed tail latency and instantaneous request arrival rates—and compute adjustments reactively.
This reactive posture creates an inherent vulnerability. When a request rate spike occurs, queues build up across the application graph well before end-to-end latencies breach SLO thresholds. By the time a controller detects the violation and increases CPU allocations, the remediation is too late, and a cascade of requests has already missed its deadline. Open-source microservice traces reveal that request rates can surge by up to 3x within minutes, while co-located background interference can induce 5.3x latency spikes through CPU contention. Because these underlying factors are latent, traditional controllers remain blind to the trajectory of the system, underscoring the need for a principled approach to performance robustness that reasons explicitly about environmental uncertainty.
Key Findings
▶ Watch: Key insight: Performance Robustness Certificates (PERKs) (3:20)
The central discovery of this work is that microservice performance under perturbation can be bounded analytically and tractably at runtime, eliminating the lag associated with reactive controllers. By abstracting each hop in a microservice request path as a queuing network, the authors demonstrate that end-to-end latencies can be reliably approximated and projected into worst-case scenarios.
- High Predictive Accuracy: The queuing-theoretic approximation model exhibits low error rates, achieving between 4% and 10% error across multiple standard microservice benchmarks.
- Drastic Reduction in SLO Violations: When integrated into state-of-the-art controllers such as AutoThrottle, Galileo reduces SLO violations to a negligible 0.05% on complex benchmarks like hotel reservation systems.
- Tightness of Bounds: Empirical evaluations spanning over 250 hours of execution under dynamic arrival rates, resource allocations, and CPU contention confirm that perks (Performance Robustness Certificates) consistently yield conservative upper bounds over worst-case tail latencies, particularly under small-to-moderate environment perturbations.
- Modest Resource Tradeoff: Achieving this level of robustness incurs a predictable resource overhead, requiring approximately 20% higher peak CPU core allocations during maximum load scenarios.
Technical Deep Dive
▶ Watch: Computing worst tail latencies and gradient estimation (7:40)
The architectural foundation of Galileo rests on two core components: a queuing-theoretic performance reasoning model and a runtime safety shielding mechanism.
The Performance Reasoning Model
Galileo models each hop of a request path as an $M/M/1$ Processor Sharing (PS) queue. In this abstraction, job arrivals follow a Poisson process, service times follow an exponential distribution, and concurrent requests share CPU resources via processor sharing. This mathematical framing mirrors microservice execution semantics, where incoming requests spawn threads that share available CPU allocations via the operating system scheduler.
Using classical results from queuing theory, end-to-end latencies are approximated as a gamma distribution governed by two parameters, $\alpha$ and $\beta$. Any latent environmental perturbation—such as an impending request surge or a downstream processing bottleneck—is mathematically mapped to a perturbation in either the arrival rates ($\lambda$) or processing rates ($\mu$) of the queuing network.
To compute the worst-case tail latency within a designated perturbation ball ($\Delta E$), Galileo employs a gradient estimation technique. By introducing small, controlled tweaks to arrival and processing rates at runtime, the system measures empirical changes to $\alpha$ and $\beta$, extracting directional gradients. To handle the combinatorial explosion of dimensions in large microservice graphs, Galileo leverages compressive sensing techniques to perform accurate gradient estimation using minimal samples.
The Perturbation Abstraction and Shields
Using the estimated gradients, Galileo computes a Performance Robustness Certificate (PERK), defined as the maximum possible 99th percentile tail latency ($\mathcal{L}_{99}$) within the perturbation ball:
$$\text{PERK} = \max_{E^ \in \Delta E} \mathcal{L}_{99}(E^)$$
To ensure that machine learning or bandit controllers respect these bounds, Galileo introduces a runtime shield. While reward shaping can encourage robust policy updates during training, stochastic controllers can still occasionally output non-robust actions for unfamiliar inputs. The shield intercepts controller decisions, evaluates whether the resulting PERKs violate the application SLO, and—if necessary—projects the action along computed gradients to a safe, compliant state. Furthermore, shields issue large negative penalties upon detecting non-robust actions, mitigating the cascading impact of poor control decisions during training.
Experimental Setup & Results
▶ Watch: Using PERKs in controllers and implementing runtime shields (10:20)
The evaluation of Galileo was conducted using standard open-source microservice benchmark applications subjected to rigorous stress tests over a cumulative duration exceeding 250 hours.
- Baselines and Integrations: Galileo was implemented on top of AutoThrottle (a bandit-based CPU autoscaler) and evaluated alongside TopFull (an RL-based admission controller).
- Workload Stressors: The evaluation environments incorporated dynamically varying arrival rates, active CPU contention via co-located background jobs, and manipulated resource allocations to test system resilience against latent variability.
- Key Metrics: The primary evaluation metrics included SLO violation rates, peak CPU core consumption, and tightness—defined as the ratio of the computed PERK to the empirically observed worst-case tail latency.
Experimental results demonstrate that Galileo’s PERKs provide reliable upper bounds on latency spikes. When deployed on the hotel reservation benchmark, the Galileo-enhanced AutoThrottle controller successfully suppressed SLO violation rates down to 0.05%. Ablation studies isolating the effect of the runtime shields demonstrated that while reward shaping alone improves robustness, the explicit runtime shield is crucial for eliminating residual non-robust actions during transient workload shifts.
Practical Implications
▶ Watch: Summary and conclusion of the talk (13:40)
For infrastructure teams and cloud operators, Galileo bridges the gap between theoretical queuing models and empirical cloud control loops.
- Zero Additional Instrumentation: Because Galileo’s analytical model fits the $\alpha$ and $\beta$ parameters directly from end-to-end measurements already collected by standard monitoring stacks, it requires no code modifications or internal service instrumentation.
- Trade-offs in Resource Provisioning: Achieving absolute performance robustness is not free. Practitioners must provision for a roughly 20% increase in peak CPU allocations to absorb worst-case perturbation bounds safely.
- Generalizability: Although demonstrated primarily in microservice autoscaling and admission control, the PERK abstraction is broadly applicable to other domains requiring latency guarantees under uncertainty, such as serverless function scheduling and database query routing.
Key Takeaways
- The Latency Trap: Reactive microservice controllers act too late because latent variability causes request queuing long before end-to-end SLO violations are registered.
- Queuing Theory as a Lens: Modeling microservice request paths as networks of $M/M/1$ Processor Sharing queues successfully captures complex concurrency and resource-sharing dynamics with low mathematical error (4%–19%).
- Performance Robustness Certificates (PERKs): By bounding environment perturbations into a controllable ball ($\Delta E$), systems can mathematically derive worst-case tail latencies prior to making control decisions.
- Gradient-Based Extrapolation: Compressive sensing and gradient estimation allow real-time mapping of arrival and processing rate changes ($\lambda$ and $\mu$) to gamma distribution parameters ($\alpha$ and $\beta$).
- Runtime Shielding: Integrating analytical bounds with reinforcement learning via active runtime shields prevents non-robust actions and isolates the network from cascading failures.
- Significant SLO Reduction: Galileo successfully reduces SLO violation rates to 0.05% on complex benchmarks at the cost of a 20% increase in peak CPU allocation.
About the Speaker(s)
Divyanshu Saxena is a Ph.D. student in the Department of Computer Science at the University of Texas at Austin, advised by Professor Aditya Akella. His research focuses on cloud computing, networked systems, and performance reliability for modern distributed applications. This work represents a collaborative effort spanning researchers from UT Austin, Cornell University, and Purdue University, supported by the NSF-funded Eldos expedition in computing.
Reviews
→ 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)