FOUNDING PRICING · 40% OFFfor the first 1,000 members · from ₹95/month

Real systems, explained from first principles.

Outages and architectures from companies you use every day, each one traced back to the operating systems, networking and database ideas underneath it.

31 case studies16 outages, 15 architecturesRSS

31 case studies

A tall brick Art Deco tower, the Pacific Medical Center building in Seattle, rising above trees beside a road bridge under a clear blue sky in August 2007.
Latest

Architecture· Amazon· 11 min read

Amazon Dynamo Paper Explained: The Always-Writable Store

The 2007 Amazon Dynamo paper for students: consistent hashing, N, R and W quorums, vector clocks, hinted handoff, Merkle trees and gossip, step by step.

Read the case study
A later Ariane 5 rocket lifting off at night from its launch pad at Kourou in 2013, lit by its own exhaust, with clouds of smoke spreading across the ground.

Outage· Arianespace / ESA· 11 min read

Ariane 5 Flight 501: The Integer Overflow That Lost a Rocket

How a 64-bit float squeezed into a 16-bit integer shut down both guidance units on the first Ariane 5 in 1996, and what the inquiry said went wrong.

Read more
An aerial view from an aircraft window of large, flat-roofed data centre buildings and electrical substations spread among roads and housing near Ashburn in Northern Virginia.

Outage· Amazon Web Services· 10 min read

AWS S3 2017 Outage Explained: One Wrong Input to a Command

How one mistyped input to a maintenance command took Amazon S3 offline in US-EAST-1 for four hours in February 2017, and what AWS changed afterwards.

Read more
A large red LED time display labelled USNO Master Clock at the entrance to the U.S. Naval Observatory in Washington, D.C.

Outage· Cloudflare· 11 min read

Cloudflare's 2017 Leap Second Bug: When Time Went Backwards

How the leap second on 1 January 2017 made a Go program at Cloudflare measure negative time and fail DNS lookups, and why wall clocks differ from monotonic.

Read more
A row of black server racks filled with rack-mounted servers, their status lights glowing, receding down a data centre aisle.

Outage· Cloudflare· 11 min read

Cloudflare's 2019 Outage: One Regex and Runaway Backtracking

How a single WAF regular expression exhausted CPU across Cloudflare's network on 2 July 2019, with regex backtracking explained from first principles.

Read more
A large overhead display in a concourse at Washington Dulles Airport showing the Windows blue error screen above signs for gates B62 to B81, on 19 July 2024.

Outage· CrowdStrike· 11 min read

CrowdStrike 2024 Outage Explained: One Bad Read in the Kernel

How a CrowdStrike Falcon content update crashed 8.5 million Windows machines in July 2024, why a kernel fault means a boot loop, and what was changed.

Read more
Rows of server racks seen from above in the CERN data centre, with signs marking the mail servers, database servers and World Wide Web servers.

Outage· Fastly· 11 min read

Fastly 2021 Outage Explained: One Valid Config, 85% Errors

How one customer's valid configuration change triggered a hidden bug and took 85% of Fastly's CDN offline on 8 June 2021, and what the outage teaches us.

Read more
A close view of a technician's hand plugging a green fibre optic connector into a dense patch panel full of green connectors and yellow fibre cables.

Outage· GitHub· 11 min read

GitHub October 2018 Outage Explained: 43 Seconds, 24 Hours

How a 43-second network partition in October 2018 made GitHub promote MySQL primaries on the other coast, split its data, and spend 24 hours repairing it.

Read more
Rows of tower servers on metal shelving, lit by blue LEDs, in the server room of the hosting company BalticServers; an illustrative photograph, not GitLab's infrastructure.

Outage· GitLab· 11 min read

GitLab's 2017 Database Outage: When Five Backups Failed

How GitLab.com lost about six hours of database changes on 31 January 2017, why none of its backup methods worked, and the database theory behind it.

Read more
A long, low data centre building with rows of cooling units along its side, behind a fence, with dry hills rising behind it at The Dalles, Oregon.

Outage· Google· 11 min read

Google's December 2020 Outage: A Quota Cut Broke Sign-In

How an automated quota system starved Google's identity database on 14 December 2020, why Paxos stopped accepting writes, and why sign-in failed for 47 minutes.

