The Outbox Pattern
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- hard
- Pro
When an order is placed, your code saves it to the database and then publishes an order placed message to a queue. Sometimes the save succeeds but the publish fails, and the warehouse never hears about the order. Explain the outbox pattern and how it fixes this.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.