Tagged articles
12 articles
Page 1 of 1
java1234
java1234
Mar 31, 2026 · Backend Development

Why Polling Is Outdated: Lightweight Real‑Time Push with SSE

The article compares polling, WebSocket, and Server‑Sent Events (SSE), explains why polling is inefficient, outlines the advantages and browser compatibility of SSE versus WebSocket, and provides step‑by‑step Node.js and HTML demos for implementing a real‑time push solution.

EventSourceExpressNode.js
0 likes · 12 min read
Why Polling Is Outdated: Lightweight Real‑Time Push with SSE
Architecture Digest
Architecture Digest
May 15, 2025 · Backend Development

Why the ChatGPT Browser Conversation System Uses EventSource Instead of WebSocket

This article explains why the ChatGPT browser-based conversation system prefers EventSource over WebSocket, covering protocol basics, the system’s single‑direction communication model, long‑polling behavior, deployment simplicity, and includes full Node.js server and client code examples demonstrating the implementation.

Backend DevelopmentBrowserEventSource
0 likes · 9 min read
Why the ChatGPT Browser Conversation System Uses EventSource Instead of WebSocket
Ctrip Technology
Ctrip Technology
May 13, 2025 · Frontend Development

Enterprise-Level Server-Sent Events (SSE) Implementation for Ctrip Flight Frontend

This article presents Ctrip's enterprise-grade Server-Sent Events (SSE) solution for its flight booking frontend, detailing the technology overview, use cases, implementation practices, performance considerations, comparison with alternatives, and full‑stack integration across link, framework, and data layers.

EventSourceNode.jsReal-Time
0 likes · 16 min read
Enterprise-Level Server-Sent Events (SSE) Implementation for Ctrip Flight Frontend
Architect
Architect
Sep 25, 2024 · Frontend Development

Why Choose EventSource Over WebSocket for ChatGPT‑Style Web Chats?

This article analyzes the reasons for preferring EventSource instead of WebSocket in a browser‑based ChatGPT chat system, covering protocol basics, system characteristics, advantages, code examples, performance trade‑offs, and future extensibility.

ChatGPTEventSourceNode.js
0 likes · 9 min read
Why Choose EventSource Over WebSocket for ChatGPT‑Style Web Chats?
JavaEdge
JavaEdge
Jun 8, 2024 · Frontend Development

EventSource vs WebSocket: Choosing the Right Real‑Time API for ChatGPT

This article explains the technical differences between Server‑Sent Events (EventSource) and WebSocket, compares their advantages, disadvantages, and suitable scenarios, and shows why ChatGPT’s streaming API prefers EventSource for server‑push communication.

ChatGPTEventSourceServer-Sent Events
0 likes · 9 min read
EventSource vs WebSocket: Choosing the Right Real‑Time API for ChatGPT
JD Cloud Developers
JD Cloud Developers
Nov 2, 2023 · Frontend Development

Unlock Real‑Time Chat with Server‑Sent Events: From Theory to Code

This article explains how Server‑Sent Events (SSE) enable real‑time, character‑by‑character responses like those seen in ChatGPT, compares SSE with WebSockets, and provides complete server‑side and client‑side code examples for implementing SSE in web applications.

EventSourceSSEServer-Sent Events
0 likes · 17 min read
Unlock Real‑Time Chat with Server‑Sent Events: From Theory to Code
IT Services Circle
IT Services Circle
Sep 8, 2023 · Backend Development

Implementing Server-Sent Events (SSE) with NestJS and React

This article explains how to use HTTP Server-Sent Events (SSE) as an alternative to WebSocket for one‑way data push, demonstrating a NestJS backend implementation with @Sse decorator and Observable streams, and a React frontend using EventSource to receive real‑time JSON messages, including handling logs and binary data.

BackendEventSourceNestJS
0 likes · 7 min read
Implementing Server-Sent Events (SSE) with NestJS and React
php Courses
php Courses
Jun 27, 2023 · Frontend Development

Comparing EventSource and WebSocket for ChatGPT Web Communication

The article compares EventSource and WebSocket, outlining their respective advantages, disadvantages, and appropriate use cases for server‑push versus bidirectional real‑time communication in web applications such as the ChatGPT interface.

EventSourceServer PushWebSocket
0 likes · 3 min read
Comparing EventSource and WebSocket for ChatGPT Web Communication
Programmer DD
Programmer DD
Aug 29, 2019 · Backend Development

Why Choose Server‑Sent Events Over WebSocket for Simple Real‑Time Push?

The article explains how Server‑Sent Events (SSE) provide a lightweight, one‑way server‑to‑client push mechanism that avoids the complexity of WebSocket or polling, shows its protocol details, compares it with WebSocket, and demonstrates integration with Spring MVC and the browser EventSource API.

EventSourceSSEServer-Sent Events
0 likes · 6 min read
Why Choose Server‑Sent Events Over WebSocket for Simple Real‑Time Push?