The life of an LLM request
Follow one chat message from the browser, through the gateway and retrieval, into the model, and back as a stream of tokens.
Beginner8 min7 stepsInteractive experiment
Archflow teaches AI engineering with animated lessons you can step through, a playground where you design and simulate systems, and plain-English articles that are checked before they go live.
Lessons are animated diagrams, not walls of text. You control the pace and the depth.
Play, pause and replay each request. The diagram lights up the part that is working and shows what travels between them.
Every step is written three times: beginner, intermediate and advanced. Switch at any point without losing your place.
Move a slider and watch latency, throughput and cost change, with the formula and its assumptions in plain view.
How LLM requests move, where the time goes, and how to make them cheaper without making them wrong.
Follow one chat message from the browser, through the gateway and retrieval, into the model, and back as a stream of tokens.
Beginner8 min7 stepsInteractive experiment
Why serving more users at once makes the server faster overall but each user slower, and how to pick the balance.
Intermediate10 min6 stepsInteractive experiment
Answer repeated questions without calling the model, and learn why a cache that matches on meaning can return the wrong answer.
Intermediate9 min6 stepsInteractive experiment
Sketch a system on a canvas, send traffic through it and see what breaks. Start from a template with a guided tour.
Build a design from clients, gateways, servers, caches, queues, LLMs and vector databases. Invalid connections are refused.
Run ten seconds of traffic and see throughput, p50 to p99 latency, failures and which component is the bottleneck.
Simple, explainable rules flag single points of failure, clients talking to databases and queues nobody reads.
Short articles that explain one idea well, with the sources to back it up.
Every article goes through draft, review and publish. Nothing reaches you unread.
Claims link to papers and documentation, and example numbers are labelled as examples.
If AI helped research a draft, the article says so. A person checks it before it goes live.
The first lesson takes about eight minutes. No account needed: sign in only if you want your progress saved.