Publish Order Events Reliably
Hard About 45 min Katabench Pro
Orders commit but fulfillment events disappear. Relay a durable outbox into a topic and isolate downstream consumers.
The full brief is part of Katabench Pro
Pro opens this kata's brief and its grader. To see how the track works first, try Handle Celebrity Fan-out, which is free with an account.
How it is graded
You build the design on a canvas, and Katabench checks the topology against the challenge's design rules.
What it practices
- Transactional outbox
- Commit state and the messages it implies atomically, then relay them reliably.
- Pub/sub fan-out
- Publish once to a topic and let independent consumers, timelines and channels fan out.
Related katas
- Handle Celebrity Fan-out Hard Free with account One celebrity post creates millions of writes. Combine pushed timelines for ordinary authors with a pulled celebrity index at read time.
- Fan Out Home Timelines Medium Free with account Reading every followed author on demand is collapsing the database. Publish post events and materialize timelines asynchronously.
- Moderate and Index Posts Hard Pro Search indexes unreviewed content from an API dual write. Derive moderation and search asynchronously from committed posts.
- Operate the Reliable Checkout Hard Pro Synthesize redundant checkout, idempotent payment, reliable order events, managed secrets, and correlated telemetry.