TLDR: Read-Your-Writes Consistency
Date: 2021-09-22 Source: https://arpitbhayani.me/blogs/read-your-write-consistency
Overview
Explore read-your-writes consistency in distributed systems. Learn how to solve replication lag with strategies like synchronous replication. The most common way to scale the reads hitting a distributed data store is by adding Read Replicas.
Key Points
- The most common way to scale the reads hitting a distributed data store is by adding Read Replicas.
- Problem in action: To ensure that the issue we are trying to address is not something made up, let’s see what happens across industries when we do not ensure Read-your-write consistency.
- Synchronous Replication: Replication Lag exists because the writes are propagated to Replica asynchronously.
- Pinning User to Master: Instead of serving Read requests from the Replica, what if we also serve them from the Master.