Tagged articles
445 articles
Page 1 of 5
James' Growth Diary
James' Growth Diary
May 13, 2026 · Backend Development

How Claude Code Bridges IDEs: Local IPC Meets Remote WebSocket

The article dissects Claude Code's bridge architecture, explaining how a local IDE extension communicates with a CLI via Unix domain sockets while a remote web UI talks to the same process through a WebSocket‑SSE‑polling fallback, and it details the three worker models, three‑layer transport downgrade, four‑layer authentication, the FlushGate pattern, observability design, and the trade‑offs and costs of this 31‑file system.

AuthenticationFlushGateIDE bridge
0 likes · 17 min read
How Claude Code Bridges IDEs: Local IPC Meets Remote WebSocket
James' Growth Diary
James' Growth Diary
May 2, 2026 · Artificial Intelligence

How to Add Real‑Time Speech Recognition and Streaming TTS to Your AI Agent

This guide walks through choosing the right voice‑agent architecture, implementing streaming ASR with WebSocket, triggering sentence‑by‑sentence TTS, wiring the three layers together via async generators, optimizing latency to under a second, and avoiding common pitfalls such as missing VAD and checkpoint persistence.

LangChainWebSocketasync generators
0 likes · 19 min read
How to Add Real‑Time Speech Recognition and Streaming TTS to Your AI Agent
Architect's Guide
Architect's Guide
Apr 29, 2026 · Backend Development

How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push

This article walks through building a Netty‑based WebSocket server integrated with Spring Boot, configuring the channel pipeline, implementing custom handlers, exposing a push‑message service, and testing the end‑to‑end flow that enables the backend to push real‑time messages to web clients.

BackendJavaNetty
0 likes · 8 min read
How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push
Shi's AI Notes
Shi's AI Notes
Apr 24, 2026 · Backend Development

How OpenAI’s Responses API WebSocket Revamp Accelerates Agent Workflows by 40%

OpenAI identified API‑overhead as the new bottleneck after faster model inference and introduced a persistent WebSocket connection that caches conversation state, overlaps request phases, and preserves the original API shape, delivering up to a 40% end‑to‑end latency reduction and dramatically higher TPS.

BackendOpenAIPerformance Optimization
0 likes · 11 min read
How OpenAI’s Responses API WebSocket Revamp Accelerates Agent Workflows by 40%
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2026 · Backend Development

Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis

This article demonstrates how to create a millisecond‑level real‑time online user tracking system using Spring Boot 3.5, WebSocket with STOMP, and Redis pub/sub, covering environment setup, Maven dependencies, server‑side configuration, presence services, event listeners, and a simple front‑end page.

JavaReal-TimeSpring Boot
0 likes · 10 min read
Build a Millisecond‑Level Real‑Time Online System with Spring Boot, WebSocket, and Redis
Network Intelligence Research Center (NIRC)
Network Intelligence Research Center (NIRC)
Apr 13, 2026 · Artificial Intelligence

Claude Code Source Leak: Inside Its Hardcore Communication Architecture

An accidental source‑code leak lets us dissect Claude Code’s networking stack, revealing a RemoteSessionManager that orchestrates WebSocket‑based downlink, HTTP‑POST uplink, strict permission‑approval flows, layered content/control streams, and a bridge layer that filters, deduplicates, and accelerates local message dispatch.

AI programming toolClaude CodeHTTP POST
0 likes · 8 min read
Claude Code Source Leak: Inside Its Hardcore Communication Architecture
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
Open Source Tech Hub
Open Source Tech Hub
Mar 28, 2026 · Industry Insights

Why Workerman’s WebSocket Beats Rust and TypeScript in the New HttpArena Benchmarks

The article analyzes the recent HttpArena benchmark results, highlighting how the PHP Workerman WebSocket implementation outperforms Rust and TypeScript frameworks on a high‑end Threadripper system, and explains the platform’s testing methodology, hardware setup, and the broader implications for real‑time web development.

BackendBenchmarkHttpArena
0 likes · 7 min read
Why Workerman’s WebSocket Beats Rust and TypeScript in the New HttpArena Benchmarks
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Mar 26, 2026 · Frontend Development

What Is CDP? Mastering the Frontend Debugging Toolchain

The article explains Chrome DevTools Protocol (CDP) as the JSON‑over‑WebSocket interface that lets external programs control Chrome, details its request/response and event model, shows a raw Node.js client, compares built‑in DevTools panels to CDP domains, and surveys the ecosystem of tools such as Puppeteer, Playwright, Cypress and Lighthouse that are built on top of CDP.

CDPChrome DevTools ProtocolNode.js
0 likes · 11 min read
What Is CDP? Mastering the Frontend Debugging Toolchain
Data STUDIO
Data STUDIO
Mar 24, 2026 · Backend Development

7 Python Libraries That Can Transform Your Network Programming

This article reviews seven Python libraries—trio, asyncssh, zeroconf, dpkt, socketify.py, pynetdicom, and mitmproxy—explaining their core features, providing code examples, and showing how each abstracts low‑level networking complexities to enable faster, more reliable network applications.

Async IODICOMNetwork programming
0 likes · 15 min read
7 Python Libraries That Can Transform Your Network Programming
AI Large Model Application Practice
AI Large Model Application Practice
Mar 9, 2026 · Backend Development

How OpenClaw’s Gateway Powers Scalable, Secure Agent Systems

This article explains the design of OpenClaw’s Gateway – the control‑plane that unifies channel access, message routing, agent provisioning, distributed node execution, session isolation and hot‑reload configuration – and shows how each piece enables a scalable, governed AI‑agent platform.

Agent SystemConfiguration ManagementOpenClaw
0 likes · 19 min read
How OpenClaw’s Gateway Powers Scalable, Secure Agent Systems
Architect
Architect
Feb 23, 2026 · Backend Development

Why OpenClaw’s Control Plane Uses a Two‑Phase Protocol and runId for Reliable Agent Jobs

The article explains how OpenClaw’s control plane guarantees reliable, idempotent, and observable agent execution by enforcing a two‑phase protocol, strict handshake, role‑based authorization, layered deduplication, gap‑recovery mechanisms, and schema‑driven validation, turning a simple message flow into a production‑grade job system.

BackendControl PlaneIdempotency
0 likes · 20 min read
Why OpenClaw’s Control Plane Uses a Two‑Phase Protocol and runId for Reliable Agent Jobs
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
Woodpecker Software Testing
Woodpecker Software Testing
Feb 11, 2026 · Artificial Intelligence

Building a Smart Face‑Recognition Attendance System with FastAPI and OpenCV

This article walks through the complete design and implementation of an intelligent attendance system that uses face detection, face encoding comparison, and liveness verification with the Python face_recognition library, OpenCV, FastAPI, SQLModel, and WebSocket communication, providing end‑to‑end code samples for backend APIs, database schema, and interactive front‑end pages.

FastAPIOpenCVPython
0 likes · 68 min read
Building a Smart Face‑Recognition Attendance System with FastAPI and OpenCV
Go Development Architecture Practice
Go Development Architecture Practice
Jan 28, 2026 · Backend Development

Accelerate Go Projects with Mix‑Go: Build CLI, API, Web, gRPC & Worker Pools Fast

This guide introduces Mix‑Go, a Go‑based rapid‑development framework that provides interactive scaffolding, command‑line prototyping, and a DI/IoC container, and walks through installing the tool, generating project skeletons, and creating functional CLI, API, Web, WebSocket, gRPC services and a worker‑pool queue consumer with complete code examples.

APICLIGo
0 likes · 28 min read
Accelerate Go Projects with Mix‑Go: Build CLI, API, Web, gRPC & Worker Pools Fast
Woodpecker Software Testing
Woodpecker Software Testing
Jan 25, 2026 · Artificial Intelligence

Integrating LLMs with Speech: Whisper, Vosk, and Alibaba Cloud in Python and JavaScript

This tutorial walks through setting up local speech recognition with OpenAI's Whisper and Vosk, leveraging Alibaba Cloud's ASR services, building a WebSocket server/client for real‑time audio streaming, capturing audio in the browser via MediaRecorder or RecordRTC, and performing speech synthesis with pyttsx3 and Alibaba's Sambert model.

