Tagged articles
47 articles
Page 1 of 1
Code Wrench
Code Wrench
Mar 27, 2026 · Artificial Intelligence

Building and Understanding LocalAI Agents: From YAML Config to Source Code

This tutorial walks through creating a custom LocalAI Agent with a simple YAML file, invoking it via the API, and then dives into the Go source code that registers routes, handles asynchronous chat requests, and manages agent state and memory for multi‑turn, tool‑driven interactions.

AI agentsGoLocalAI
0 likes · 7 min read
Building and Understanding LocalAI Agents: From YAML Config to Source Code
Top Architect
Top Architect
Feb 14, 2026 · Backend Development

When to Use SSE vs WebSocket vs Polling: A Practical Node.js Guide

This article explains the three common server‑to‑client push techniques—polling, WebSocket and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, browser compatibility, key APIs, and provides a complete Node.js/Express demo with front‑end code to help developers choose the right solution for real‑time data scenarios.

Backend DevelopmentExpressNode.js
0 likes · 16 min read
When to Use SSE vs WebSocket vs Polling: A Practical Node.js Guide
Architecture Digest
Architecture Digest
Sep 28, 2025 · Backend Development

When to Use SSE vs WebSocket: A Practical Guide with Node.js Demo

This article explains server‑to‑client push scenarios, compares polling, WebSocket and Server‑Sent Events (SSE), details SSE APIs and browser compatibility, and provides complete front‑end and back‑end Node.js demos to help you choose the right technology for real‑time data delivery.

Backend DevelopmentNode.jsPolling
0 likes · 11 min read
When to Use SSE vs WebSocket: A Practical Guide with Node.js Demo
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 5, 2025 · Backend Development

Master Real-Time Data Streaming in Spring Boot 3: StreamingResponseBody vs SSE

This article compares Spring Boot 3's StreamingResponseBody and SseEmitter approaches for server‑side streaming, providing complete backend and frontend implementations, code samples, and performance considerations to help developers choose the right solution for real‑time data delivery.

Backend DevelopmentJava backendReal-time Streaming
0 likes · 8 min read
Master Real-Time Data Streaming in Spring Boot 3: StreamingResponseBody vs SSE
Tech Freedom Circle
Tech Freedom Circle
Aug 29, 2025 · Backend Development

What Is SSE? Why Is This 20‑Year‑Old Technology Suddenly Booming? – Interview Deep Dive

This article provides a comprehensive interview‑style analysis of Server‑Sent Events (SSE), covering its definition, 20‑year history, core features, data format, Java Spring Boot implementation, client‑side EventSource usage, detailed comparison with WebSocket and other polling techniques, and a decision guide for choosing the right real‑time communication protocol in modern AI‑driven applications.

AIJavaReal-Time
0 likes · 47 min read
What Is SSE? Why Is This 20‑Year‑Old Technology Suddenly Booming? – Interview Deep Dive
Lin is Dream
Lin is Dream
Jul 9, 2025 · Backend Development

Mastering Reactive Streaming with Spring WebFlux: Build Real‑Time APIs Like DeepSeek

This article explains how traditional synchronous JSON responses differ from modern streaming responses, introduces reactive programming concepts, and shows step‑by‑step how to implement non‑blocking, high‑throughput APIs using Spring WebFlux, Mono/Flux, SSE, WebSocket, and related protocols.

JavaServer-Sent EventsStreaming API
0 likes · 10 min read
Mastering Reactive Streaming with Spring WebFlux: Build Real‑Time APIs Like DeepSeek
JavaScript
JavaScript
Jun 14, 2025 · Frontend Development

Why Server‑Sent Events (SSE) May Beat WebSocket for One‑Way Updates

While WebSocket is often the go‑to solution for real‑time web apps, many scenarios only need one‑way data pushes; this article explains how Server‑Sent Events (SSE) provide a lightweight, HTTP‑based alternative with simpler implementation, lower overhead, and built‑in reconnection support.

Backend DevelopmentSSEServer-Sent Events
0 likes · 7 min read
Why Server‑Sent Events (SSE) May Beat WebSocket for One‑Way Updates
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.

Backend DevelopmentFastAPIPython
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.

EventSourceNode.jsReal-Time
0 likes · 16 min read
Enterprise-Level Server-Sent Events (SSE) Implementation for Ctrip Flight Frontend
Architect
Architect
Apr 28, 2025 · Backend Development

Master Real-Time Log Streaming in Spring Boot with ResponseBodyEmitter

Learn how to implement efficient real-time log streaming in Spring Boot using ResponseBodyEmitter, covering its purpose, core methods, usage scenarios, step-by-step controller code, connection lifecycle management, comparison with SSE and Streaming, and important considerations for client support, timeouts, and thread safety.

HTTP Chunked TransferJavaReal-time Streaming
0 likes · 11 min read
Master Real-Time Log Streaming in Spring Boot with ResponseBodyEmitter
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.

GoReal-TimeSSE
0 likes · 10 min read
Introduction to Server-Sent Events (SSE) with Go Server and JavaScript Client
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.

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

Why ChatGPT Uses Server-Sent Events (SSE) and How to Implement SSE in Spring Boot

