Tag

Server-Sent Events

1 views collected around this technical thread.

Architecture and Beyond
Architecture and Beyond
Jun 8, 2025 · Frontend Development

Why Server‑Sent Events (SSE) Power Real‑Time Typing Effects in AI Chat Apps

Server‑Sent Events (SSE) offer a lightweight, HTTP‑native solution for real‑time, one‑way streaming, making them ideal for AI chat applications that need a typewriter‑style response, with advantages over WebSockets such as easy implementation, automatic reconnection, broad compatibility, and simple debugging.

JavaScriptPythonReal-time Streaming
0 likes · 13 min read
Why Server‑Sent Events (SSE) Power Real‑Time Typing Effects in AI Chat Apps
Code Mala Tang
Code Mala Tang
May 19, 2025 · Backend Development

How to Implement Server‑Sent Events (SSE) in FastAPI for Real‑Time Apps

Server‑Sent Events (SSE) provide a simple, one‑way server push mechanism over HTTP, ideal for real‑time updates such as dashboards, notifications, and data streams; this guide explains SSE fundamentals, compares alternatives, and walks through integrating SSE into FastAPI using the sse‑starlette library with full code examples.

PythonSSEServer-Sent Events
0 likes · 9 min read
How to Implement Server‑Sent Events (SSE) in FastAPI for Real‑Time Apps
Top Architecture Tech Stack
Top Architecture Tech Stack
May 19, 2025 · Backend Development

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

This article explains the scenarios where servers need to push data to clients, compares three implementation methods—polling, WebSocket, and SSE—highlights their advantages and drawbacks, and provides step‑by‑step frontend and Node.js backend demos for building a real‑time SSE connection.

ExpressJavaScriptNode.js
0 likes · 13 min read
Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Practical Implementation
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.

EventSourceFrontendNode.js
0 likes · 16 min read
Enterprise-Level Server-Sent Events (SSE) Implementation for Ctrip Flight Frontend
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
Architecture Digest
Architecture Digest
Mar 30, 2025 · Backend Development

Understanding Server‑Sent Events (SSE): Comparison, API Details, and Node.js Demo

This article explains Server‑Sent Events (SSE), compares it with polling and WebSocket, outlines its advantages and limitations, provides API usage examples, and offers a complete Node.js/Express demo with front‑end code to illustrate real‑time one‑way data push.

ExpressNode.jsSSE
0 likes · 9 min read
Understanding Server‑Sent Events (SSE): Comparison, API Details, and Node.js Demo
Java Architecture Diary
Java Architecture Diary
Mar 17, 2025 · Artificial Intelligence

Build a Java AI Gitee Assistant with LangChain4j and MCP: Step‑by‑Step Guide

This article explains how to integrate Gitee's Model Control Protocol (MCP) with Java using LangChain4j, covering download, Maven setup, configuration, both stdio and SSE transport modes, sample code, output examples, and a comparison of the two modes to create an AI‑powered repository assistant.

AI AssistantGiteeJava
0 likes · 11 min read
Build a Java AI Gitee Assistant with LangChain4j and MCP: Step‑by‑Step Guide
FunTester
FunTester
Feb 22, 2025 · Backend Development

Introduction to Server-Sent Events (SSE) with Go Server and JavaScript Client

Server-Sent Events (SSE) provide a lightweight, HTTP‑based one‑way real‑time communication method, ideal for scenarios like financial data, social feeds, and log monitoring; the article explains its principles, advantages, message format, compares it with WebSockets, and offers complete Go server and JavaScript client code examples with deployment tips.

GoJavaScriptSSE
0 likes · 10 min read
Introduction to Server-Sent Events (SSE) with Go Server and JavaScript Client
Top Architect
Top Architect
Jan 13, 2025 · Backend Development

Understanding Server‑Sent Events (SSE) vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique

This article compares Server‑Sent Events, WebSocket, and traditional polling, explains why SSE can replace heavyweight WebSocket in one‑way push scenarios, provides configuration and code examples for Spring Boot, and shares practical lessons from real project experiences.

