Design a ChatGPT-Style Assistant (Streaming, SSE, Conversations)
How an AI chat platform streams tokens over HTTP/2 Server-Sent Events, compacts 128k token context windows, routes prompts across model tiers, and protects GPU inference clusters from backpressure.
How one architecture serves 2 crore daily active users, streams tokens at 40 tokens per second across 10 lakh concurrent connections, isolates model tiers, and recovers from network drops without burning extra GPU compute.