Design Multi-Region Object Storage Like Google Cloud Storage
Last updated: November 29, 2026
Quick Overview
Design an object storage service offering buckets of immutable objects with strong read-after-write consistency, multi-region durability, and listing of billions of objects.
0
0
0 solved
Design an object storage service offering buckets of immutable objects with strong read-after-write consistency, multi-region durability, and listing of billions of objects.
Google Cloud customers rely on object storage for everything from backups to ML datasets, and Cloud interviews often ask candidates to build one. The interviewer checks separation of metadata and data, durability math, and how strong consistency is achieved for metadata.
What the Interviewer Expects
- Separates metadata service from blob data storage
- Uses erasure coding or replication with durability reasoning
- Provides strong consistency for put and list
- Handles large uploads via multipart or resumable APIs
- Discusses storage classes and cost
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you list a bucket with 10 billion objects efficiently?
- How do you handle a hot prefix?
- How do you garbage collect data from deleted objects safely?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: create buckets; PUT, GET, DELETE, LIST by prefix; resumable uploads up to terabytes; object versioning; storage classes (standard, nearline, archive); multi-region buckets.
**Non-func...
High-Level Design
- Frontends authenticate, authorize (IAM), and route requests.
- Metadata service: a sharded, strongly consistent database (Spanner-like) holding rows `(bucket, object_name, generation) -> {...