Skip to content

Machyon in 104 seconds

Machyon downloads 3,000 image links: how it paces itself, respects each server, checks what comes back and accounts for every row.

What you're seeing

The app is real. The window in the second half is machyon ui 1.2.0, installed from PyPI and recorded during a real run (run_2026-11-13_224454_f048). Where the recording is sped up, the label under the window says so.

The numbers are that run's. 3,000 rows: 756 downloaded, 2,227 already on disk and skipped on resume, and 17 failed, each with its reason: 10 http_404 and 7 not_image. The 17 failure lights in the opening field sit on the run's real failed rows.

The source was a local test server, serving licence-clear images, so the run could be repeated and shown. Real websites give different numbers. The page that came back instead of an image in Verify what came back is that server's real reply: 200 OK, text/html.

The animated scenes are illustrations. The lanes in Adaptive concurrency show how the limiter adapts; the real limits differ from run to run. What each scene describes is what the code does, and the chapter links go to the details.

Transcript

0:00 One link, then thousands. Every image starts as a link. One is easy. Three thousand is a different question.

0:11 From a list to image jobs. You start with a list. Every row becomes a job.

0:17 Adaptive concurrency. How fast? Machyon measures. It adds connections while speed improves, and steps back when it doesn't.

0:27 Respect each host. Sometimes, a server asks you to slow down. The others keep going.

0:35 Verify what came back. The server says everything's fine. Machyon checks anyway.

0:41 Write complete files. A file gets its name only when it's complete. So stopping is safe.

0:51 Stop, resume, account for every row. Start a run. Stop it partway. Resume, and it only fetches what's missing. Every row is accounted for. Even failures come with a reason.

1:14 Every one answered. One link, then three thousand. Every one answered.

1:20 to the end: Opa's arrival, with music and no narration. He flies in and completes the wordmark, and the tagline appears: Every image. Mach speed. Zero lost.

Where to next

Try it

pip install machyon, then the Quickstart, or machyon ui for the app in your browser.

See the limiter think

The Interactive Lab replays a real run window by window.

Meet Opa

The mascot from the film's ending, and the 25-second film about where Opa came from.