Alibaba CloudJavaScriptPython
0 likes · 20 min read
Integrating LLMs with Speech: Whisper, Vosk, and Alibaba Cloud in Python and JavaScript
Open Source Tech Hub
Open Source Tech Hub
Jan 24, 2026 · Backend Development

Build Real-Time PHP Apps with PHPSocket.IO: A Quick Start Guide

PHPSocket.IO is a PHP implementation of the Socket.IO server that offers full compatibility with v1.3‑v2.x clients, automatic fallback to long‑polling, and seamless integration with PHP frameworks, and this guide walks you through its core features, differences, installation, and sample server‑client code.

PHPReal-TimeSocket.IO
0 likes · 10 min read
Build Real-Time PHP Apps with PHPSocket.IO: A Quick Start Guide
JavaScript
JavaScript
Jan 6, 2026 · Frontend Development

How to Auto‑Detect Front‑End Code Updates and Prompt Users to Refresh

This article explains why automatic update detection is essential for web apps, compares polling version files with server‑push techniques like SSE and WebSockets, and provides practical implementation steps and UX guidelines for prompting users to refresh.

PollingSSEUser experience
0 likes · 6 min read
How to Auto‑Detect Front‑End Code Updates and Prompt Users to Refresh
Lobster Programming
Lobster Programming
Dec 31, 2025 · Backend Development

How to Build Real-Time Live-Stream Comments: Polling, WebSocket, and SSE Compared

This article compares four approaches for delivering live‑stream comments—HTTP polling, WebSocket, Server‑Sent Events, and an upgraded SSE cluster design—explaining their mechanisms, trade‑offs in latency, resource usage, scalability, and how to achieve high‑availability real‑time comment delivery.

HTTP pollingSSESystem Architecture
0 likes · 7 min read
How to Build Real-Time Live-Stream Comments: Polling, WebSocket, and SSE Compared
DeWu Technology
DeWu Technology
Dec 15, 2025 · Backend Development

How Go Powers High‑Concurrency, High‑Availability Systems: 5 Real‑World Scenarios

This article explores five typical high‑concurrency, high‑availability scenarios—gRPC microservice communication, real‑time WebSocket messaging, API‑gateway rate limiting and circuit breaking, Redis‑Stream task queues, and Redis RedLock distributed locks—detailing the problems, Go‑centric solutions, code implementations, and supporting theory.

GoWebSocketgRPC
0 likes · 47 min read
How Go Powers High‑Concurrency, High‑Availability Systems: 5 Real‑World Scenarios
Java Architect Handbook
Java Architect Handbook
Dec 6, 2025 · Backend Development

Mastering Netty: From IO Models to a Real‑Time Chat Service

This article explains Netty’s architecture, compares Java’s BIO/NIO/AIO models, describes its thread models and pipeline, and provides a step‑by‑step guide with code to build a WebSocket‑based real‑time chat server using Spring Boot 3 and JDK 21.

Backend DevelopmentIO ModelJava
0 likes · 21 min read
Mastering Netty: From IO Models to a Real‑Time Chat Service
High Availability Architecture
High Availability Architecture
Dec 5, 2025 · Frontend Development

Mastering Real-Time Web Communication: WebSocket, SSE, WebRTC & Polling Explained

This comprehensive guide explores the core concepts, protocols, implementation steps, and typical use cases of WebSocket, Server‑Sent Events, WebRTC, and traditional polling, comparing their strengths and weaknesses to help developers choose the right real‑time communication technique for web applications.

PollingSSEWeb Development
0 likes · 21 min read
Mastering Real-Time Web Communication: WebSocket, SSE, WebRTC & Polling Explained
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2025 · Backend Development

How to Build a Scalable WebSocket Service with Netty, Spring Boot, and Vue2

This guide walks through creating a full‑stack WebSocket solution using Netty for the server, Spring Boot for lifecycle management, Redis for token validation, and Vue2 on the client, covering configuration, token handling, heartbeat detection, channel management, and message broadcasting with complete code examples.

NettySpring BootVue2
0 likes · 37 min read
How to Build a Scalable WebSocket Service with Netty, Spring Boot, and Vue2
Xiao Liu Lab
Xiao Liu Lab
Dec 1, 2025 · Operations

Master WebSocket Debugging with websocat: Install, Test, and Proxy