This article explains why ChatGPT adopts Server-Sent Events for streaming responses, compares SSE with WebSocket, outlines SSE's core principles and best‑practice considerations, and provides a complete Spring Boot example—including server‑side Java code and client‑side HTML—to demonstrate real‑time data push.

JavaSSEServer-Sent Events
0 likes · 14 min read
Why ChatGPT Uses Server-Sent Events (SSE) and How to Implement SSE in Spring Boot
Open Source Tech Hub
Open Source Tech Hub
Oct 31, 2024 · Backend Development

How to Build Real-Time SSE and HTTP Chunk Streams in Webman (PHP)

This guide explains the concept of stream output, its advantages and typical scenarios, then provides step‑by‑step implementations of Server‑Sent Events and HTTP chunk streaming using the Webman framework, including PHP process code, configuration, startup commands, and front‑end testing.

HTTP ChunkPHPReal-time Streaming
0 likes · 9 min read
How to Build Real-Time SSE and HTTP Chunk Streams in Webman (PHP)
phodal
phodal
Oct 20, 2024 · Backend Development

Why Streaming BFF Is the Missing Glue for AI‑Native Apps

The article proposes a Streaming Backend‑for‑Frontend (BFF) layer to unify heterogeneous AI agents, handle Server‑Sent Events streams, and resolve interface inconsistencies, offering a practical architecture for generative‑AI‑native systems across IDEs, DevOps, and team‑AI scenarios.

AI ArchitectureBackend DevelopmentServer-Sent Events
0 likes · 13 min read
Why Streaming BFF Is the Missing Glue for AI‑Native Apps
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
Su San Talks Tech
Su San Talks Tech
May 28, 2024 · Backend Development

Mastering Web Push: 6 Real‑World Strategies from Short Polling to SSE and WebSocket

This article walks through six practical web‑push techniques—including short polling, long polling, iframe streaming, Server‑Sent Events, MQTT, and WebSocket—explaining their principles, trade‑offs, and providing complete Spring Boot and JavaScript code samples to help developers implement real‑time notification badges.

JavaServer-Sent EventsSpring Boot
0 likes · 18 min read
Mastering Web Push: 6 Real‑World Strategies from Short Polling to SSE and WebSocket
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.

ExpressNode.jsPolling
0 likes · 12 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo
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
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Sep 1, 2023 · Frontend Development

Top Front‑End Insights: From Server‑Sent Events to Micro‑Frontends

This roundup explores cutting‑edge front‑end topics—from using Server‑Sent Events instead of WebSocket and the innovative Rome toolchain, to Git rebase strategies, the status of wangEditor, precise page‑dwell measurement, and the merits of micro‑frontends—while also debunking AI‑related programmer anxiety.

AIGitMicro Frontends
0 likes · 5 min read
Top Front‑End Insights: From Server‑Sent Events to Micro‑Frontends
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
JavaScript
JavaScript
Apr 27, 2023 · Frontend Development

Master Real-Time Frontend: Long Polling vs Server-Sent Events Explained

Explore how long polling and Server‑Sent Events enable real‑time data exchange in front‑end development, comparing their principles, advantages, drawbacks, and providing practical JavaScript examples to help you choose the optimal technique for your application.

JavaScriptServer-Sent Eventsfrontend development
0 likes · 5 min read
Master Real-Time Frontend: Long Polling vs Server-Sent Events Explained
Architects Research Society
Architects Research Society
Feb 19, 2023 · Backend Development

Choosing Between Polling, Server‑Sent Events, and WebSockets for Real‑Time Web Applications

This article compares three real‑time communication techniques—long/short polling, WebSockets, and Server‑Sent Events—by explaining their mechanisms, presenting client‑ and server‑side code examples, and discussing their advantages, drawbacks, and suitable use‑cases to help developers select the appropriate method for a dashboard application.

BackendPollingReal-Time
0 likes · 12 min read
Choosing Between Polling, Server‑Sent Events, and WebSockets for Real‑Time Web Applications
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?
Ctrip Technology
Ctrip Technology
Oct 12, 2017 · Frontend Development

Comparison of Web Push Technologies and Practical Implementation for Real‑Time Order Notifications

This article compares common web push techniques—including short polling, long polling, iframe streaming, WebSocket, and Server‑Sent Events—examining their principles, advantages, and drawbacks, and presents a practical selection and implementation case for real‑time order notifications in a client‑server application.

Server-Sent EventsWebSocketlong polling
0 likes · 10 min read
Comparison of Web Push Technologies and Practical Implementation for Real‑Time Order Notifications
Node Underground
Node Underground
Jul 13, 2017 · Backend Development

Mastering Event‑Driven APIs: 5 Architectures Every Backend Engineer Should Know

This article explores five event‑driven API architectures—WebSockets, WebHooks, REST Hooks, Pub‑Sub, and Server‑Sent Events—detailing their core functions, usage patterns, and pros and cons, while highlighting how they enable asynchronous communication and resource efficiency in modern web systems.

APIAsynchronousServer-Sent Events
0 likes · 2 min read
Mastering Event‑Driven APIs: 5 Architectures Every Backend Engineer Should Know