The outbox pattern

outbox-pattern · sysdesign · SVG, currentColor

A diagram of the outbox pattern used in distributed systems, showing a database writing a record and an event before it is relayed onward as a message. It's a staple of system design docs and microservices architecture diagrams for explaining reliable event publishing without a dual-write problem.

Draw with this icon Download SVG

Tags

outbox patterntransactional outboxmessage queueevent publishingmicroservicesreliable messagingdatabaseenvelopeevent drivendistributed systemsarchitecture diagramevent outboxmessage relaydual write problem

Free for commercial use, no attribution — license. Or use it on an infinite canvas.

More sysdesign

A bulkhead
A bulkhead
A checkpoint
A checkpoint
A failback
A failback
An API with an incoming arrow
An API with an incoming arrow
An API with a clock
An API with a clock
An API with a padlock
An API with a padlock
A partitioned API
A partitioned API
A replicated API
A replicated API
An API with a tick
An API with a tick
An attacker in a hood
An attacker in a hood
A bulkhead
A bulkhead
A checkpoint
A checkpoint

All sysdesign icons →