Mai-Lan Tomsen Bukovec × Gergely Orosz · "How AWS S3 is built"
About forty minutes in, Gergely Orosz mentions a side project of his: the server's disk filled up and it started throwing errors. For him, he says, that was a big deal, because it was the first time in three years.
Mai-Lan Tomsen Bukovec's reply changes the scale of the conversation:
"At any given moment in this conversation that you and I have had just today, we're having servers fail because servers fail."— Mai-Lan Tomsen Bukovec · [00:39:01]
She runs tens of millions of hard drives across millions of servers, spread over 120 availability zones in 38 regions. Stack the drives one on another, she says, and they reach the International Space Station and most of the way back. At that size a dead machine is not an incident; it is weather. The episode is really about how you build something that feels like "it just works" in a place where the weather is always bad.
Mai-Lan joined AWS in 2010 and started on S3 in 2013, so by the time of recording she had been running it for thirteen years. She was once a Peace Corps forestry volunteer, and says that is why she reaches for the natural world for metaphors; in this episode she calls S3 a "living breathing" organism. Asked for a book recommendation at the end, she skips computer science entirely and points listeners to a book on supporting native bees.
Host Gergely Orosz was an engineering manager at Uber before writing The Pragmatic Engineer newsletter full-time; the podcast grew out of it. We covered an episode where he was the guest. His signature move: when someone finishes describing an elegant design, he asks where the catch is. For this one he also crowdsourced questions from his audience, and S3's durability was one of them.
The episode was recorded shortly after AWS re:Invent in December 2025. Mai-Lan keeps saying "last week": S3 Vectors had just gone generally available, and she mentions the maximum object size had just gone from 5 TB to 50 TB. Her opening numbers: over 500 trillion objects, hundreds of exabytes, hundreds of millions of transactions per second. On the same show, Martin Kleppmann talked about rebuilding the second edition of Designing Data-Intensive Applications on object storage (our write-up). This episode is the view from inside that foundation.
When S3 launched in 2006 it chose eventual consistency. Mai-Lan explains that a write was never acknowledged until the data was actually stored; what could lag was a listing. The choice was about availability. The customers were mostly e-commerce sites storing images, PDFs and backups:
"When a human was interacting with an e-commerce site and an image happened to not show up exactly at the moment where you put the data into storage, it was okay because a human would just refresh."— Mai-Lan Tomsen Bukovec · [00:05:32]
Then she walks through a timeline. From 2013 to 2015, companies like Netflix and Pinterest put Hadoop on top of S3 and built the first "data lakes"; from 2015 to 2020 enterprises followed, S3 filled up with Parquet files, and then came the Iceberg table format. She never draws the line between the two, but the timeline draws it for her: the reader changed from a human who refreshes to a program that doesn't.
She is specific about where the inconsistency lived. Every S3 request goes through the index subsystem, which holds object metadata: name, tags, creation time. The index's storage layer is replicated across availability zones with a quorum algorithm, so reads and writes always overlap. But in front of it sits a large cache, and a request routed at random could hit a cache node still holding an old value. The December 2020 fix had two parts. One is a new data structure she calls a "replicated journal": nodes chained together, each write flowing through them in sequence, each node learning the write's sequence number, so a later read through the cache can retrieve that number and tell whether it is stale. The other is a new cache coherency protocol that tolerates some of its servers failing.
Gergely asks about the catch, as expected. Mai-Lan concedes there is a real hardware cost, that the team debated whether to pass it to customers, and that they decided not to. Nor would it be limited to certain bucket types: every request, the same guarantee.
At this point she turns, unprompted, to something Gergely hadn't asked about:
"It's one thing to say that you're strongly consistent on every request. It's another thing to know it."— Mai-Lan Tomsen Bukovec · [00:28:51]
Her answer is automated reasoning, meaning formal methods. She says the team built a proof for the consistency model and wired it into check-ins on the index subsystem: anyone changing a consistency-relevant code path gets re-verified that consistency hasn't regressed. The same approach covers cross-region replication and API correctness. Her reason fits in one line:
"At a certain scale math has to save you, right? Because at a certain scale you can't do all the combinatorics of every single edge case."— Mai-Lan Tomsen Bukovec · [00:33:16]
Gergely pushes: what does a proof inside S3 actually look like, are servers and networks the primitives? She doesn't go further than "a proof across all the different combinatorics," and promises papers for the show notes. So this stretch explains the why thoroughly and the what barely at all. The "proof on every check-in" claim gets checked against AWS's own publications in the fact-check below.
Back to "servers fail." Right after saying it, Mai-Lan explains that one failure is not the danger:
"If you're thinking about availability at any scale, it's the correlated failure that'll get you."— Mai-Lan Tomsen Bukovec · [00:40:24]
A quorum survives one node failing, but if the replicas share a rack or a zone they go down together and the whole failure allowance is spent at once. So S3 spreads replicas across fault domains. She stresses that this serves two goals at the same time: it keeps data from being lost, and it keeps data readable when an entire zone is down. She also describes crash consistency, the requirement that the system always returns to a consistent state after any fail-stop failure. The cache's failure allowance is handled by sizing capacity from metrics in advance, so customers never feel it.
Durability lives in the storage layer. Behind a single regional endpoint sit more than 200 microservices, and a good share of them do two things: audit and repair. The auditors inspect every byte across the fleet and hand anything that needs fixing to the repair systems.
Underneath it all is a tenet she and her engineers repeat constantly, "scale is to your advantage":
"It has to be constructed so that the bigger you get, the better your performance gets. The bigger S3 gets, the more decorrelated the workloads are that run in S3."— Mai-Lan Tomsen Bukovec · [00:59:48]
The new S3 Vectors was built to the same rule. Vectors are not held in memory but on the S3 fleet. Offline, the system precomputes clusters of similar vectors, "vector neighborhoods," and each new vector is added to one or more of them. A query first finds the nearest neighborhoods and loads only those into fast memory for the nearest-neighbor search. Her numbers: warm queries at 100 milliseconds or less, up to two billion vectors per index. It's "not database fast," she admits, but it's fast.
On culture, she cites two Amazon engineering tenets, "respect what came before" and "be technically fearless," and says they are meant to pull against each other. S3 engineers live inside that tension daily: on one side, designs that have worked for many years; on the other, tables, vectors and conditional writes.
Mai-Lan: strong consistency applies to every request at no extra charge. Gergely adds that latency didn't meaningfully change; she doesn't push back. [00:27:36]
Supported
AWS's December 2020 announcement states it applies to any storage request "without changes to performance or availability" and "at no additional cost." All of that is AWS's own word; we found no independent latency comparison. And Werner Vogels writes that the old design served stale reads only "in extremely rare circumstances," so what changed most was the promise, not everyday behavior.
The consistency model was proved, and every check-in is re-proved with formal methods to show it hasn't regressed. [00:32:00]
Supported, but overstated
Vogels lists integration tests, deductive proofs of the cache coherence algorithm, model checking of the design, and model checking extended to runnable code. AWS's write-up on the ShardStore storage node says what runs continuously on each change is property-based testing and model checking, which gives "nearly all of the benefits" of formal proof. What runs on every check-in is automated checking, not a full proof of production code.
Gergely asks whether S3 can say what its actual durability was over the past week, month or year; Mai-Lan answers "Yes." [00:38:36]
Insufficient evidence
AWS's FAQ says S3 is designed for eleven nines, as a function of drive failure rates and repair speed; the SLA covers only monthly uptime and never mentions durability. No measured figure has been published. Gergely's instinct is right: even at the design target, 500 trillion objects implies roughly 5,000 expected losses a year.