distributed systems
18 minDistributed Systems Advanced: Rebalancing, Sagas, Consensus, and Trace Context
Design around Kafka group churn, payment idempotency, coordination limits, sagas, CQRS, and context propagation across async boundaries.
Loading page...
distributed systems
18 minDesign around Kafka group churn, payment idempotency, coordination limits, sagas, CQRS, and context propagation across async boundaries.
distributed systems
9 minSeparate consistency guarantees from delivery guarantees and design for the partial failures that make retries necessary.
distributed systems
15 minReason about leader election across partitions and preserve causal context across Kafka, thread pools, and service boundaries.
Q&A
Q&AConcurrent histories under the vector clock identity and propagation model.
If neither vector is component-wise less than the other, neither history contains all represented knowledge of the other. This does not establish physical-time order or choose a globally agreed winner.
Q&A
Q&AAt the destination, atomically with the protected effect.
The destination rejects generations older than its highest accepted token. A lease does not stop a paused worker, and a fence cannot reject an expired generation it has not yet learned is superseded.
distributed systems
8 minDistinguish event causality from wall-clock order with Lamport and vector clocks.
distributed systems
6 minProtect a shared resource from stale owners instead of assuming expired leases stop processes.
distributed systems
5 minDesign a minute-level dashboard that tolerates delayed events without treating a watermark as proof that every event arrived.