Distributed systems layer

Distributed systems

Design services that stay correct when messages are lost, late or repeated.

  1. 01

    Clocks lie

    Why two servers disagree about the time.

    Being writtenFree
  2. 02

    Idempotency

    Make a retry safe, so retrying is always an option.

    Being writtenFree
  3. 03

    Exactly once

    What it really means, and what it can't.

    Being writtenFree
  4. 04

    Queues and Kafka

    Ordering, partitions, and consumer offsets.

    Being writtenPro
  5. 05

    The outbox pattern

    Saving data and sending an event without losing either.

    Being writtenPro
  6. 06

    Sagas

    Multi-step work with a way back.

    Being writtenPro
  7. 07

    Consensus with Raft

    How a group of servers agrees on one log.

    Being writtenPro