This guide introduces websocat, a Rust‑based command‑line utility for WebSocket, covering installation via package managers or source, basic echo testing, setting up local servers, bidirectional TCP‑WebSocket proxying, secure connections, performance tuning, and integration with systemd and Nginx.

Command-lineDebuggingProxy
0 likes · 6 min read
Master WebSocket Debugging with websocat: Install, Test, and Proxy
Xiao Liu Lab
Xiao Liu Lab
Nov 30, 2025 · Backend Development

Mastering SSE and WebSocket with Nginx: Complete Configuration Guide

This guide explains the differences between Server‑Sent Events and WebSocket, shows when to choose each technology, and provides step‑by‑step Nginx configuration snippets—including global mapping, SSE and WebSocket location blocks, troubleshooting tips, and a minimal debug setup—to ensure reliable real‑time communication in production.

SSEServer ConfigurationWebSocket
0 likes · 8 min read
Mastering SSE and WebSocket with Nginx: Complete Configuration Guide
Open Source Tech Hub
Open Source Tech Hub
Nov 27, 2025 · Frontend Development

Choosing the Right Real‑Time Communication Tech for Web Apps: WebSocket, SSE, WebRTC & Polling

This article explains the core concepts, protocols, handshake processes, data framing, connection management, and typical use‑cases of WebSocket, Server‑Sent Events, WebRTC, and traditional polling, then compares their strengths, weaknesses, and suitability for different web scenarios to guide developers in selecting the most appropriate real‑time communication technology.

SSEWeb DevelopmentWebRTC
0 likes · 20 min read
Choosing the Right Real‑Time Communication Tech for Web Apps: WebSocket, SSE, WebRTC & Polling
JavaGuide
JavaGuide
Nov 24, 2025 · Backend Development

Alibaba 2024 Backend Salary Ranges and Essential Interview Preparation Guide

The article details Alibaba's 2024 campus backend salary bands, compares them with peers, outlines the interview process and project presentation tips, and provides in‑depth technical tutorials on Redis Lua scripts, cache consistency, slow‑query logging, MySQL optimization, Java reflection, WebSocket vs polling, SSE, TCP/UDP, and HTTP vs HTTPS.

AlibabaBackendJava
0 likes · 24 min read
Alibaba 2024 Backend Salary Ranges and Essential Interview Preparation Guide
Open Source Tech Hub
Open Source Tech Hub
Nov 21, 2025 · Backend Development

Master API Testing Directly in JetBrains IDE with the Built‑in HTTP Client

This guide explains how JetBrains IDE's integrated HTTP client lets developers write .http or .rest scripts to send GET, POST, PUT, DELETE, GraphQL, and WebSocket requests, manage environments and variables, and handle authentication—all without leaving the editor, boosting productivity and simplifying API testing.

API testingGraphQLHTTP client
0 likes · 10 min read
Master API Testing Directly in JetBrains IDE with the Built‑in HTTP Client
Java Web Project
Java Web Project
Nov 18, 2025 · Backend Development

Building a Real‑Time Device Monitoring Dashboard with WebSocket and Spring Boot

This tutorial walks through creating a fire‑equipment inspection system where the backend Spring Boot service pushes abnormal device alerts via WebSocket to a Vue‑based front‑end that visualizes device status on a map, covering project setup, WebSocket configuration, client‑side handling, and end‑to‑end testing.

JavaJavaScriptSpring Boot
0 likes · 10 min read
Building a Real‑Time Device Monitoring Dashboard with WebSocket and Spring Boot
Java Architect Essentials
Java Architect Essentials
Nov 17, 2025 · Backend Development

Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation

This article explains the challenges of using WebSocket in a microservice environment, presents a lightweight library that abstracts long‑connection clustering, shows how to enable it with @EnableWebSocketLoadBalanceConcept, and details the underlying architecture, selectors, and heartbeat mechanisms for reliable message broadcasting.

JavaSpring CloudWebSocket
0 likes · 13 min read
Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation
Open Source Tech Hub
Open Source Tech Hub
Nov 8, 2025 · Frontend Development

How to Build Real‑Time Chat in WeChat Mini‑Programs Using WebSocket

