Frontend System Design: YouTube Live Stream Chat UI

Why near-real-time beats real-time — and why YouTube polls instead of opening a million WebSockets.