Scale Real-time Connections
Medium About 30 min Katabench Pro
One connection host cannot survive a deploy. Load-balance interchangeable gateways and move presence into shared state.
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 Cache the Hot Path, 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.
Do these first
Related katas
- Operate the Real-time Chat Platform Hard Pro Combine connection scale, durable messaging, attachment delivery, managed secrets, and telemetry into one operable chat system.
- Cache the Hot Path Medium Free with account The product page hammers the database directly and melts under load. Design a read path with a load balancer, a cache and a replica, while keeping the client off the database.
- 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.
- 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.