Publish the Seat Map
Medium About 40 min Katabench Pro
10,000 fans polling the seat map are starving the ledger that decides who gets each seat. Keep both working without selling a seat twice.
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
- CQRS
- Separate read models from the write-side aggregate they are derived from.
- CDN and edge delivery
- Serve static bytes and cheap responses close to users.
- Caching
- Put a cache in front of hot reads and decide what stays fresh.
Related katas
- 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.
- Cache DNS and Robots Rules Medium Pro Share DNS answers and robots policy across fetchers so repeated control lookups do not dominate the crawl or violate site rules.
- Cache the Redirect Medium Pro Reads outnumber writes a thousand to one and every redirect still hits the database. Cache the read path only (writes go around it) and give the links a replica.