CAP & PACELC

What you must give up during a partition, and the latency choice the rest of the time.

2Questions
5Flashcards
3Terms
Distributed Systems

Neighbouring topics

Distributed Systems

General material on partial failure, coordination and distributed reasoning.

6 quiz 23 cards 24 terms

Consistency Models

Linearizable, sequential, causal, eventual, and the session guarantees between them.

4 cards 4 terms

Idempotency

Making an operation safe to repeat, because a client that times out cannot know.

1 cards 1 terms

Retries & Backoff

Exponential backoff, jitter, retry budgets, and how retries become the outage.

1 cards 1 terms

Timeouts & Deadlines

Per-hop timeouts that do not compose, and the deadline budget that replaces them.

2 quiz 5 cards 3 terms

Circuit Breakers

Failing fast on a broken dependency, and what you fail fast to.

2 quiz 5 cards 3 terms

Backpressure & Flow Control

Telling callers to slow down instead of buffering into congestion collapse.

1 quiz 5 cards 3 terms

Load Shedding

Rejecting some work deliberately so the rest can be served correctly.

2 quiz 5 cards 3 terms

Bulkheads & Isolation

Partitioning resources so one dependency cannot starve the others.

2 quiz 5 cards 3 terms

Leader Election

Agreeing who is in charge, and fencing the one who no longer is.

2 quiz 5 cards 3 terms

Consensus Protocols

Raft, Paxos and quorums — what they guarantee and what they cost.

1 cards 1 terms

Distributed Locking

Mutual exclusion across machines, and why it is harder than it looks.

1 quiz 4 cards 3 terms

Distributed Transactions

Two-phase commit, its blocking failure mode, and when it is still reasonable.

1 quiz 4 cards 3 terms

Sagas & Compensation

Replacing atomicity with semantic undo, and ordering the irreversible steps last.

1 quiz 4 cards 3 terms

Service Discovery

Finding a healthy address for something whose instances are ephemeral.

1 quiz 3 cards 2 terms

Messaging & Queues

Decoupling producer from consumer, and the semantics that come with it.

1 quiz 5 cards 3 terms

Event Streaming

Retained ordered logs, consumer offsets, partitions and replay.

1 quiz 5 cards 3 terms

Clocks & Ordering

Why wall clocks lie, and how logical clocks and versions restore order.

1 cards 1 terms

Failure Modes

Slow rather than down, partial, grey, and failing while reporting success.

1 quiz 5 cards 3 terms