Grokking Microservices Design Patterns
Vote

0% completed

The Architecture of the Outbox Pattern

The previous lesson gave you the idea: one table, one relay. This lesson makes that idea concrete. We define the columns of the outbox table and compare the two ways to build the relay.

The Outbox Table

The outbox is one table in the service's own database. Each row is one event that has not yet been published. A common design uses these columns.

Before the list, one term. An aggregate is one business entity and its data, such as one order.

  • id: a unique value for each row, such as a UUID. It also serves as the event id.

.....

.....

.....

Like the course? Get enrolled and start learning!