Code Room
System designHardsd-g039
Subject Storage enginesLevel Senior–Staff~50 minCommon in Storage & CDN interviewsIndustries Technology, Software development

Question

Design the storage engine for a blob/object store (S3-like) holding 50PB across trillions of objects ranging from 1KB to 5GB, with 11-nines durability, high read throughput, and cost as a primary constraint (mostly cold data, a hot working set of ~2%). You control the data plane down to the disks. Describe how objects are stored and addressed, the durability mechanism, the metadata/index for object lookup, hot/cold tiering, and the central trade-off versus simple replication.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts — data model, bottlenecks, consistency, failure modes — and name the trade-offs you are making.

Narrate your design
Loading whiteboard…
Run or narrate your approach, then ask the coach.