Tagged articles
4 articles
Page 1 of 1
Lobster Programming
Lobster Programming
Dec 31, 2025 · Backend Development

How to Build Real-Time Live-Stream Comments: Polling, WebSocket, and SSE Compared

This article compares four approaches for delivering live‑stream comments—HTTP polling, WebSocket, Server‑Sent Events, and an upgraded SSE cluster design—explaining their mechanisms, trade‑offs in latency, resource usage, scalability, and how to achieve high‑availability real‑time comment delivery.

HTTP pollingSSESystem Architecture
0 likes · 7 min read
How to Build Real-Time Live-Stream Comments: Polling, WebSocket, and SSE Compared
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 30, 2024 · Frontend Development

Common Data Request Methods for Large Screens and Their Implementation with SSE and WebSocket

This article compares HTTP polling, WebSocket, and Server‑Sent Events (SSE) for large‑screen data fetching, explains their advantages and drawbacks, outlines suitable business scenarios, and provides complete front‑end and back‑end code examples for implementing SSE and WebSocket connections.

HTTP pollingNode.jsSSE
0 likes · 7 min read
Common Data Request Methods for Large Screens and Their Implementation with SSE and WebSocket
Su San Talks Tech
Su San Talks Tech
Apr 28, 2024 · Frontend Development

From HTTP Polling to Real‑Time Push: Why WebSocket Is the Game‑Changer

WebSocket enables true full‑duplex communication between browsers and servers, overcoming the limitations of HTTP’s request‑response model; the article explains why simple HTTP polling and long polling are insufficient, details the WebSocket handshake, frame format, and ideal scenarios such as web games and real‑time chat.

HTTP pollingWeb DevelopmentWebSocket
0 likes · 16 min read
From HTTP Polling to Real‑Time Push: Why WebSocket Is the Game‑Changer