№ 03
Persist before you acknowledge
A chat message is a small distributed-systems problem. The order of three operations — persist, acknowledge, broadcast — decides whether it survives a timeout.
Field notes / Vol. 01
Short technical essays on the parts of distributed systems that only become visible when a process is late, a broker restarts, or a retry arrives twice. Written from systems I have actually run.
№ 03
A chat message is a small distributed-systems problem. The order of three operations — persist, acknowledge, broadcast — decides whether it survives a timeout.
№ 02
Leases turn ownership into a deadline. Heartbeats keep it alive. Fencing makes sure the worker that woke up late cannot overwrite the one that replaced it.
№ 01
A delayed message is not a calendar. Moving wakeups into PostgreSQL made the scheduler's timers inspectable, recoverable, and immune to a broker restart.