December 1, 202611 min
Messages will be lost or duplicated, so the sane default is at-least-once delivery with idempotent consumers, and the outbox and inbox patterns make saving data and sending or processing a message behave as one write.
November 25, 202615 min
An event is a contract: an envelope lets consumers deduplicate, order and trace it, a name identifies and filters it, and a few rules let it change without breaking anyone.
November 21, 202614 min
Before designing an event, decide what it is for, how it will be consumed and what it should carry, and remember whose story it tells.
November 13, 202615 min
Queues forget messages, streams keep them, and the way you consume them decides whether you keep the order, the scale or most of both.
November 4, 202611 min
Commands and events travel through the same pipes, but they differ in intent, audience and, above all, in who owns the contract. Event Storming helps you find the stories your business tells, and bounded contexts tell you who owns each one.
October 23, 20269 min
Events can reduce coupling, absorb load and help systems scale, but you pay for them in complexity.
April 29, 202515 min
The actor model is old, simple and rarely used. Its two primitives, how it handles concurrency, and how I used it in Akka.NET to build a small monitoring tool for on-premise installations.