Smartly Academy

Smartly Academy

The Architecture Logbook

The Outbox Pattern — When Your Database and Broker Disagree

A war story about lost messages, atomic consistency, and the architecture pattern that saved our notification service

Anto Semeraro's avatar
Anto Semeraro
Mar 03, 2026
∙ Paid

I still remember the morning we found out. Three weeks of notifications — gone. Not failed. Not bounced. Just... never sent.

We were building a notification service for a large-scale European railway platform. The architecture was clean: when a booking changed, our service would save the update to the database and publish an event to RabbitMQ. Downstream…

User's avatar

Continue reading this post for free, courtesy of Anto Semeraro.

Or purchase a paid subscription.
© 2026 Antonello Semeraro · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture