Blogs
Drawn from production engineering and the systems I explore on the side. Thoughts are mine; AI helps refine the writing.
Distributed Transactions: Sagas
The saga pattern for long-lived business transactions. Coordinating multi-step workflows across services without holding locks, and handling failure through compensations.
Distributed Transactions: Commit Protocols
How distributed systems get every node to agree on whether a transaction committed. From two-phase commit through Paxos Commit, and the safety/liveness trade-offs each one makes.
Designing a Distributed Rate Limiter
Designing a rate limiter that holds up at high request rates: the algorithm trade-offs, where it lives in the stack, and what starts to break as you scale.
Rate Limiting Algorithms
The common rate-limiting algorithms, what each one trades off, and the race conditions you have to design around.