The CDN Request Path: From Edge Hit to Chunk-Aligned Origin Fill
A CDN turns one client request into a short ordered pipeline: edge routing, cache-key lookup, request coalescing, chunk-aligned origin fetch, and a cached response for the next caller.
Fly.ioExplainer
This article describes how Xe Iaso uses Fly.io to host a blog, CDN, and experimental personal projects while deploying services near users. The blog backend runs in Toronto, while XeDN runs in 35 datacenters, fetches missing files from Backblaze B2, and uses caching and traffic shifting to tolerate individual node failures. Arsène runs every 12 hours, asking the ChatGPT API for posts, using Stable Diffusion for illustrations through an Automatic1111 API on a private network, then sending images to XeDN for global delivery. The setup emphasizes reusable, interoperable building blocks rather than isolated projects, with Fly.io handling deployment, networking, and scaling concerns. Xe reports that three 256 MB Machines ran XeDN for a year, while Arsène still runs on one, and says applications can scale to zero when idle.
Xe Iaso uses Fly.io to host a blog, its CDN, and personal projects, with the stated aim of experimenting with ideas quickly, serving users globally, and reusing infrastructure across projects.
The setup separates the blog backend from XeDN, distributes XeDN across 35 datacenters, retrieves uncached files from Backblaze B2, and uses private-network communication for services such as Arsène and Stable Diffusion. Fly.io provides deployment, traffic shifting, and scaling, including scaling idle applications to zero.
The blog backend runs in Toronto, while XeDN runs across 35 datacenters and serves files backed by Backblaze B2.
Arsène uses the ChatGPT API every 12 hours to generate posts and Stable Diffusion through an Automatic1111 API on a private network to create illustrations.
XeDN ran on three 256 MB Machines for a year, and Arsène continues to run on one 256 MB Machine; applications can also scale to zero when idle.
Summaries are generated from the original by a language model. Check the original before relying on it.
See the idea
A CDN turns one client request into a short ordered pipeline: edge routing, cache-key lookup, request coalescing, chunk-aligned origin fetch, and a cached response for the next caller.
Keep reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
One useful email. Unsubscribe anytime.