Consensus Discussion Language
1. During an architecture review an engineer says: 'We need to handle network partitions — our service spans three availability zones.' Which statement correctly explains why this consideration matters for a consensus-based system?
2. A monitoring runbook states: 'Leader election takes approximately 150ms in this cluster.' What does this figure represent in terms of system behaviour?
3. In an architecture review a team member says: 'The quorum is 3 of 5 nodes.' Which statement correctly interprets this and its implication for fault tolerance?
4. A team is debating between a 3-node and a 5-node Raft cluster. One engineer argues: 'A 5-node cluster tolerates 2 failures versus 1 for a 3-node cluster, but every write requires 3 acknowledgements instead of 2, adding latency.' How would you describe this discussion?
5. In a design review, an engineer proposes using a consensus protocol and says: 'For our use case, we can accept slightly higher write latency in exchange for strong consistency guarantees.' Which phrasing correctly summarises this trade-off position?
Vocabulary Reference
| Phrase | Usage in architecture discussions |
|---|---|
| we need to handle network partitions | Signals that the design must explicitly address the CAP trade-off — the system spans nodes that can lose connectivity. |
| leader election takes ~150ms | Quantifies the write unavailability window after a leader failure; used to discuss SLA impact of a consensus-based system. |
| the quorum is 3 of 5 nodes | States the minimum number of nodes that must agree for operations to proceed and implies the fault tolerance: up to 2 node failures can be survived. |
| we sacrifice availability during a partition | Describes a CP design choice — the system prefers to return errors rather than serve potentially stale data. |
| consensus overhead | The extra latency and coordination round-trips required by a consensus protocol; the cost paid for strong consistency. |
| design trade-off language | In architecture reviews: name what you gain ("strong consistency", "fault tolerance"), what you accept ("higher latency", "reduced availability"), and why that is acceptable for your workload. |
Exercise complete!
out of 5 questions