Uber has published how it load-tests individual services in production, using a system it calls Muttloader. The tool shifts live requests off some of a service’s instances so the rest carry failover-sized load, then backs out automatically at the first sign of degradation. Uber says it now runs about 2,000 of these tests a month on close to 500 services.
Johan Mena, Tony He and Jingyu Cai wrote the post, which went up on 3 December. Mena and Albert Wang gave the same story as a talk at SREcon EMEA on 15 October. Uber Engineering pointed to it on X. Muttloader is an internal system and I found no public release, so there was nothing to install. I wrote a small simulation of its control loop instead, and I say below what that does and doesn’t show.
The outage behind it
On 30 October 2020, a database cluster that tracks Delivery orders failed in one of Uber’s two data centre regions. Roughly half of orders went unassigned for hours, during what Uber calls the busiest weekend of the year for Uber Eats. The on-call teams failed traffic over to the other region. It was already close to its own peak, and the failover doubled its load. The mitigation became a second outage.
Uber already ran company-wide failover drills in production. They gave high-fidelity answers but needed coordination across many teams, didn’t always run at peak traffic because of the risk, and a single under-provisioned service could abort the whole exercise. Services deploy continuously, so Uber’s confidence that a failover would hold shrank with every deploy after the last drill.
Staging wasn’t the answer either. The post lists why: environments with realistic dependencies are expensive to build, they drift from production across thousands of services, synthetic traffic misses things like cache hit rates and odd request parameters, and replaying real requests, as Uber’s older Ballast framework does, can’t guarantee that writes cause no side effects. Uber’s conclusion was to test in production with live traffic.

How a drain becomes a load test
Uber routes service-to-service calls through a load balancer called Muttley. Engineers could already tell Muttley to drain traffic away from unhealthy instances, which pushes the same traffic onto the healthy ones. The first load tests were manual: several engineers timed a sequence of drains while watching dashboards, and aborted by hand if the service degraded. Muttloader automates that sequence, along with the planning, monitoring and safety the engineers used to supply.
You give it two things, a service and a load target, usually a CPU percentage. It then moves live requests onto fewer instances until the target is reached and holds it for a set time. The arithmetic is simple, and it gets steep fast. With six equal servers, taking one out raises the load on each of the others to 1.2 times, taking three out doubles it, and taking five out leaves the last server carrying 6 times its normal load. Uber’s talk slides show the same progression.

The controller that moves the traffic
The traffic shifter is a PID controller, the same feedback loop a thermostat uses. Each step it measures the gap between current and target CPU and outputs a percentage of traffic to move. After reaching the target it keeps nudging, so the load holds even as organic traffic rises and falls through the day.
Tuning a PID controller by hand for thousands of services isn’t workable, so Uber fixed the proportional and derivative settings at low values it found through simulation, because that prevents overshooting the target. It sets the integral term per service, from the service’s capacity and its ratio of requests per second to CPU, both read from live metrics before the test starts. Three knobs are left for services that need something different: the step duration, how long to soak at the final load, and a limit on the number of steps. The soak matters because some problems, such as file descriptor leaks, only appear after a while at load.
Uber doesn’t publish its settings, so I wrote my own toy version to see why low gains matter. The model is a service idling at 35% CPU with a 70% target, which needs half its traffic drained. Traffic wobbles by a few percent from step to step, and drains take a couple of steps to take effect. Here’s the loop, run for 40 steps with two sets of gains.
def run(kp, ki, kd, steps=40, target=70.0, base=35.0, lag=0.5):
random.seed(1)
d = applied = integ = 0.0
prev = None
for t in range(steps):
traffic = 1 + 0.04 * math.sin(t / 6) + random.gauss(0, 0.02)
applied += lag * (d - applied) # drains bite gradually
cpu = base * traffic / (1 - applied) # survivors absorb the load
e = target - cpu
integ += e
der = 0 if prev is None else e - prev
prev = e
d = max(0, min(0.8, kp * e + ki * integ + kd * der))
With gains of 0.008, 0.004 and 0.004, the loop climbed to the target in about ten steps and stayed within three points of it for 28 of the last 32 steps. It peaked at 73.4% and never touched 85%. With 0.03, 0.004 and 0.01, it never settled. CPU lurched between about 48% and 89% and spent five steps above 85%. On a real service, that overshoot is an outage.

