Download from the Edge
Medium About 35 min Katabench 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.
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.
- Object storage
- Keep large bytes in object storage and let clients upload and download directly.
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.
- Checkpoint Before Parsing Medium Pro Split unreliable network fetches from CPU-heavy parsing with an immutable page checkpoint and a second durable handoff.
- Process Video Uploads Medium Pro Move large video uploads off the request path and process them through a durable asynchronous pipeline.