Outbox pattern
Saving a change and its message in one transaction, then sending the message afterwards, so neither can go missing without the other.
See it in action
These lessons put outbox pattern to work. Read one, then play it and watch what happens without it.
- One order, many services: An order touches payments, stock and delivery, and each has its own database. The card was charged, then the stockā¦