Stop the Bots
Medium About 40 min Katabench Pro
Bots behind 40,000 addresses hold 30% of the stadium and never trip the IP limiter. Make the printed four-ticket limit real.
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
- Rate limiting
- Bound what one client can consume so everyone else keeps working.
- Authorization
- Scope access by tenant, subject, purpose and delegated capability, not ownership alone.
Related katas
- Rate-Limit at the Gateway Medium Pro One scraper hammers the API and every real user pays for it. Put a gateway in front that counts requests in a shared store and sheds abusive traffic before it reaches the app.
- Admit Through a Waiting Room Easy Pro Someone pasted the checkout link into a group chat and 80,000 fans skipped the line. Keep checkout standing at 10:00.
- Operate the Onsale Hard Pro The provider slows down, no component fails, and the sale still gets worse for 20 minutes. Rebuild the onsale so the next slowdown does not snowball.
- Schedule Hosts Politely Hard Pro Replace FIFO crawling with host-aware scheduling that leases one origin at a time while the fleet stays busy across many hosts.