internalsGet Pro

System Design · Workspace

Real-world systems

Well-known products, designed step by step: requirements, estimates, the design and its trade-offs. 7 real-world systems.

  1. Apache Kafka30 minDesign: a durable event log like KafkaEvent infrastructure becomes part of your data system. Its acknowledgement rules, recovery behavior and retention policy determine whether downstream services can trust and rebuild their state.Covers: KafkaRaftIdempotent producers+1 more: Consumer offsetsQueues, background jobs and event streams
  2. WhatsApp30 minDesign: a chat app like WhatsAppChat exposes failures that ordinary request-response APIs can hide. A connection can disappear after a message commits, and several devices must still agree about what happened.Covers: PostgreSQLWebSocketsIdempotency keys+1 more: GatewaysRealtime systems, chat and social feeds
  3. Uber30 minDesign: ride matching like UberMatching systems turn changing recommendations into exclusive commitments. The same problem appears in courier dispatch, job allocation and inventory reservations.Covers: PostgreSQLOffer leasesIdempotency keys+1 more: RedisLocation, maps and matching systems
  4. YouTube30 minDesign: a video platform like YouTubeVideo platforms combine large transfers, expensive background work and latency-sensitive playback. The difficult boundary is deciding when uploaded bytes become safe, complete, playable content.Covers: CDNHLSFFmpeg+2 more: Amazon S3, PostgreSQLMedia uploads, streaming and file sync
  5. Dropbox30 minDesign: a file sync service like DropboxSync connects a transactional server to devices that disappear, retry and change files independently. The same problems appear in offline apps, document tools and deployment agents.Covers: ChunkingManifestsSigned URLsMedia uploads, streaming and file sync
  6. Instagram30 minDesign: a photo-sharing app like InstagramPhoto features combine large files, small database records and expensive distribution. The same boundaries appear in product galleries, social feeds and customer-uploaded content.Covers: PostgreSQLCDNAmazon S3+1 more: Idempotency keysEnd-to-end design problems
  7. Google Docs30 minDesign: collaborative editing like Google DocsShared editors combine immediate local feedback with concurrent writes and unreliable connections. The same problems appear in shared forms, planning tools and collaborative product dashboards.Covers: CRDTsOperational transformsYjs+2 more: PostgreSQL, WebSocketsEnd-to-end design problems