%% CapDB — truth replicated without ever forking. Physical WAL streaming,
%% read-only replicas, generation fencing (no split-brain).
flowchart LR
C["Clients"]
P[("Primary<br/>authoritative truth")]
RA[("Replica A<br/>read-only")]
RB[("Replica B<br/>read-only")]
F["Generation fencing:<br/>reject segments whose<br/>generation < local<br/>(a deposed primary cannot resume)"]
C -->|"writes"| P
P -->|"WAL frames — physical, byte-for-byte"| RA
P -->|"WAL frames — physical, byte-for-byte"| RB
RA -->|"reads"| C
RB -->|"reads"| C
RA -. enforces .-> F
RB -. enforces .-> F
Capdb Replication
Content source: Canonical Unit · canon/diagrams/capdb-replication.mmd · Canonical source: canon/diagrams/capdb-replication.mmd
Incoming References
Case Study 1
- CapDBcase-capdb
Projection 3
- Talk 0004 Systems In The Smalltalk-0004-systems-in-the-small
- Talk 0004 Systems In The Small Notestalk-0004-systems-in-the-small-notes
- Talk 0004 Systems In The Small Slidestalk-0004-systems-in-the-small-slides
