System Design Expert — Series 2
Preview — 3 of 10 questions
In a distributed system using the Raft consensus algorithm, multiple nodes need to agree on a single leader to coordinate writes. What happens if the current leader crashes or becomes unreachable?
A globally distributed database accepts writes in multiple regions simultaneously, even during a network partition between regions. When the partition heals, conflicting concurrent writes to the same value must be reconciled automatically — with no data loss and no central coordinator making the call. What class of data structure enables this?
Design a video streaming service that must deliver smooth playback to users with wildly varying network conditions (3G mobile through gigabit fiber), without constant buffering or forcing everyone onto the lowest common quality. What's the standard technique?
Sign up free to play
Answer all 10 questions (7 more), see explanations for every answer, and track your score.