My Reading of the MS Outage Nov 2026
Table of Contents
I've forgotten where I found this, but I saw an outage readout from the big Exchange Online / M365 outage earlier this month.
The idea that a hyperscaler these days could have an outage of nearly 24 hours is wild. It's fun to meme about bad code quality at MS (have you used the Azure portal lately?), but outages are a different beast from shipping mediocre products.
Bad code quality and mediocre products come from internal politics and promo-driven development. For example, Facebook was what I would call "myopically data-driven," in that every single feature change had to pass the bar of having a line go up, to the point where people would make up fake numbers to justify their own promo packets and performance reviews1. While dumb, the disconnect is obvious, since the product itself is largely a byproduct of engineers jostling for lines in their promo packet.
From my time as a PE, outages were hard to shove into a neat promo metric, and SREs/PEs generally had a different culture from SWEs under strict incentives to numbersmaxx. It also takes a weird situation not to have some set of engineers with enough context in their heads to bring a service back up fast when real customer SLAs are burning. Customers are mad that the product doesn't work, the hyperscaler is mad that they're losing money, and usually everyone gets out of the way so the right people can get the system healthy again.
Which is why a ~24 hour outage at a modern hyperscaler is so bizarre to me. Here's my read of their postmortem, mostly around how badly their traffic shaping and recovery tooling failed them.
1. 4 factors
The MS guys identify four major factors:
- a lock in Windows Server that only appeared at high core counts
- 14% of their network gateway server capacity was down for maintenance
- one of the redundant sets for Teams was already failed over
- this occurred during peak load
I'll go through each one.
I think many people are going to home in on the lock and why they didn't catch it in testing. They specifically mention that the SKUs in the testing environment didn't match the fleet-wide makeup well, so they didn't see the lock until it happened at scale. My take here is that stuff like this is honestly really really hard to catch, even with a good test lab. Large, heterogeneous fleets have all sorts of performance profiles. Even if they could reproduce the lock in testing, it's hard to say whether it would've been written off as statistical noise.
Locks that scale poorly with core count are an old problem, though the rise of chiplets and the mega CPUs that AMD has been making in recent years has exposed a whole new wave of them2. The "many cores" regime is exposing a lot of implicit design decisions we made on smaller boxes, and I think everyone had, has, or will ship a bug like this at some point. IMO, the lock itself is forgivable, and they can go build a better lab. At FB people would say "never let a good SEV (outage) go to waste," so whoever owns the Windows Server testing lab just got budget to upgrade it.
2-4 I'll lump together as routine capacity pressure. They had 14% of gateway servers drained for scheduled maintenance, a Teams-specific gateway set had failed over onto the shared pool for ~15 hours, and daily peak load hit around 16:20 UTC (late morning EST when both US coasts and Europe overlap, though coming from consumer apps I would've expected India time). Individually they were surviving all of those fine, and the PIR itself notes none of them would've caused an outage on their own. Lock contention is nonlinear though, so stacking all three ate enough headroom to push the gateways past the contention cliff, which is why a bug deployed back in July suddenly blew up in November. None of this excuses the outage though. Every hyperscaler runs with routine maintenance, failovers, and daily peak traffic all the time, so if those three together tip you into a 24-hour outage, your fault isolation is broken.
2. Detection, Escalation
They say:
In North America, the Windows performance regression, increased load from redirected Teams traffic, and reduced server capacity in some capacity units combined to overwhelm the remaining servers during peak traffic, causing those capacity units to become unhealthy. As traffic was redirected away from the affected capacity units, the remaining capacity units absorbed additional load.
The result was a cascading failure across North America: as servers became unresponsive, the same traffic load was distributed across fewer healthy servers, placing additional pressure on them and causing the issue to spread. In less than two hours, this previously unknown defect was triggered across a significant portion of the North American server fleet.
I saw some people on Twitter bandy about the term "metastable failure" and "thundering herd" which really reeks of DDIA speak, but this was effectively just "stuff blew up, traffic shifted to other regions, blew up that region, shifted over, rinse repeat."
Traffic destroying individual servers is not an uncommon issue3. Detection actually worked fine here. Anomaly monitors fired at 16:03 UTC and on-call got paged at 16:20 UTC, but their automation kicked in at 16:17 UTC with no halt mechanism and spent the next two hours knocking over North America region by region. Their failure scope is also wild, where a Teams gateway failover meant routing onto the shared Exchange gateway pool, and regions weren't actually enforced fault boundaries.
3. Remediation
This was the most egregious part of their report. They say:
Recovery took longer than usual because as gateway servers returned to service, they were immediately overwhelmed by queuing client traffic and became unresponsive again. Our automated recovery processes were not equipped to restore service reliably under this combination of widespread gateway server failures and sustained reconnection demand. âĶ
Once we understood the root cause, our usual safeguards for recent changes (stopping a config rollout, rolling back a deployment, or switching off a newly enabled feature) could not quickly revert it. As noted earlier, given the defect was already deployed in the worldwide fleet, we had to run recovery for each capacity unit across the globe.
Recovery took forever partly because they had to touch every capacity unit globally, sure, but reading between the lines here, their rejoin logic was binary:
- drained -> probe healthy -> normal traffic -> dead -> repeat
When you really want something like:
- drained â patched â warm â 1% â 5% â 20% â normal
â back out on contention/goodput signal
Not having slow-start rejoin on an edge gateway tier is rough. Some applications like HHVM or JVM HotSpot have a slow start from JIT compilation and can't take full traffic right away4. This "warming the tubes" issue is usually panned because it's annoying, but one underrated "feature" of it is that it forces you to design gradual traffic shaping between your application server and your network gateway. HHVM had to have a way of pushing back against the load balancer because it couldn't handle 100% traffic right away while the JIT was still doing its thing.
If you read the rest of the report, their load shedding looks way too coarse as well. They didn't turn on "protective traffic management" until 23:00 UTC or "strategic traffic blocking" until 04:00 UTC, hours into the outage, and their own remediation list admits they now need to build granular admission controls by protocol, workload, and region. Their network gateway was tuned for availability over goodput. Their routing system clearly tried to place every request somewhere, even after the fleet crossed the threshold where accepting more work reduced the amount of completed work. This is straight out of the SRE book, where you don't want to just keep routing at the cost of goodput. Honestly they stepped on nearly every rake in that chapter, with health checks triggering cascades, coarse load shedding, and cold servers getting hammered on rejoin.
4. Speculation
This section is nearly all speculation.
What this report doesn't say is why the network gateways themselves suffer so badly from lock contention. What is locking on these boxes? They use the term "connection negotiation" but that's fairly mushy.
I found a video on the M365 Substrate that touches on their front-end routing infra, which looks similar in shape to the FB routing infra:
- client
- anycast/nearest edge
- L4 VIP balancing
- first hop L7
- second hop L7
In M365 land, Azure Front Door hands traffic off to Exchange's CAFE (Client Access Front End) proxy tier, and unlike FB's Linux stack, these gateways run on Windows Server (so HTTP.sys and SChannel in the path, which is why a Windows Server update was on their gateways at all). Given that basically everything was HTTP, my guess is a shared connection pool trying hard to reuse connections because setting up new ones is expensive. Connection pools at this scale become capacity caches. FB wrote about this recently with ZGateway in front of ZippyDB, where putting a proxy tier in collapsed backend connections by 19x and gave them one place to do admission control before connection storms could blow up storage hosts. When you rely on that kind of reuse, losing the gateways unwinds that ratio all at once, and so then we can read the outage like this:
- Hosts die or get pulled by health checks
- Existing TCP/TLS connections die
- Clients get churned onto surviving capacity units
- Traffic management redirects users between units or regions
- Each redirection destroys more connection locality, because the replacement gateway now needs to rebuild backend pools, which makes the connection establishment path that much hotter. Combined with the lock bug, the useful throughput drops dramatically.
- Each restarted host receives a wall of new connection negotiations rather than the steady state of reused connections.
That's why the 19:20 UTC timeline note about overall traffic not increasing didn't help them much, since logical user requests stayed flat while the expensive connection setup work per request exploded.
So the obvious question should've been why not just drop it at L4? In theory banning it at the switch and only allowing in some % of traffic while sending a turnaway should've fixed it, by capping new connections per backend, or limiting flows for VIPs, or isolating regions. I wonder if one reason they didn't is because you can't send a retry-after at L4, and Outlook/Teams/etc are aggressively stateful services.
There are two plausible versions of the lock bug from here. One is on incoming client negotiation, where threads contend on TCP/TLS/HTTP/auth while accepting client connections, making the reconnect storm poisonous from the outset.
Or it's on outgoing backend pool creation, where the gateway accepts the client connection fine, but threads contend while establishing or retrieving an internal connection. That would also explain why regular L4 balancing didn't help, since the expensive operation happens on L7 and you need an inflight limit inside the gateway.
One other timeline entry (all times UTC) is worth speculating on:
Nov 13, 5:00 AM We encountered persistent challenges with machines being stuck in bad states, preventing our changes from syncing as expected. We scaled up virtual machines to increase capacity and reduce service load.
The PIR doesn't say why changes wouldn't sync (maybe the boxes were just completely wedged on CPU and locks), so this is a big guess on my part, but if their config distribution relied on the same overloaded network gateways instead of a separate control overlay, that's a rough place to get stuck during recovery.
Their remediation steps include partitioning the gateway capacity by workload and introducing gradual rejoin, so clearly this got brought up in the postmortem review.
The worst part of their timeline is still that 19:20 UTC entry, where they already knew aggregate traffic hadn't gone up and disappearing servers were concentrating load onto survivors. This should've immediately suggested stopping automated redistribution, capping admission, isolating regions, preserving goodput, etc. But per their timeline, automatic redirection wasn't disabled until 01:53 UTC, and protocol adjustments don't appear until 04:00 UTC. Six to nine hours is a lot of time. I get that there must've been a lot of fears, especially if the emergency controls were too high level, or Exchange shared VIPs and gateways with too many other workloads, or people worried that a crude L4 rejection would turn a partial outage into a total one, but they already had a near-total outage, so preserving even 10% of goodput would've been a save.
5. What Do?
The SREs at MS certainly have enough work for the next half. This is another fun one for the hyperscaler outage canon. Roblox ran into nearly the same recovery wall during their 2021 outage, where they had to use DNS steering as a way of traffic admission back into a healthy state.
I think what was fun about this outage was that everything took locally correct actions while falling flat globally:
- the health system correctly removed unresponsive network gateways
- the router correctly preserved availability
- regional failover correctly looked for additional healthy capacity
- clients and services presumably retried operations
- restart automation correctly attempted to return capacity
The issue was that no individual component appeared to be looking for goodput rather than throughput. So ð
Footnotes:
Stuff like increment revenue ("irev") per change on ads, or "engineer years saved" as part of an automation change in developer tooling.
We ran into a problem before where Erlang schedulers (basically a worker that polls and executes tasks in the BEAM VM) scaled with one scheduler per core. However, at large core counts, schedulers would spend more time stealing tasks from each other than actually doing productive work. Solutions to these types of problems include stuff like what Tokio does, where you steal half the work queue at a time instead of a single task. This scales logarithmically so you need dramatically more cores before this becomes a problem again.
A while back, when I caused a WhatsApp outage (lol), someone had asked me why there was not a status page or server they could ping for WhatsApp. But if you step back and think about it, there is absolutely no server that could withstand the sheer amount of pings that 3+ billion phones would send simultaneously. At large enough scale, your service being down and an uncached status endpoint that showed it are the same.
Applications like HHVM or JVM HotSpot have a multi-tier compilation phase, which results in a slow start because as the code is being executed the first few times, it is repeatedly optimized by the JIT compiler. HHVM gets around this by having "seeders" for a "jump-start" phase, where effectively you can use optimized bytecode from another warm server to help a newly booted server.
