Redirect from the Edge
Medium About 30 min Katabench Pro
Users on other continents pay hundreds of milliseconds of network for a sixty-byte redirect. Answer popular links at the edge and keep the origin as the source of truth.
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
- CDN and edge delivery
- Serve static bytes and cheap responses close to users.
Related katas
- Deliver Chat Attachments Medium Pro Photos are flowing through chat servers. Authorize with the API, upload directly to object storage, and read through the edge.
- Deliver Video from the Edge Medium Pro Separate playback authorization from high-volume media delivery through a CDN.
- Download from the Edge Medium Pro A shared file went out to ten thousand recipients and every byte flowed through the Share API. Let the edge serve bytes while the API only decides who may have them.
- Publish the Seat Map Medium 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.