Tag

EventSource

2 views collected around this technical thread.

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.

EventSourceNode.jsReal-time Communication
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.jsSSE
0 likes · 16 min read
Enterprise-Level Server-Sent Events (SSE) Implementation for Ctrip Flight Frontend
Code Mala Tang
Code Mala Tang
Jun 25, 2024 · Frontend Development

Mastering Server‑Sent Events (EventSource) in JavaScript: Real‑Time Updates Made Easy

This article explains how Server‑Sent Events (SSE) and the EventSource API enable real‑time, one‑way data streams in web pages, covering browser support, key features, client‑side usage, server implementation, data formatting rules, and practical tips for reliable deployment.

EventSourceJavaScriptSSE
0 likes · 10 min read
Mastering Server‑Sent Events (EventSource) in JavaScript: Real‑Time Updates Made Easy
Selected Java Interview Questions
Selected Java Interview Questions
Mar 5, 2024 · Frontend Development

Why the ChatGPT Web Chat Uses EventSource Instead of WebSocket

This article explains why the browser‑based ChatGPT conversation system prefers the lightweight EventSource API over WebSocket, detailing protocol differences, system characteristics, advantages, code implementations, performance considerations, and future extension possibilities.

EventSourceNode.jsReal-time Communication
0 likes · 9 min read
Why the ChatGPT Web Chat Uses EventSource Instead of WebSocket
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.

EventSourceNestJSReact
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.

EventSourceReal-time CommunicationServer Push
0 likes · 3 min read
Comparing EventSource and WebSocket for ChatGPT Web Communication