Cindy Sridharan retweeted
The full PIR of Outlook/Microsoft outage is out, with more details than the pre PIR.
(1) It clarifies that the outage was not caused by AI tooling.
(2) More details on the cascading failures and how the overload was spread by automatic traffic management. Apparently, the traffic manager didn't expect the level of capacity shortage (plus the resource hogging bug).
(3) Why recovery took so long. Applying the bug fix takes 5 steps including two server restart (!), which needs to be done for all the servers in the fleet. A fast, live patching system would really help!
(4) A detailed action plan (most has been done).
Kudos to @Microsoft and the team @clamanna for writing the detailed postmortem report. It's very informative and educational. We shall all learn from it and prepare for disasters better.
I download the report here: tianyin.github.io/misc/pir_m…
The pre PIR of the Outlook/Microsoft outage has much more clarify. Thank you @Microsoft !
The outage is indeed a very hard one; many unfortunate events occurred at the same window.
A latent bug exhausting CPU/memory under specific load condition was deployed worldwide, with no impact for 3 months. The bug was triggered by a surge in load, caused by an unrelated failover of Teams and another unrelated loss of 14% of server capacity. The system is then badly overloaded; 80% of servers were unresponsive. Then, the isolation mechanism between fault domains didn't work (it was vague in the PIR), causing cascading failures till a global outage.
Then, the (likely automatic) recovery unsurprisingly hit the classic thundering herd effect.
In this case, root-cause analysis is on the critical path and it took more than 15 hours to figure out the latent bug and revert it (it's really a very nasty bug!)
The long recovery time is quite understandable. Given such a global outage, it has to be paced carefully.
I downloaded the report at,
tianyin.github.io/misc/prepi…
- understand the fundamentals
- run experiments to prove the shortcomings in existing designs
- analyze alternative designs and tradeoffs quantitatively
- run continuous verification loops to categorically prove/disprove your implementation
- communicate about all of this clearly
Replying to @copyconstruct
what's the minimum you'd want before trusting agent-written crypto at all? test vectors plus a proof, or just don't
It’s deeply irresponsible to tell people “roll your own crypto with agents”with nary a word of caution on the “continuous verification machinery” needed to responsibly do this.
Here’s a 10y old AWS paper on formally verifying the HMAC algorithm and the TLS handshake protocol.
AWS just published an absolute banger of a paper at this year’s SOSP on their use of formal methods to validate S3’s new distributed metadata index.
I’m yet to read it, but it builds on their 2021 paper on verifying S3’s Shardstore with formal methods (which I absolutely loved!)
I still read every line of code I merge to main, btw.
I believe that the benefits of reading (skimming) code far outweigh whatever productivity“gains” I might get by not doing so.
Reading code also doesn’t *that* long, IME, but ymmv.
Replying to @0xAX
I think you have to really commit to not reading the code and be willing to spend the tokens. Whenever I try this, even a quick peek has me steering the agent toward designs I prefer and then I’m back to reviewing code line by line.
I haven’t tried @copyconstruct’s idea of putting favorite books/blogs/OSS repos in AGENTS.md yet so that might be what I’m missing.
Cindy Sridharan retweeted
New blog post, with an ice-cold take on some of the last week's systems news: brooker.co.za/blog/2026/11/1…
The throughput of real-world systems can vary (a lot!) based on subtle properties of the workload they're handling.
Load tests that don't match the workload are useless.
Cindy Sridharan retweeted
great post, preach @copyconstruct
Code is going to be written, read and debugged almost exclusively by agents going forward. Even if you, like me, find it hard to let go of old shibboleths like reading and understanding every line of code, the depth of understanding you glean after a perfunctory scan of the code is materially different than the understanding you had when you were manually writing code.
copyconstruct.medium.com/how…
I’ve been doing some performance testing lately, and without proper guardrails, agents can draw wildly wrong or misleading conclusions when reading CPU and memory profiles.
This framework I originally proposed for agentic *debugging* works well for agentic perf analysis as well.
CI as it currently exists (build all the code to run the full test suite) seems like a waste of compute, which can be better assigned to agents to analyze and test select parts of code but way more rigorously.
My pre-merge tests don’t do full builds; just targeted micro-tests.
Revisiting my tweets from 6m ago is funny, because I don’t run into any of these problems now at all.
What was missing in my setup 6 months ago was the verification process I now use.
70% of my daily token spend goes into verifying patches, and only ~20-30% into creating them.
This is 100% true.
Your reliability in general should be *higher* with agent written code, as measured by error rates, SLO violations, client regressions etc.
If you’re having more or equal incidents now than when you were manually writing code, that’s likely a “skill issue”.
Replying to @thorstenball
Agreed. We have shockingly few production errors these days. E.g. panic from a missing nil-check happens once every couple of months, and usually involves legacy code humans partially wrote. At this point, if I write it by hand you are going to get more bugs.
How to design good verification loops?
Well, that’s most of the job now, isn’t it?
Last week, I finally landed a refactor I started in Jan. It’s good I waited b/c the Jan version was buggy af.
This is the verification process I used for refactors (have different ones for perf)
Replying to @copyconstruct
How does one ensure verification loops are actually correct? Rigorous needs to take cost into consideration as well.
Getting agents to produce “high-quality, optimized outputs in a language or domain you’re personally unfamiliar with” is an emergent skill.
It doesn’t happen magically, but requires:
1. A change in mindset
2. Setting up the best domain references and rigorous verification loops
I still can't believe people are rewriting software into Rust for performance reasons without learning any Rust.
I'm optimizing a Go program right now and using Agents to do the work, but I have to steer them a lot or they get stuck in local minima, but I can only steer them because I have 10 years of doing performance work in Go.
If I was optimizing a Rust program I'd have to just keep saying: "make it faster" over and over again until it got stuck somewhere dumb.
Returning from international travel, followed by jet lag, physical exhaustion, remnants of a throat infection I picked up when traveling, dealing with a case of misplaced luggage across 3 carriers, catching up on work on a quasi-zombie state …
Yeah, I’m glad its the weekend ❤️
21
4,160
Didn’t Google just blog about how they solve this today? cloud.google.com/blog/topics…
Secrets are kept entirely out of the agent sandbox. A security proxy injects credentials when needed.
The “secure proxy” route to secure agent infra and secrets seems to be a popular pattern.
The reason I still review every line of code despite encoding all the software engineering best practices in my agentic workflow, is because sometimes it’s the *exceptions* to these generalized rules that work best.
The agent isn’t discerning enough to make these calls (as yet)
At Paris CDG, Terminal 2E, security check:
Gate K: no need to take your electronics out
Gate M: take all your electronics out and put it in a tray
Me: I wasn’t asked to do it in Gate K
Security: Gate K is Gate K, Gate M is Gate M
Never seen this in any other airport. 😕
20
68
8,919
Cindy Sridharan retweeted
I came back to Google to work on AI infra. Instead we got pulled in to solving the problem of exploding use of agents across the company.
Announcing Agent Compute Engine: bringing planet scale agentic infra to Google services and now to Google Cloud.
cloud.google.com/blog/topics…





































