Subjects Questions Quizzes Pricing
Intermediate Open Pro

Eventual Consistency and Read-Your-Writes

A social network uses an AP database with eventual consistency. A user posts a status update, then immediately refreshes the page. The new post does not appear. The user refreshes again 2 seconds later and it appears.

  1. What caused this behaviour?
  2. How would you implement "read-your-writes" consistency for this user without switching to a CP database?
← Back to The CAP Theorem practice