Real‑Time CommunicationSSEServer-Sent Events
0 likes · 12 min read
Understanding Server‑Sent Events (SSE) vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique
macrozheng
macrozheng
Jan 3, 2025 · Backend Development

Master Real-Time Push with Spring SseEmitter and Vue 3: A Step-by-Step Guide

This article introduces Spring's SseEmitter for server‑sent events, outlines its key features and use cases, and provides a complete end‑to‑end example—including Vue 3 front‑end setup, JavaScript client, and Spring Boot controller code—to enable real‑time message pushing between server and browser.

Real-time PushServer-Sent EventsSpring Boot
0 likes · 8 min read
Master Real-Time Push with Spring SseEmitter and Vue 3: A Step-by-Step Guide
Architect
Architect
Dec 17, 2024 · Backend Development

Why Choose Server-Sent Events (SSE) Over WebSocket: Comparison, Benefits, and Spring Boot Implementation

This article compares Server‑Sent Events, WebSocket, and traditional polling, explains why SSE is often a simpler and more efficient choice for one‑way real‑time communication, and provides a complete Spring Boot example with code snippets for publishing online‑user statistics.

Real‑Time CommunicationSSEServer-Sent Events
0 likes · 8 min read
Why Choose Server-Sent Events (SSE) Over WebSocket: Comparison, Benefits, and Spring Boot Implementation
Top Architect
Top Architect
Aug 28, 2024 · Backend Development

Server Push Techniques: SSE, WebSocket, and Polling – Usage, Comparison, and Demo

This article explains the three common server‑to‑client push methods—polling, WebSocket, and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, browser compatibility, and provides step‑by‑step demo code for both frontend and Node.js backend implementation.

ExpressNode.jsSSE
0 likes · 14 min read
Server Push Techniques: SSE, WebSocket, and Polling – Usage, Comparison, and Demo
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
Architect
Architect
May 16, 2024 · Backend Development

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

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events—detailing their principles, advantages, drawbacks, appropriate use‑cases, and provides complete front‑end and Node‑Express back‑end demo code to help developers choose and implement the right solution.

ExpressFrontendNode.js
0 likes · 12 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 15, 2024 · Backend Development

Simulating ChatGPT‑Style Typing with Spring WebFlux and SSE

This tutorial demonstrates how to use Spring WebFlux’s reactive streaming to create a ChatGPT‑like typing effect, covering backend setup, SSE integration, frontend Axios handling, and a comparison between Flux and traditional Server‑Sent Events.

AxiosJavaReactive Streams
0 likes · 8 min read
Simulating ChatGPT‑Style Typing with Spring WebFlux and SSE
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 27, 2023 · Backend Development

Choosing Between SSE and WebSocket in Spring Boot: A Practical Guide

This article compares Server‑Sent Events, WebSocket, and long‑polling for real‑time data push in Spring Boot, explains their communication models, performance trade‑offs, and provides complete server‑side and client‑side code examples for implementing SSE and custom event types.

Real‑Time CommunicationSSEServer-Sent Events
0 likes · 10 min read
Choosing Between SSE and WebSocket in Spring Boot: A Practical Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 7, 2023 · Backend Development

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

This tutorial explains the concept of Server‑Sent Events, compares it with WebSocket, and provides a step‑by‑step guide to create an SSE endpoint in a NestJS backend, enable CORS, and consume the stream from a React frontend using the native EventSource API.

NestJSReactSSE
0 likes · 7 min read
Implementing Server‑Sent Events (SSE) with NestJS and React
Tencent Cloud Developer
Tencent Cloud Developer
Jun 20, 2023 · Artificial Intelligence

Automating Visual Form Generation with AI‑Generated DSL

The article shows how to automate low‑code visual‑form creation by using AI to parse a one‑sentence requirement, split the task into summarizing components and few‑shot prompting, generate a JSON‑Schema DSL, and ensure smooth real‑time delivery via SSE and proper proxy configuration.

AIDSLJSON Schema
0 likes · 11 min read
Automating Visual Form Generation with AI‑Generated DSL