This guide explains how to implement live‑room features such as comments, joining, leaving, likes, follows, and product updates in a WeChat mini‑program by using WebSocket for full‑duplex communication, covering the handshake process, API usage, message handling logic, and heartbeat‑based reconnection strategies.

JavaScriptWeChat Mini ProgramWebSocket
0 likes · 13 min read
How to Build Real‑Time Chat in WeChat Mini‑Programs Using WebSocket
JD Tech Talk
JD Tech Talk
Oct 28, 2025 · Frontend Development

Choosing the Right Real‑Time Communication Tech: WebSocket, SSE, or WebRTC

This article explains the core concepts, working principles, advantages, drawbacks, and typical use cases of WebSocket, Server‑Sent Events, and WebRTC, and provides a detailed comparison to help developers select the most suitable real‑time communication technology for their web applications.

SSEWebRTCWebSocket
0 likes · 19 min read
Choosing the Right Real‑Time Communication Tech: WebSocket, SSE, or WebRTC
Open Source Tech Hub
Open Source Tech Hub
Oct 27, 2025 · Backend Development

Build a Real‑Time Tadpole Chatroom with PHP Workerman and HTML5

An open‑source, instant‑interaction chatroom called “Tadpole” is built with PHP’s Workerman framework and HTML5, leveraging WebSocket for real‑time communication; the guide outlines its key features, installation steps for Linux and Windows, and usage examples for developers to extend the game.

HTML5PHPReal-time Chat
0 likes · 3 min read
Build a Real‑Time Tadpole Chatroom with PHP Workerman and HTML5
JavaScript
JavaScript
Oct 26, 2025 · Frontend Development

When to Choose SSE Over WebSocket? A Lightweight Real‑Time Solution

While WebSocket is the go‑to for full‑duplex real‑time apps, many scenarios only need one‑way server pushes, making Server‑Sent Events a simpler, lower‑overhead alternative that works with standard HTTP, offers automatic reconnection, and reduces complexity for dashboards, notifications, and live updates.

SSEWebSocketfrontend development
0 likes · 7 min read
When to Choose SSE Over WebSocket? A Lightweight Real‑Time Solution
Open Source Tech Hub
Open Source Tech Hub
Oct 15, 2025 · Game Development

Create Real‑Time Multiplayer Games Using Asyncio‑Gamekit for PHP

The Asyncio‑Gamekit library provides a Workerman‑based asynchronous game framework for PHP, offering room lifecycle management, player communication, broadcasting, timers, load balancing, persistence, logging, and testing, enabling developers to quickly build WebSocket‑driven multiplayer games such as card, board, and real‑time battle titles.

Game FrameworkPHPWebSocket
0 likes · 15 min read
Create Real‑Time Multiplayer Games Using Asyncio‑Gamekit for PHP
Code Wrench
Code Wrench
Oct 5, 2025 · Backend Development

Build a Real‑Time Go Stock Analyzer with WebSocket & Vue Frontend

This article details version 3.0 of a Go‑based stock analysis system that adds sector classification, persistent watchlists, scheduled strategy evaluation, real‑time WebSocket market feeds, K‑line charting with technical indicators, a Vue front‑end, deployment steps, future roadmap, and a public GitHub repository.

Backend DevelopmentGoVue
0 likes · 7 min read
Build a Real‑Time Go Stock Analyzer with WebSocket & Vue Frontend
Instant Consumer Technology Team
Instant Consumer Technology Team
Sep 30, 2025 · Artificial Intelligence

What Makes Youtu-GraphRAG’s Engineering Stand Out? Inside the AI Blueprint

This article dissects the engineering of Tencent's Youtu-GraphRAG, covering its architectural challenges, real‑time FastAPI/WebSocket design, security measures, iterative retrieval chains, parallel processing, intelligent caching, schema‑driven knowledge handling, and performance tweaks, offering practical insights for AI system builders.

AI EngineeringFastAPIGraphRAG
0 likes · 7 min read
What Makes Youtu-GraphRAG’s Engineering Stand Out? Inside the AI Blueprint
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
Code Wrench
Code Wrench
Sep 24, 2025 · Backend Development

Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS

