We use cookies for site analytics. Accept to help us understand how the site is used. See our Privacy Policy for details.
Raft leader election, log replication, snapshots - and the CAP theorem in operational practice. The substrate every other distributed system stands on.
Design a strongly-consistent distributed coordination service - the kind that backs etcd, ZooKeeper, Consul. Multiple replicas accept writes. They agree on a totally-ordered log of operations. The system survives minority failures without data loss and without serving stale committed reads.
This is "implement Raft" framed as a system design question. Strong candidates explain leader election, log replication, the safety invariants, and the snapshot mechanism. Excellent candidates draw the operational reality - latency budgets, quorum sizing, cross-AZ vs cross-region trade-offs, and when consensus is the wrong tool.
Asking these before diving into a solution is the difference between a "hire" and a "no signal" rating. Pick the questions whose answers would change your design.
Capacity estimation · architecture with all 9 components explained · 6 deep dives · trade-off analysis · 8 common follow-up questions
Get full access to gitGood.dev with a subscription.
Try everything free for 10 days. Cancel anytime.
10-day trial, then $5/mo - or $40/yr ($3.33/mo, save 33%). Cancel anytime.
Reading is the floor. The interview signal is in walking through this live with someone probing follow-ups. Use the AI mock interview to practice talking through requirements, architecture, and trade-offs out loud.
Start an AI mock interview →