Glossary
Every technical term used in the channel, defined once, linked from every episode it appears in.
A
C
- Choreography (saga)ep01
Services publish and subscribe to events; each participant knows only its own next step, no central coordinator.
- Command-Query Separation (CQS)ep02
Bertrand Meyer's 1988 principle: a method either changes state or returns a result, never both.
- Compensating actionep01
The business operation that undoes the effect of an earlier saga step (e.g., refund a charge).
- Consensusep03
A group of nodes agreeing on a single value despite failures and dropped messages.
- CQRSep02
Command Query Responsibility Segregation — separating the model that handles writes from the model that handles reads.
- CRUDep02
Create / Read / Update / Delete — the basic operations of most simple data-driven applications.
D
E
H
I
- Idempotentep01
An operation that has the same effect whether called once or many times.
- Immutableep02
A value or record that cannot be changed after it is created; updates create new records instead.
- Isolationep01
The transactional property that in-flight transactions don't see each other's intermediate state.
L
M
O
P
- Paxosep03
The original distributed consensus algorithm (Lamport, 1989). Correct but notoriously hard to implement — every production system using Paxos has its own subtle variant. Named after a Greek island where Lamport set a fictional parliamentary procedure as a teaching device.
- Projectionep02
A function that walks every event in order and accumulates a derived state used for reads.
Q
R
- Raftep03
A distributed consensus algorithm (Ongaro & Ousterhout, Stanford, 2014), designed to be more understandable than Paxos. Not an acronym — the name was chosen as a humble visual metaphor (a simple floating craft that survives storms), deliberately contrasting Paxos's Greek-island academic vibe. The popular backronym "Reliable, Replicated, Redundant, And Fault-Tolerant" came after the name was chosen.
- Read-your-own-writesep02
The guarantee that a user reads back the state they just wrote, even if the broader system is eventually consistent.
S
- Sagaep01
A sequence of local transactions, each paired with a compensating action that semantically reverses it on failure.
- Semantic lockep01
A flag on a record indicating it is participating in an in-flight saga, blocking other transactions from reading or modifying it.
- Snapshot (event sourcing)ep02
A committed checkpoint of derived state used to avoid replaying the full event log on every read.
- Split brainep03
A partition in which two halves of a cluster both elect leaders and accept divergent writes.