Read more
Close view of several tall racks filled with rack-mounted servers at the Wikimedia Foundation, their front panels lit by small blue and white lights.

Outage· OpenSSL· 11 min read

Heartbleed Explained: The OpenSSL Bug That Leaked Memory

How a missing bounds check in the OpenSSL heartbeat code let anyone read server memory in 2014, how it was fixed, and why you never trust a length field.

Read more
A row of tall mesh-fronted equipment racks filled with yellow fibre optic patch cables inside a data centre cage, four of them carrying DE-CIX signs.

Architecture· The Internet· 11 min read

How BGP Works: AS Numbers, AS Paths and Route Selection

How BGP joins the internet's networks: what an AS number is, how the AS path stops loops, how a router picks one route, and how leaks and hijacks happen.

Read more
A long aisle between two rows of white perforated server cabinets in a data centre.

Architecture· Discord· 11 min read

How Discord Stores Trillions of Messages: Mongo to Scylla

How Discord moved its messages from MongoDB to Cassandra to ScyllaDB, and what partition keys, tombstones and garbage collection pauses taught the team.

Read more
Server racks filled with rows of hot-swap disk drive bays, lit by green and blue status lights, in a computer server room.

Architecture· Dropbox· 10 min read

How Dropbox Built Magic Pocket and Moved Off Amazon S3

Why Dropbox moved 90% of user files from Amazon S3 to Magic Pocket, and how blocks, cells, erasure coding and constant verification keep the data safe.

Read more
A designer's hand holding a mechanical pencil over sheets of hand-drawn interface wireframes on a wooden table, with a mug and a notebook out of focus behind.

Architecture· Figma· 11 min read

How Figma Multiplayer Editing Works: Last Writer Wins

How Figma lets many people edit one design file: a central server, last-writer-wins on each property, fractional ordering, and why it skipped OT and CRDTs.

Read more
A wide view from the stands of the floodlit Narendra Modi Stadium in Ahmedabad at dusk during the 2023 Cricket World Cup final, with full stands and players on the field.

Architecture· Disney+ Hotstar· 11 min read

How Hotstar Streams Live Cricket to 59 Million Viewers

How Hotstar scaled live cricket from 10 million to 59 million concurrent viewers: scaling ahead of the match, huge load tests, and turning features off.

Read more
A hand holding a smartphone sideways against a sunset over water, with the same sunset shown on the phone's screen.

Architecture· Instagram· 10 min read

How Instagram Generates IDs: Sharding on PostgreSQL

How Instagram split its data into thousands of logical shards on a few PostgreSQL servers and built 64-bit, time-sortable IDs inside the database itself.

Read more
A close view inside an opened 2.5 inch hard disk drive, showing the mirror-like platter, the actuator arm and the read and write head resting near the platter's edge.

Architecture· LinkedIn· 11 min read

How LinkedIn Built Kafka: The Log That Made Messaging Fast

Why LinkedIn built Kafka and what made it fast: an append-only log, sequential disk writes, the page cache, batching, zero-copy and consumer-held offsets.

Read more
Bundles of yellow fibre optic cables plugged into an optical patch panel at the AMS-IX internet exchange point in Amsterdam.

Architecture· Netflix· 11 min read

How Netflix Open Connect Delivers Video From Inside Your ISP

How a Netflix play request becomes a stream: the AWS control plane, Open Connect appliances inside ISP networks, BGP-based steering and off-peak content fill.

Read more
Six payment cards fanned out on a dark table, photographed with a shallow depth of field so that the card numbers are out of focus.

Architecture· Stripe· 11 min read

How Stripe Makes Payments Idempotent with Idempotency Keys

How Stripe's idempotency keys make it safe to retry a payment after a timeout: the stored response, the 24-hour window, atomic phases and recovery points.

Read more
The stone art deco facade of 1355 Market Street in San Francisco seen from across the street, with pedestrians, a delivery truck and a vertical sign on the right edge of the building, which housed Twitter's headquarters when photographed in March 2015.

Architecture· Twitter· 11 min read

How Twitter Built the Home Timeline: Fan-out on Write

How Twitter served home timelines around 2013: fan-out on write into Redis, why accounts with millions of followers hurt, and the hybrid of push and pull.

