Search IOCombats

Search challenges, guides, questions and articles

Case Studies

Pick a product you use every day and follow one request through the whole system. Each case study covers the architecture, the trade-offs, what is confirmed versus inferred, and how to talk about it in a system design interview.

How AI Chat Apps Survive a Page Refresh: Resumable Streams, Redis Pub/Sub and Replay
Follow one long AI answer through a page refresh: how the server keeps generating after the tab disconnects, how a second request finds the running stream through Redis pub/sub, and how the client replays it without duplicate text.
How a Chat AI Handles Your Message, End to End: Prompt Assembly, KV Cache and Streaming
Follow one chat message from the input box to the GPU and back: how the server rebuilds the full prompt, why prefill and decode behave so differently, how the KV cache and prompt caching save work, and how tokens stream into a React UI.