Tag

WebSocket

2 views collected around this technical thread.

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.

Instant MessagingReal‑Time CommunicationSpring Boot
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.

Real‑Time CommunicationSecurityWebSocket
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.

PHPReal‑Time CommunicationWeb Development
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
Test Development Learning Exchange
Test Development Learning Exchange
May 30, 2025 · Operations

Using Locust to Load Test WebSocket and Redis with Heartbeat Simulation

This guide explains how to set up and run Locust load tests for WebSocket connections and Redis interactions in Python, including client implementations, heartbeat simulation, and practical tips for resource management and concurrency control.

LocustPerformance TestingWebSocket
0 likes · 5 min read
Using Locust to Load Test WebSocket and Redis with Heartbeat Simulation
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
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.

JavaNettyPerformance Testing
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.

ClientJavaPerformanceTesting
0 likes · 11 min read
Detailed Explanation of Java WebSocket Client Development
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
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.

IO modelJavaNetty
0 likes · 18 min read
Building a High‑Performance Real‑Time Communication System with Netty and Spring Boot 3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 25, 2025 · Backend Development

Full‑Stack Gomoku Game with Vue 3, NestJS, AI Opponent, and Real‑Time Multiplayer

This article presents a complete Gomoku web application built with Vue 3 on the front end and NestJS on the back end, featuring customizable pieces, stylish UI, AI opponents of varying difficulty, and real‑time LAN multiplayer using Socket.io, along with detailed code examples and architectural explanations.

AIGomokuMonorepo
0 likes · 14 min read
Full‑Stack Gomoku Game with Vue 3, NestJS, AI Opponent, and Real‑Time Multiplayer
Java Captain
Java Captain
Apr 9, 2025 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Usage Scenarios, Advantages, and Implementation Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and SSE—detailing their principles, pros and cons, browser compatibility, and provides step‑by‑step Node.js/Express and plain JavaScript demos to illustrate how to implement SSE in real‑time applications.

ExpressJavaScriptNode.js
0 likes · 13 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Usage Scenarios, Advantages, and Implementation Demo
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
macrozheng
macrozheng
Apr 2, 2025 · Backend Development

When to Choose SSE, WebSocket, or Polling? A Hands‑On Guide

This tutorial compares server‑push techniques—polling, WebSocket, and Server‑Sent Events—detailing their mechanisms, advantages, and drawbacks, then walks through setting up a simple SSE demo with Node.js and plain HTML, helping developers pick the right solution for real‑time data scenarios.

ExpressNode.jsSSE
0 likes · 13 min read
When to Choose SSE, WebSocket, or Polling? A Hands‑On Guide
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