Read more
A small roadside sweet shop in North 24 Parganas, West Bengal, with printed UPI QR code placards hanging along its awning and the shopkeeper sitting behind trays of sweets and bread.

Architecture· NPCI· 11 min read

How UPI Processes a Payment: Debit, Credit and Timeouts

How a UPI payment moves from your app through the NPCI switch to two banks, how a VPA is resolved, and what happens when the credit leg times out.

Read more
A hand holding a smartphone, with a takeaway coffee cup in the foreground.

Architecture· WhatsApp· 11 min read

How WhatsApp Scaled to 450 Million Users with Erlang

How WhatsApp used Erlang, FreeBSD and a store-and-forward design to hold over two million connections per server with a very small engineering team.

Read more
The National Stock Exchange of India building at Bandra Kurla Complex in Mumbai, a grey stone and green glass block with the NSE logo, seen from across an empty road.

Architecture· Zerodha· 11 min read

How Zerodha Kite Handles the 9:15 Market Open Rush

How Zerodha serves the 9:15 am market open with a team of about 30 engineers, using a Redis hot cache, Go services, PostgreSQL and leased lines.

Read more
The main trading hall of the New York Stock Exchange seen from above in 2022, with circular trading posts ringed by screens on a wooden floor; this is the exchange, not Knight Capital's office.

Outage· Knight Capital· 11 min read

Knight Capital 2012: The Deployment Failure, Step by Step

How one missed server, a reused flag and old dead code made Knight Capital send millions of unintended orders in 45 minutes in 2012, and what it teaches.

Read more
The Sojourner rover sitting on a solar panel petal of the Mars Pathfinder lander, with deflated airbags around it and a rocky Martian plain stretching to low hills on the horizon.

Outage· NASA JPL· 11 min read

Mars Pathfinder Priority Inversion: The Bug Fixed From Earth

Why the Mars Pathfinder lander kept resetting in July 1997: a priority inversion on a VxWorks mutex, how JPL reproduced it, and the one-flag fix sent to Mars.

Read more
A row of open black equipment racks filled with network patch panels and bundled blue cabling, standing on a raised perforated floor in a data centre room.

Outage· Reddit· 11 min read

Reddit's Pi Day Outage Explained: One Missing Node Label

How a Kubernetes 1.24 upgrade removed a node label, silently unselected Reddit's Calico route reflectors, and led to a 314-minute outage and a backup restore.

Read more
A grey and glass office building carrying the Roblox name in San Mateo, California, seen across railway tracks from the Caltrain station on a clear day.

Outage· Roblox· 11 min read

Roblox 2021 Outage Explained: 73 Hours Down Behind Consul

Why Roblox was down for 73 hours in October 2021: a Consul streaming feature under heavy load, a BoltDB freelist problem, and a slow, careful cold restart.

Read more
An empty open-plan floor at Slack's headquarters at 500 Howard Street in San Francisco, with rows of desks under white house-shaped frames and tall windows facing other office towers.

Outage· Slack· 11 min read

Slack January 2021 Outage Explained: When Autoscaling Hurt

How a saturated AWS Transit Gateway took Slack down on 4 January 2021, why autoscaling and provisioning made it worse, and why the dashboards went dark.

Read more
Three open racks of Wikimedia servers, each filled from top to bottom with rack-mounted machines; an illustrative photo, not Stack Overflow's own racks.

Architecture· Stack Overflow· 11 min read

Stack Overflow's Monolith Architecture: Few Servers, Big Load

How Stack Overflow served over 200 million requests a day in 2016 from one application, nine web servers and four SQL Servers, and what changed by 2025.

Read more
A long, low, windowless data centre building behind a wire fence and juniper trees under a grey sky: the Facebook server farm near Prineville, Oregon, photographed in 2014.

Outage· Meta· 11 min read

The 2021 Facebook Outage: How BGP and DNS Took It Offline

How one backbone maintenance command on 4 October 2021 withdrew Facebook's BGP routes, hid its DNS servers from the internet, and why recovery took hours.

Read more

Reading about systems is half of it. Solving is the other half.

Every concept in these case studies has a free lesson, and 20 problems a month are judged on real test cases at no cost.