This guide walks Go developers through the OSI and TCP/IP layering models, explains key transport and application protocols such as TCP, UDP, HTTP/1.1, HTTP/2, HTTP/3, RPC, WebSocket, and TLS, and provides practical Go code snippets and deployment tips for building performant, secure, and real‑time services.

GoHTTPNetwork Protocols
0 likes · 7 min read
Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 18, 2025 · Backend Development

Choosing the Right API Protocol: From RESTful to GraphQL, gRPC, WebSocket, and SSE

This article, based on the open‑source HiMarket project, systematically compares six mainstream API protocols—from classic RESTful and SOAP to modern GraphQL, microservice‑focused RPC frameworks, real‑time WebSocket, and streaming SSE—detailing their core concepts, technical traits, advantages, and ideal application scenarios.

APIGraphQLMicroservices
0 likes · 17 min read
Choosing the Right API Protocol: From RESTful to GraphQL, gRPC, WebSocket, and SSE
Java Tech Enthusiast
Java Tech Enthusiast
Sep 6, 2025 · Backend Development

Build a Web SSH Client with Spring Boot: From Architecture to Code

This tutorial walks through creating a browser‑based SSH client using Spring Boot, JSch, WebSocket, and Xterm.js, covering application scenarios, system architecture, backend and frontend implementation, file transfer features, database setup, performance tuning, and security best practices.

Backend DevelopmentJavaSSH
0 likes · 32 min read
Build a Web SSH Client with Spring Boot: From Architecture to Code
Architect's Guide
Architect's Guide
Aug 29, 2025 · Backend Development

Build a High‑Performance Go IM System with WebSocket: From Basics to Scaling

This article walks you through the fundamentals of instant‑messaging systems, explains the WebSocket protocol in depth, and provides a complete Go implementation for a scalable, high‑availability IM service with registration, authentication, single‑ and group‑chat, emoji and image support, plus optimization and architecture recommendations.

GoIM SystemWebSocket
0 likes · 40 min read
Build a High‑Performance Go IM System with WebSocket: From Basics to Scaling
Code Mala Tang
Code Mala Tang
Aug 25, 2025 · Frontend Development

Polling vs WebSocket: Choosing the Right Real‑Time Strategy for Your App

This article compares polling and WebSocket approaches for delivering real‑time updates, explains their advantages and drawbacks, provides React and Node.js code examples, and offers practical guidance on selecting the appropriate method based on task frequency and user experience requirements.

PollingReactReal-Time
0 likes · 7 min read
Polling vs WebSocket: Choosing the Right Real‑Time Strategy for Your App
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
Cognitive Technology Team
Cognitive Technology Team
Jul 7, 2025 · Backend Development

Master Spring Bean Scopes: Choose the Right Lifecycle for High‑Performance Apps

An in‑depth guide to Spring Bean scopes explains the seven standard scopes—including Singleton, Prototype, Request, Session, Application, Global Session, and WebSocket—detailing their lifecycles, configuration methods, core principles, and best‑practice scenarios to help developers choose the optimal scope for high‑performance, reliable applications.

Backend DevelopmentBean ScopeWebSocket
0 likes · 12 min read
Master Spring Bean Scopes: Choose the Right Lifecycle for High‑Performance Apps
Open Source Tech Hub
Open Source Tech Hub
Jun 22, 2025 · Frontend Development

Master WebSocket Basics: Handshake, Protocol, and a Live JavaScript Demo

This tutorial explains the WebSocket protocol, shows the exact client handshake request and server response, and provides a concise JavaScript example that opens a connection, sends a message, receives a reply, and closes the socket, illustrating real‑time full‑duplex communication.

JavaScriptReal-TimeWebSocket
0 likes · 2 min read
Master WebSocket Basics: Handshake, Protocol, and a Live JavaScript Demo
Java Web Project
Java Web Project
Jun 14, 2025 · Backend Development

When to Choose SSE, WebSocket, or Polling: A Practical Comparison

This article examines three server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events (SSE)—by detailing their mechanisms, listing concrete drawbacks and advantages, comparing them side‑by‑side, and providing step‑by‑step Node.js demos for real‑time dashboards and chat scenarios.

ExpressJavaScriptNode.js
0 likes · 13 min read
When to Choose SSE, WebSocket, or Polling: A Practical Comparison
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
macrozheng
macrozheng
Jun 13, 2025 · Backend Development

