Systems on Glass · Episode 8 · System design

Queues

or: why my 7 AM starts at 6:00

The 48-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 whiteboard and 3D scenes, 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.

My Daily Bible service sends the day's scripture on WhatsApp or email at 7 AM, in every subscriber's time zone. For a zone with half a million people, a plain loop at 80 messages a second would finish at 8:44. So the work for a 7:00 message starts at 6:00, and the thing that makes it boring is a queue.

The short version

500,000 ÷ 80/s = 6,250 s ≈ 1 h 44 min (one sender) · 500,000 ÷ 1,000/s = 500 s ≈ 8 min
500,000 ÷ (40 × 250/s) = 50 s · 6:00 freeze → 6:45 scale → 6:55 warm → 7:00 fire → 7:10 sweep

The rates and the half-million zone are illustrative, as in my post about the design, which has every diagram and the failure cases.

Further reading

Next episode: Give Your Agent a Memory. Previously: What an LLM Call Costs. All episodes →