Cap Theorem medium
A user posts a comment, refreshes the page, and the comment is missing. Which consistency guarantee was violated?
- A Read-Your-Writes Consistency.
- B Causal Consistency.
- C Strong Consistency.
- D Monotonic Read Consistency.
Answer: A. Read-Your-Writes Consistency.
Read-Your-Writes guarantees that a client will always see their own updates. It's a specific form of eventual consistency critical for UX. This often requires sticky sessions or reading from the leader.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is a 'Split Brain' scenario?
- The PACELC theorem extends CAP by stating: Even when there is NO partition (E), the system must choose between:
- Why is a CA (Consistent + Available) system generally considered impossible for distributed web applications?
- In CAP, 'Consistency' is equivalent to:
- In the CAP Theorem, what does the 'P' stand for?
- What causes a Network Partition?