5 questions to test your understanding
Two users in different data centers simultaneously update the same record under an eventually consistent system. User A adds an item; User B removes a different item. A network partition then isolates the two data centers for 30 seconds. What correctly describes what happens?
A distributed system uses last-writer-wins (LWW) conflict resolution with wall-clock timestamps. What is the primary risk of this approach?
An eventually consistent system guarantees that once a network partition heals, most replicas immediately return the same value for most key.
Eventual consistency achieves high availability by allowing replicas to accept writes without waiting for acknowledgment from other replicas, at the cost of allowing temporary divergence between replicas.
Why must eventually consistent systems implement a conflict resolution strategy, and what are the key tradeoffs between last-writer-wins and vector clocks?