How to Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide

This article explains how to integrate WebSocket into a Spring Boot project to create a lightweight instant‑messaging system, covering dependency setup, configuration classes, core server implementation, required modules, common deployment issues, and practical solutions with complete code examples.

Backend DevelopmentDistributed SystemsInstant Messaging
0 likes · 14 min read
How to Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide
Architect's Guide
Architect's Guide
Jun 12, 2025 · Backend Development

How to Build QR Code Login with WebSocket in Spring Boot

This tutorial walks through designing a QR‑code login flow, defining a token table, outlining client and server roles, implementing two REST endpoints, configuring Spring Boot WebSocket support, and handling real‑time login notifications with Java and JavaScript code examples.

JavaJavaScriptQR Code Login
0 likes · 13 min read
How to Build QR Code Login with WebSocket in Spring Boot
Sohu Tech Products
Sohu Tech Products
Jun 11, 2025 · Frontend Development

Why WebSocket Is the Secret Weapon for Real‑Time Web Apps

This article explains how WebSocket enables low‑latency, bidirectional communication for AI‑driven real‑time applications, covering its protocol basics, advantages, heartbeat mechanism, connection management challenges, security enhancements, and emerging trends such as WebTransport and integration with modern frameworks.

HeartbeatWebSocketfrontend development
0 likes · 6 min read
Why WebSocket Is the Secret Weapon for Real‑Time Web Apps
php Courses
php Courses
Jun 10, 2025 · Backend Development

Build Real-Time Video Chat with PHP and WebRTC: Step-by-Step Guide

This tutorial walks you through creating a real-time video chat web app using PHP on the server side and WebRTC in the browser, covering environment setup, server code, client implementation, and how to run the application.

WebRTCWebSocketreal-time communication
0 likes · 6 min read
Build Real-Time Video Chat with PHP and WebRTC: Step-by-Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jun 6, 2025 · Frontend Development

How to Solve Cross-Origin Issues: CORS, JSONP, Nginx Proxy & More

This article explains why browsers enforce the Same‑Origin Policy, illustrates common CORS errors, and provides practical solutions—including CORS headers, JSONP, Nginx reverse proxy, API gateways, WebSocket, and postMessage—along with code examples and best‑practice tips for both development and production environments.

CORSCross-OriginJSONP
0 likes · 9 min read
How to Solve Cross-Origin Issues: CORS, JSONP, Nginx Proxy & More
Java Web Project
Java Web Project
May 26, 2025 · Backend Development

How to Integrate WebSocket with Spring Boot for Real‑Time Messaging

This guide walks through the problem of server‑initiated push in a Spring Boot project, explains why WebSocket is needed over HTTP, and provides step‑by‑step Maven setup, configuration classes, controller code, a test HTML page, and troubleshooting tips for proper initialization.

BackendJavaMessaging
0 likes · 12 min read
How to Integrate WebSocket with Spring Boot for Real‑Time Messaging
FunTester
FunTester
May 24, 2025 · Backend Development

How to Stress-Test Netty WebSocket for 10,000 Subscriptions and Keepalive

This article presents advanced WebSocket testing techniques—including asynchronous connection creation, result statistics, price verification, latency measurement, TPS modeling—and demonstrates a Netty‑WebSocket subscription test for 10,000 users plus Java‑ and Netty‑based keepalive implementations for high‑concurrency scenarios.

JavaKeepaliveNetty
0 likes · 7 min read
How to Stress-Test Netty WebSocket for 10,000 Subscriptions and Keepalive
Architect
Architect
May 22, 2025 · Backend Development

How to Build Real‑Time Device Monitoring with WebSocket and Spring Boot

This article demonstrates how to implement a real‑time device‑monitoring system using WebSocket, covering the problem scenario, front‑end Vue.js visualization, Spring Boot back‑end configuration, WebSocket server setup, and step‑by‑step testing to achieve instant status updates.

Backend DevelopmentJavaSpring Boot
0 likes · 11 min read
How to Build Real‑Time Device Monitoring with WebSocket and Spring Boot
FunTester
FunTester
May 22, 2025 · Operations

