The Notifier Pattern - Events Meet Email
How we decoupled notifications from operations with a subscribe_to DSL that routes events to the right mailer, the right recipients, automatically.
4 stories
How we decoupled notifications from operations with a subscribe_to DSL that routes events to the right mailer, the right recipients, automatically.
How our event bus dispatches to subscribers with pattern matching, circuit breakers, and exactly-once delivery via Redis.
How we define events with a 15-line DSL, auto-register them, and serialize payloads safely. The building blocks of our event system.
A payroll approval triggers six side effects. We needed them out of the operation. Here's the problem that led us to event-driven architecture.