/ The Arena
Prove your engineering skills.
GLOBAL+50 XP
Build a Transactional Outbox Relay Engine with PostgreSQL CDC
Problem Overview
In distributed event-driven systems, updating a database and publishing a message to Apache Kafka in the same HTTP handler is vulnerable to the Dual-Write Problem.
To guarantee At-Least-Once Delivery on the producer side and Idempotent Exactly-Once Processing on the consumer side, you will implement:
- A Transactional Outbox Relay Engine simulating PostgreSQL
SELECT ... FOR UPDATE SKIP LOCKEDworker concurrency. - An Exponential Backoff Retry Handler for transient Kafka broker failures.
- A Transactional Inbox Deduplication Engine ensuring consumers process each event at most once per consumer group.
Join The Arena
Create an account to submit your implementation, test against our containerized CI suite, and climb the global leaderboard.
Create AccountALREADY HAVE AN ACCOUNT? LOG IN