How to Stress‑Test a WebSocket Product Query API with Java

This guide walks you through designing, implementing, and analyzing a Java‑based performance test for a WebSocket product‑query interface, covering request/response formats, thread‑driven load generation, TPS control, console metrics, and response validation techniques.

BackendJavaLoad Testing
0 likes · 9 min read
How to Stress‑Test a WebSocket Product Query API with Java
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 21, 2025 · Backend Development

Master Node.js v24: Real‑Time Watch, Multi‑File Test, Native Env Files & Colorful Console

With Node.js v24 released, this guide demonstrates how to use the new --watch flag for live file monitoring, the --test command for multi‑file testing, native --env-file support for environment variables, colorful console output via util.styleText, and built‑in WebSocket client/server examples.

BackendCLIConsole Styling
0 likes · 9 min read
Master Node.js v24: Real‑Time Watch, Multi‑File Test, Native Env Files & Colorful Console
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
Open Source Tech Hub
Open Source Tech Hub
May 18, 2025 · Backend Development

Build Real-Time TCP and WebSocket Services with GatewayWorker on Windows

This guide introduces GatewayWorker, a PHP‑based distributed TCP long-connection framework, explains its Gateway-Worker process model, and provides step-by-step Windows demo instructions for both TCP and WebSocket protocols, highlighting deployment, code changes, testing procedures, and suitable real-time communication scenarios.

BackendGatewayWorkerPHP
0 likes · 6 min read
Build Real-Time TCP and WebSocket Services with GatewayWorker on Windows
FunTester
FunTester
May 18, 2025 · Backend Development

Building a High‑Performance Netty WebSocket Client for Large‑Scale Performance Testing

This article explains how to build a high‑performance Netty‑based WebSocket client for large‑scale performance testing, covering Netty fundamentals, custom handler implementation, client bootstrap configuration, message sending, connection closing, batch operations, and client encapsulation to reduce resource consumption and improve scalability.

BackendJavaNetty
0 likes · 14 min read
Building a High‑Performance Netty WebSocket Client for Large‑Scale Performance Testing
FunTester
FunTester
May 17, 2025 · Backend Development

Detailed Explanation of Java WebSocket Client Development

This article provides a comprehensive walkthrough of building a Java WebSocket client, covering client creation, connection establishment, message sending, graceful closure, header handling, and code encapsulation, with complete example code and best practices for performance testing and robust error handling.

JavaNetworkingPerformanceTesting
0 likes · 11 min read
Detailed Explanation of Java WebSocket Client Development
Programmer DD
Programmer DD
May 16, 2025 · Backend Development

Choosing the Right Real‑Time Web Technique: SSE, WebSocket or Long Polling?

This article compares three classic real‑time web technologies—Server‑Sent Events, WebSocket, and Long Polling—explaining their principles, Spring Boot implementations, advantages, disadvantages, and suitable scenarios to help developers select the optimal solution for live data updates.

BackendReal-TimeSSE
0 likes · 6 min read
Choosing the Right Real‑Time Web Technique: SSE, WebSocket or Long Polling?
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
Senior Tony
Senior Tony
May 13, 2025 · Backend Development

Master WebSocket: From Handshake to Real‑Time Messaging with Java & Spring

This tutorial explains WebSocket’s full‑duplex protocol, compares it with HTTP polling, outlines typical real‑time use cases, details the handshake and frame structure, and provides complete client‑side JavaScript and Spring Boot server examples to help developers quickly implement bi‑directional communication.

Backend DevelopmentJavaScriptSpring Boot
0 likes · 9 min read
Master WebSocket: From Handshake to Real‑Time Messaging with Java & Spring
Architect
Architect
Apr 25, 2025 · Backend Development

Building a High‑Performance Real‑Time Communication System with Netty and Spring Boot 3

This article explains Netty's asynchronous architecture, compares BIO/NIO/AIO models, describes its thread and pipeline designs, evaluates real‑time communication options, and provides complete frontend and backend code examples for creating a WebSocket‑based instant messaging service using Netty and Spring Boot 3.

Backend DevelopmentIO ModelJava
0 likes · 18 min read
Building a High‑Performance Real‑Time Communication System with Netty and Spring Boot 3