System design
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
10 write-ups
| Title | Difficulty |
|---|---|
| Design Google Drive Store files of any size, keep them in sync across every device a user owns, share them with others, keep old versions, and avoid storing the same bytes twice. | Medium |
| Design a Blob Store like S3 Store 100 PB of objects with eleven nines of durability, split into a strongly consistent metadata layer and an erasure-coded data layer, with multipart uploads and pre-signed URLs. | Hard |
| Design a Block Storage Service like EBS Give virtual machines network disks on demand, with sub-millisecond replicated writes, placement that avoids fragmentation, incremental snapshots to object storage and safe failover. | Hard |
| Design a Distributed File System Build a GFS/HDFS-style file system holding hundreds of petabytes, with chunked, rack-aware replicated data, a namespace that scales past one metadata server, and the parts of POSIX worth keeping. | Hard |
| Design a Distributed Logging System Collect close to a petabyte of logs a day from every service, make them searchable within seconds, alert on log patterns and keep tamper-evident audit logs for years. | Hard |
| Design a Quota Management Service One storage quota shared by several products, like 15 GB across Drive, Photos and Gmail, checked on every upload and kept accurate as files come and go. | Medium |
| Design a Time Series Database Build a Prometheus-compatible time series database that ingests millions of samples a second, compresses them to about a byte and a half each, and keeps years of history with retention and downsampling. | Hard |
| Design GitHub Host hundreds of millions of git repositories with durable replicated storage, survive CI clone storms, keep pull requests correct as branches move, and search code across all of it. | Hard |
| Design Gmail Send and receive email with the rest of the internet over SMTP, store billions of mailboxes with attachments, organize them with labels, search them in under a second, and run a disposable inbox whose mail expires. | Medium |
| Design Steam Let developers publish 100 GB games and patches, sell them through a store that survives seasonal sales, and deliver tens of terabits per second of downloads with patches that only send what changed. | Medium |