NOTE
Read/Write Separation Architecture
Read-write separation assigns reads and writes to different roles. These notes connect it with leader-follower replication and increased read throughput.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is Read/Write Separation
Separate read operations (R) from write operations (CUD). In essence, this is the Leader-Follower pattern in Distributed System Replication.
2. Why Read/Write Separation Is Needed
Improve read throughput.
3. Applicable Scenarios for Read/Write Separation
Read-heavy, write-light scenarios where data inconsistency is acceptable.
4. How to Design Read/Write Separation
4.1. Service-Layer Read/Write Separation

Advantage: the code is easy to maintain and there are no data consistency problems. Disadvantage: the data layer becomes the bottleneck.
4.2. Storage-Layer Read/Write Separation

Advantage: the data layer is scalable. Disadvantage: data consistency problems.
5. Pattern
5.1. Materialized View

6. References
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub