InterviewStack.io LogoInterviewStack.io

Eventual consistency and conflict resolution Questions

Design systems that don't require global consensus but achieve eventual consistency. Understand replication strategies for eventual consistency: multi-master replication, read repair, anti-entropy repair. Handle conflicts: last-write-wins, vector clocks, application-level conflict resolution (e.g., CRDTs). At Staff level, discuss: When is eventual consistency acceptable? How do you handle the window where different replicas see different data? What's the user experience during inconsistency?

MediumTechnical
72 practiced
Design a strategy to provide 'read-your-writes' (session consistency) for a global service when sticky sessions cannot be guaranteed. Describe both client-side token approaches and server-side techniques, trade-offs in latency, and how to prevent token replay or misuse.
MediumSystem Design
68 practiced
Design an anti-entropy process for a distributed key-value store containing 10 million keys across hundreds of nodes. Cover: scheduling (how often, stagger), prioritization (hot keys first), bandwidth control, verification (checksums), and how to resume after node crashes. Explain your choices and expected operational costs.
HardTechnical
59 practiced
Design a comprehensive test plan to verify correctness of a CRDT-based collaborative editor at scale. Include unit testing strategies, property-based/fuzz testing, model-based tests for convergence, distributed integration tests, and performance/stress tests. Explain how to detect subtle merge bugs and regressions.
MediumTechnical
73 practiced
Recommend UX patterns and client-side behaviors to surface data staleness and reduce confusion when eventual consistency causes divergent results. Provide examples specifically for a social feed and a collaborative document editor, including how to notify users and allow recovery.
HardSystem Design
112 practiced
Propose a hybrid architecture that uses a consensus system (Paxos/Raft) for metadata and CRDTs for application state in a collaboration platform. Draw the data flow: where metadata is stored and why, how CRDT state is exchanged, how failure scenarios are handled, and operational considerations.

Unlock Full Question Bank

Get access to hundreds of Eventual consistency and conflict resolution interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.