Systems on Glass · Episode 19 · System design

Back at Ten

or: why your API says 429

The 46-second version. The full video is coming to YouTube; the link goes here when it's up. The narration is an AI clone of my voice.

Made with AI, for fun

Systems on Glass is an AI-automation side project of mine. Every episode is generated by Claude (Anthropic's AI, working through Claude Code in my own video studio): the script, the motion graphics, the edit, and the narration in an AI clone of my voice. I choose the topics, bring the stories from my own work, and review each episode before it goes up. Not affiliated with Anthropic.

Every Monday at nine, hundreds of people open the same link at once, and the model behind it can only answer so many a minute. A small bakery on a hill already knows what to do.

The short version

the jar: holds 10 · refills 1 a second · a full jar serves a burst of 10 at once
then: 1 a second, as each token arrives · the queue holds who can wait · past that: 429 + retry-after
my design's peak (illustrative): quota 3,000 calls/min · calls wait up to 25 s · 16% of new sessions get a text instead

The Monday-morning wave is from my design for a car-service intake system, Four Agents Walk Into a Service Bay, which is my own recreation, not Nissan's system. Drag its wave and switch on "Token bucket + queue". The bakery is a fable told over a real simulation: every count in the video is computed, not typed in.

Further reading

Next episode: Let code decide. Previously: Shape ≠ Meaning. All episodes →