Operate the Real-time Chat Platform
Hard About 1 h 10 min Katabench Pro
Combine connection scale, durable messaging, attachment delivery, managed secrets, and telemetry into one operable chat system.
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
- Real-time connections
- Scale long-lived socket connections across interchangeable gateways.
- Message queues
- Accept quickly, buffer durably and process asynchronously with background workers.
- Secrets and network isolation
- Keep data stores private and secrets in a managed vault.
- Observability
- Carry traces, metrics and logs across synchronous and asynchronous hops.
Do these first
- Scale Real-time Connections Medium Pro One connection host cannot survive a deploy. Load-balance interchangeable gateways and move presence into shared state.
- Persist Chat Messages Medium Pro Slow message storage blocks socket loops. Publish accepted messages to a durable broker and persist them with redundant writers.
Related katas
- Operate the Upload Pipeline Hard Pro Turn a fragile file upload into a secure, observable asynchronous pipeline built for horizontal scale.
- Observe the Shortener Hard Pro Redirects feel slow in some regions and click counts lag by hours, and nobody can prove where the time goes. Instrument the split system you built before guessing.
- Observe the Video Pipeline Hard Pro Carry useful telemetry across an asynchronous video-processing pipeline and into an operations stack.
- Operate the Notification Platform Hard Pro Synthesize a production notification plane with redundant APIs and consumers, shared preferences, managed secrets, and end-to-end telemetry.