That’s a model I built, with a lag and noise I picked, so it supports the direction of Uber’s choice and nothing about its real numbers. I tried a few sets of gains before settling on these two, and each run takes milliseconds on a 4-core Linux VM.
Safety is the product
Uber’s own heading for the middle of the post is “Safety Is The Product”, and most of the engineering sits there. There are three layers.
First, an eligibility validator runs just before a test and rejects services that can’t take it safely. Capacity has to be spread across zones and regions so there’s somewhere to send the displaced load. Traffic has to be high and steady enough to reach the target. The topology has to allow quick redirection if something goes wrong, and CPU has to scale predictably with request volume so the controller works. Uber accepts that many services fail these checks and stay untested, because the alternative is testing services it can’t keep safe.
Second, a health monitor watches hundreds of signals during a test. It subscribes to each service’s own high-priority alerts, but with tighter abort thresholds, since the goal is to stop before the on-call engineer is paged. The best overload signal Uber has found is request queue processing latency, which rises before response latencies spike. CPU and memory use static thresholds, and response latencies are compared with a baseline taken before the test. Any unexpected process exit aborts the test, even when it’s unrelated. So do network packet loss, rising latency between zones, trouble with the traffic-drain control plane and company-wide operation lockdowns.
Third, Muttloader gets tested like the services it tests. Every deploy is gated by an end-to-end load test on synthetic, low-priority production services kept only for that purpose. The checks cover whether the controller converges, whether tests halt when a service shows overload, and whether any extra load is left behind. If one fails, the deploy rolls back and a person reviews it. Uber also split its production environment by service criticality after a Muttloader bug caused an incident on a service whose weekly test ran right after the bad deploy. New code now bakes for a few days in an environment limited to low-priority services before it reaches the rest. And because a failure to remove load could leave a service in a permanent test, every traffic move carries an expiry time, and a separate system pages the team if any expires without being cleared.

What it has delivered
Uber says Muttloader has run tens of thousands of tests in production without human supervision over five years. Its figures for the results come in three groups.

- Failover safety. In late 2025 the tests found and fixed 39 critical services that couldn’t have handled predicted failover load over busy holiday periods. In a large outage in 2026, Uber says no service running Muttloader tests reported capacity overload.
- Efficiency. Test results feed Uber’s centralised stateless autoscaler, which lets it provision less spare capacity. Uber says that adds up to tens of millions of dollars in compute savings, and that various initiatives since 2025 have returned more than 125,000 CPU cores. The post doesn’t say how many of those came from Muttloader alone.
- Reuse. The same traffic shifting now canaries new library releases before they reach the main branch, which caught 75 regressions in late 2025. It also runs performance A/B tests of load-balancing algorithms and race-condition tests that only show up under real production traffic.
These are Uber’s figures from its own post. It doesn’t say how often a test aborts rather than finishes.
Where it sits among its peers
The idea isn’t new, and Uber’s post doesn’t mention Kraken. Facebook described Kraken at OSDI in 2016, a system that shifts live traffic to load-test clusters and whole data centres. Its architecture has the same three parts as Muttloader: a traffic shifter, a health monitor and a feedback controller between them. The paper reports that Kraken had been running for three years, had run thousands of tests, and had raised Facebook’s capacity to serve users by over 20% on the same hardware.
| System | Who | What it moves | Scope |
|---|---|---|---|
| Muttloader | Uber | Live requests, onto fewer instances of one service | Single services, tested automatically |
| Kraken | Facebook, 2016 | Live traffic by edge, cluster and server weights | Clusters and whole data centres, to find bottlenecks |
| Maelstrom | Facebook, 2018 | All traffic out of a failing data centre | Whole data centres, plus drain tests; used in 100+ outages |
| Chaos Kong | Netflix, 2015 | Traffic away from an entire AWS region | A whole region, run regularly |
| Ballast | Uber, 2022 | Replayed copies of real requests | Isolated workloads in a load-test framework |
Muttloader is closest to Kraken. Maelstrom and Chaos Kong work at the scale of a whole data centre or region, which is closer to Uber’s company-wide drills, the exercise Uber found too expensive to run often. Muttloader’s niche is the middle ground, with automated, narrow tests that make the big drill less risky rather than replacing it. That connects to Uber’s separate failover architecture paper, which describes cutting steady-state provisioning from 2x to 1.3x and removing over one million CPU cores from a baseline of about four million. That design depends on critical services being able to absorb a failover, which is the thing Muttloader tests.
What it can’t do
- Stateful systems. Muttloader works by moving requests, which assumes any instance can serve any request. Storage layers break that assumption, because requests must reach the instances holding the data. Uber tests the stateless services in front of them and calls direct validation of stateful systems an open challenge.
- Noisy alerts. A test aborts when an alert fires, even if the alert is noise or a problem that was already there. So a service’s test success rate depends on how good its alerts are. Owners can exclude alerts they know are noisy.
- Uneven hardware and busy schedules. Zones aren’t uniform, so Uber runs a regression analysis to find the slowest zone and test there. Some services never get enough live traffic to reach the target, and concurrent tests mustn’t compound failures along a dependency chain.
- Blast radius. A bigger test is more realistic and riskier, so Uber has shrunk its tests to the smallest scope that still gives confidence.
The SREcon talk boils it into three lessons: production is the best place to validate failovers, invest in detection and mitigation as well as prevention, and a small blast radius is how you earn trust. Uber also notes at the bottom of the post that its diagrams were generated with Claude Code and its cover image with Gemini.
Sources: Uber Engineering, “How Uber Validates Failover Resilience In Production” (3 December 2026); SREcon EMEA 2026 slides; Kraken, OSDI 2016; Maelstrom, OSDI 2018; Netflix on Chaos Kong; Uber’s Failover Architecture, arXiv.




