Architect
Architect
Jul 15, 2025 · Backend Development

When to Use SSE vs WebSocket vs Polling: A Practical Guide

This article explains the three main server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, compatibility, typical use cases, and provides complete Node.js/Express and plain‑HTML demos to help developers choose the right solution.

ExpressNode.jsPolling
0 likes · 13 min read
When to Use SSE vs WebSocket vs Polling: A Practical Guide
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 8, 2025 · Backend Development

Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Implementation Demo

This article explains the principles and use cases of Server‑Sent Events (SSE), compares it with traditional polling and WebSocket solutions, outlines their advantages and drawbacks, and provides complete front‑end and Node.js/Express demo code to build a real‑time push system.

ExpressJavaScriptNode.js
0 likes · 13 min read
Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Implementation Demo
Ctrip Technology
Ctrip Technology
Jun 22, 2017 · Frontend Development

Common Front‑End Data Exchange Methods and Their Use Cases with Code Examples

This article reviews various front‑end data exchange techniques—including HTTP methods, form encodings, AJAX, fetch, Server‑Sent Events, WebSocket, postMessage, and Web Workers—explaining when to use each, providing practical examples and code snippets for real‑world scenarios.

HTTPServer‑Sent EventsWeb Workers
0 likes · 16 min read
Common Front‑End Data Exchange Methods and Their Use Cases with Code Examples