வெற்று HTTP என்பது request/response: client கேட்கிறது, server பதிலளிக்கிறது, முடிந்தது. Server புதிதாக ஏதேனும் இருக்கும்போதெல்லாம் data ஐ push செய்ய வேண்டிய real-time features களுக்கு (chat, live dashboard கள், notification கள், collaborative editing) இது மோசமான பொருத்தம். HTTP-இன் client-தொடங்கிய model ஐச் சுற்றி வர இந்த வழிகள் ஒரு சிக்கல்-வரம்பில் அமைந்துள்ளன:
Long-polling client ──req──▶ server ...holds... ──resp──▶ then immediately re-asks
(near-real-time over plain HTTP; one message per held request)
SSE client ──req──▶ server ═══stream of events═══▶ (one-way, server→client)
(HTTP-based, text, auto-reconnect; NO client→server on same channel)
WebSocket client ──handshake──▶ server ══full-duplex, both directions══▶
(persistent TCP; low overhead; binary or text; you build the rest)
