Distributed systems

Distributed systems design interview questions

Distributed systems rounds test the building blocks underneath every large system: replication, partitioning, consensus, ordering and coordination. Design a distributed key-value store, a unique ID generator, a message queue, a lock service and a geo-replicated database.

Interviewers look for precise reasoning about consistency models, failure detection, leader election, and what each design gives up under network partitions.

Distributed systems rounds
Plus
Distributed systems·Coordination

Design a unique ID generator

Issue unique, roughly sortable IDs at high rate across data centers.

Beginner 30 min
Plus
Distributed systems·Coordination

Design a distributed lock service

Let services coordinate exclusive access without deadlocks or split brain.

Advanced 60 min
Plus
Distributed systems·Replication

Design a geo-replicated database

Serve reads and writes from several regions with clear consistency trade-offs.

Advanced 60 min