sdlc.dev

The library

Design patterns explained through the problems they solve, and how leading digital companies built their systems.

New12:17
Travel · intermediateAirbnb: search to booking

From search to a paid booking: two-stage search, server-driven UI, and payments that never charge twice.

New12:08
E-commerce · intermediateAmazon: the shopping cart that never says no

Why Amazon's cart always says yes: Dynamo's hash ring, sloppy quorums and vector clocks, then DynamoDB and cells.

New12:35
Infrastructure · intermediateCloudflare: one network at the edge

One anycast network where every server runs every service: Unimog, Pingora, tiered cache, dosd, Workers and Quicksilver.

New12:09
Developer tools · beginnerSDLC.dev: from idea to specification

How dd-sdlc-ai turns a product idea into specification documents.

New13:44
Social · intermediateDiscord chat

One Elixir process per server, relays for fan-out, Rust data services and trillions of messages on ScyllaDB.

New11:30
Storage · intermediateDropbox: keeping files in sync

From a saved file to every device: 4 MB blocks named by hash, a metadata journal, long-poll notifications and Magic Pocket.

New12:23
Developer tools · intermediateFigma: real-time collaboration

Many people, one design file: a process per document, last-writer-wins properties, a change journal and sharded Postgres.

New12:09
Social · intermediateInstagram: photos at planet scale

From one server in 2010 to billions of users: sharded PostgreSQL, 64-bit time-sortable IDs, Redis feeds, a CDN and Python at scale.

New12:14
Social · intermediateLinkedIn: where Kafka came from

Why LinkedIn built Kafka: one shared log feeding search, the social graph, the feed, analytics and caches.

New12:15
Social · intermediateMeta: serving the social graph

How a billion reads a second hit cache: TAO's objects and edges, memcache leases, and invalidations from the database log.

New13:44
Streaming · intermediateNetflix streaming

A control plane in AWS steers every play to Open Connect servers inside your ISP.

New12:05
Payments · intermediatePayPal: moving money safely

A two-sided wallet: balance-first funding, risk checks before money moves, a balanced ledger and Kafka at trillion-message scale.

New12:22
E-commerce · intermediateShopify: surviving Black Friday

How millions of shops survive Black Friday: a modular Rails monolith on isolated pods, live shop moves, a fair checkout queue and Semian circuit breakers.

New12:34
Messaging · intermediateSlack: messages in real time

Channel servers on a consistent hash ring, regional gateways, Vitess for storage, Kafka in front of the job queue, and availability zones you can drain.

New12:05
Streaming · intermediateSpotify: press play anywhere

Audio chunks from CDNs, a phone that becomes a remote, and a trillion listening events a day on Google Cloud Pub/Sub.

New13:07
Payments · intermediateStripe payments

From API call to settled payment: idempotency keys, rate limiters, 3-D Secure and signed webhooks.

New12:12
Social · intermediateTwitter (X): the home timeline

Fan-out on write into Redis timelines, read-time merges for huge accounts, Snowflake IDs, and the open-sourced For You ranking pipeline.

New8:39
Mobility · intermediateUber rides: from request to live trip

From ride request to live trip: H3 dispatch, upfront pricing, live tracking.

New13:03
Messaging · intermediateWhatsApp messaging

Store and forward for billions: Erlang chat servers, offline queues, and Signal encryption on every device.

New13:45
Streaming · intermediateYouTube video

From upload to play: resumable uploads, transcoding on custom chips, Vitess-sharded metadata and video served from caches inside your ISP.