Tagged articles

WebSocket

465 articles · Page 4 of 5
Zhuanzhuan Tech
Zhuanzhuan Tech
May 18, 2022 · Backend Development

WebSocket Cluster Deployment in a Customer Service IM System

This article explains how a large-scale customer service instant messaging platform uses clustered WebSocket services, Redis, Nginx load balancing, and message‑queue broadcasting to achieve real‑time, reliable message delivery and robust reconnection handling across multiple servers.

Instant MessagingNGINXReal‑time communication
0 likes · 7 min read
WebSocket Cluster Deployment in a Customer Service IM System
政采云技术
政采云技术
Apr 19, 2022 · Frontend Development

Understanding the Chrome DevTools Protocol (CDP) for Remote Debugging

This article explains the Chrome DevTools Protocol (CDP), its architecture of frontend, backend, protocol and channels, and provides step‑by‑step instructions with code examples for launching a CDP server, connecting a client, and performing remote debugging of JavaScript, CSS and DOM through WebSocket or other transports.

CDPChrome DevToolsRemote Debugging
0 likes · 15 min read
Understanding the Chrome DevTools Protocol (CDP) for Remote Debugging
Code Ape Tech Column
Code Ape Tech Column
Apr 10, 2022 · Backend Development

Implementing Distributed WebSocket Clusters with Spring Cloud, Consistent Hashing, and Gateway

This article explores practical approaches for building a distributed WebSocket cluster in a Spring Cloud environment, covering session handling, Netty versus Spring WebSocket implementations, session broadcasting, consistent‑hash routing, gateway configuration, Ribbon limitations, and provides code examples for each solution.

Consistent HashingJavaWebSocket
0 likes · 17 min read
Implementing Distributed WebSocket Clusters with Spring Cloud, Consistent Hashing, and Gateway
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Mar 25, 2022 · Backend Development

Why WebSocket? Advantages, Comparison, and STOMP on Spring WebSocket

This article explains the limitations of HTTP for real‑time communication, compares WebSocket with polling, long‑polling, streaming and SSE, outlines WebSocket's benefits and typical use cases, and then details how STOMP complements WebSocket within Spring's messaging framework, including configuration and message flow.

MessageBrokerReal-timeSpring
0 likes · 27 min read
Why WebSocket? Advantages, Comparison, and STOMP on Spring WebSocket
JD Retail Technology
JD Retail Technology
Mar 21, 2022 · Frontend Development

Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development

This article explains the fundamentals of cross‑origin restrictions, cookies, and same‑origin policy for frontend developers, demonstrates common CORS errors with sample code, and presents practical solutions—including iframe/postMessage, JSONP, WebSocket, and CORS configurations on servers such as Node.js and Nginx—to enable secure and reliable cross‑domain communication.

CORSCross-OriginJSONP
0 likes · 21 min read
Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development
IT Services Circle
IT Services Circle
Mar 14, 2022 · Backend Development

Eight Node.js WebSocket Libraries to Consider in 2022

This article reviews eight popular Node.js WebSocket libraries—SockJS, ws, Socket.IO, Faye WebSocket, SocketCluster, Sockette, and Feathers—detailing their features, popularity, installation commands, and typical use cases for building real‑time backend applications.

JavaScriptNode.jsReal-time
0 likes · 7 min read
Eight Node.js WebSocket Libraries to Consider in 2022
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 10, 2022 · Backend Development

Engine.IO, Socket.IO & WebSocket: How Real-Time Communication Works

This article explains the relationships among WebSocket, Engine.IO, and Socket.IO, details Engine.IO’s features, handshake, upgrade and disconnect mechanisms, and provides practical code examples for building real‑time communication in Node.js applications, including packet encoding, transport options, and debugging techniques.

Engine.IOJavaScriptNode.js
0 likes · 18 min read
Engine.IO, Socket.IO & WebSocket: How Real-Time Communication Works
IT Services Circle
IT Services Circle
Feb 22, 2022 · Backend Development

Understanding RPC and Its Use in Web Reverse Engineering with Sekiro

This article explains the concept of Remote Procedure Call (RPC), demonstrates how to apply RPC for web reverse engineering by injecting JavaScript through WebSocket communication, and introduces the Sekiro framework and related tools for automating encryption parameter retrieval in browser environments.

AutomationJavaScriptRPC
0 likes · 15 min read
Understanding RPC and Its Use in Web Reverse Engineering with Sekiro
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Feb 21, 2022 · Backend Development

Design and Implementation of an Online Customer Service Instant Messaging System

This article details the design and implementation of an online customer service instant messaging system, covering requirements analysis, client‑server network model, HTTP and WebSocket protocols, distributed architecture choices such as routing rules, Redis shared memory, server‑master sync, and message‑queue broadcasting, and explains why Netty was selected as the development framework.

Backend DevelopmentInstant MessagingMessage Queue
0 likes · 17 min read
Design and Implementation of an Online Customer Service Instant Messaging System
Selected Java Interview Questions
Selected Java Interview Questions
Feb 18, 2022 · Backend Development

Implementing a WebSocket Chat Application with Spring Boot

This tutorial explains the advantages of WebSocket over HTTP and provides a step‑by‑step guide, including Maven dependency, Spring Boot configuration, a ServerEndpoint class, a simple HTML/JavaScript front‑end, and a controller method, to build a real‑time chat system with online/offline notifications and private or broadcast messaging.

Backend DevelopmentJavaReal‑time communication
0 likes · 10 min read
Implementing a WebSocket Chat Application with Spring Boot
ELab Team
ELab Team
Jan 25, 2022 · Frontend Development

Mastering WebSocket in WeChat Mini‑Programs: Handshake, Optimization & Real‑World Tips

This article explains the WebSocket handshake protocol, compares short‑polling, long‑polling, and WebSocket connections, and shares practical implementations in WeChat mini‑programs—including authentication, heartbeat, RTT simulation, compression, reconnection strategies, caching, and TCP_NODELAY tuning, complete with code examples.

WeChat Mini ProgramWebSocketheartbeat
0 likes · 9 min read
Mastering WebSocket in WeChat Mini‑Programs: Handshake, Optimization & Real‑World Tips
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Dec 29, 2021 · Frontend Development

Master WebRTC: Build P2P Video Calls with Vue, Node.js, and TURN

This tutorial explains WebRTC fundamentals, signaling via WebSocket, NAT traversal with STUN/TURN, peer‑to‑peer connection flow, media capture, screen sharing, recording, and deployment tips, providing complete Vue and Node.js code examples for building robust 1‑to‑1 and multi‑user video applications.

P2PSTUNTURN
0 likes · 30 min read
Master WebRTC: Build P2P Video Calls with Vue, Node.js, and TURN
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Dec 22, 2021 · Frontend Development

How to Sync Two Front‑End Apps in Real Time with WebSocket and Socket.io

Learn how to achieve real‑time data synchronization between separate front‑end applications by leveraging WebSocket and Socket.io, covering the protocol basics, connection setup, event handling, server implementation, alternative communication methods, and practical code examples for both client and server sides.

Real‑time communicationSocket.IOWebSocket
0 likes · 16 min read
How to Sync Two Front‑End Apps in Real Time with WebSocket and Socket.io
IT Architects Alliance
IT Architects Alliance
Dec 3, 2021 · Backend Development

Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)

This article details the evolution from a Node.js‑based WebSocket gateway to a Go‑implemented, gRPC‑driven architecture, describing the redesign of connection handling, TLS off‑loading, socket ID generation, session management, custom Kafka headers, code‑level optimizations, and extensive performance testing that validates the new gateway’s scalability and resource efficiency.

GoRedisWebSocket
0 likes · 22 min read
Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)
Top Architect
Top Architect
Dec 2, 2021 · Backend Development

Design and Performance Optimization of a High‑Scale WebSocket Gateway (Version 2.0)

This article describes the architectural evolution from Gateway 1.0 to Gateway 2.0 for a high‑traffic document collaboration platform, detailing the redesign of the WebSocket layer, resource‑usage optimizations, heartbeat mechanisms, custom Kafka headers, message serialization, load‑testing results, and the operational lessons learned to support millions of concurrent connections.

GoMicroservicesRedis
0 likes · 22 min read
Design and Performance Optimization of a High‑Scale WebSocket Gateway (Version 2.0)
Architecture Digest
Architecture Digest
Dec 2, 2021 · Backend Development

Design and Performance Optimization of a Million‑Scale WebSocket Gateway at Shimo Docs

This article details the redesign of Shimo Docs' WebSocket gateway—from a Node.js/Socket.IO 1.0 version to a Go‑based 2.0 architecture—covering handshake degradation, TLS memory savings, SnowFlake SocketID generation, Redis‑based session broadcasting, heartbeat tuning, custom Kafka headers, object pooling, MessagePack compression, extensive performance testing, and the resulting stability and scalability improvements for handling half‑a‑million concurrent connections.

GoMicroservicesRedis
0 likes · 23 min read
Design and Performance Optimization of a Million‑Scale WebSocket Gateway at Shimo Docs
Architect
Architect
Dec 1, 2021 · Backend Development

Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)

This article describes the evolution from a Node.js‑based WebSocket gateway to a Go‑powered, gRPC‑enabled architecture, detailing the redesign of the gateway, resource‑saving techniques, heartbeat and TLS optimizations, message‑broker choices, extensive performance testing, and the resulting improvements in CPU, memory, and scalability for millions of concurrent connections.

GoRedisWebSocket
0 likes · 25 min read
Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)
21CTO
21CTO
Nov 30, 2021 · Backend Development

Building a Million-Scale WebSocket Gateway: Architecture, Optimization & Performance

This article details the design, refactoring, and performance testing of a high‑traffic WebSocket gateway for Shimo Docs, covering the evolution from a Node.js Socket.IO version to a Go‑based microservice architecture, TLS memory tuning, socket ID generation, heartbeat handling, custom Kafka headers, and resource‑efficient scaling to half‑a‑million concurrent connections.

GoRedisWebSocket
0 likes · 25 min read
Building a Million-Scale WebSocket Gateway: Architecture, Optimization & Performance
High Availability Architecture
High Availability Architecture
Nov 30, 2021 · Backend Development

Design and Performance Optimization of a Million‑Scale WebSocket Gateway

This article details the evolution from a Node.js Socket.IO gateway to a Go‑based, gRPC‑enabled WebSocket gateway that supports millions of concurrent connections, covering architecture redesign, TLS handling, socket ID generation, session management, heartbeat optimization, custom Kafka headers, code‑level refinements, and extensive performance testing results.

GoRedisWebSocket
0 likes · 21 min read
Design and Performance Optimization of a Million‑Scale WebSocket Gateway
Top Architect
Top Architect
Nov 25, 2021 · Backend Development

Implement QR Code Login with WebSocket Using Spring Boot

This article explains how to build a QR‑code based login system by designing a token table, defining roles, creating two REST APIs (generate QR code and confirm identity), and integrating front‑end JavaScript with a Spring Boot WebSocket server, complete with full code examples and step‑by‑step instructions.

JavaJavaScriptQR Code Login
0 likes · 13 min read
Implement QR Code Login with WebSocket Using Spring Boot
FunTester
FunTester
Nov 23, 2021 · Backend Development

Master Go WebSocket with Gorilla: Build, Test, and Compare Clients

This guide walks through using the Gorilla WebSocket library in Go, covering dependency setup, server implementation with an Upgrader, Java and Go client examples, testing procedures, and performance observations that highlight Go's advantages for WebSocket workloads.

GoWebSocketbackend
0 likes · 6 min read
Master Go WebSocket with Gorilla: Build, Test, and Compare Clients
MaGe Linux Operations
MaGe Linux Operations
Nov 15, 2021 · Backend Development

Building a Django WebShell with WebSockets, ASGI, and Paramiko

This guide walks through creating a WebShell that lets a React front‑end control a remote virtual machine via Django‑based WebSocket services, covering ASGI setup, custom WebSocket handling, integration with Paramiko for SSH, and a lightweight xterm.js terminal client.

ASGIDjangoParamiko
0 likes · 11 min read
Building a Django WebShell with WebSockets, ASGI, and Paramiko
Alibaba Cloud Native
Alibaba Cloud Native
Nov 14, 2021 · Backend Development

How Live‑Streaming Architecture Handles Massive Traffic and Overcomes Key Challenges

The article explains the typical live‑streaming architecture, its core modules, the impact of CDN integration, and three major challenges—video‑stream pressure, low‑latency interactive protocols, and high‑concurrency pulse traffic—while showing how Alibaba Cloud PTS can be used for realistic performance testing.

CDNLive StreamingPTS
0 likes · 9 min read
How Live‑Streaming Architecture Handles Massive Traffic and Overcomes Key Challenges
FunTester
FunTester
Nov 11, 2021 · Backend Development

Building and Testing WebSocket Services in Go: A Hands‑On Guide

This article walks through developing a simple Go WebSocket server that echoes the current time, shows a minimal client, compares startup speed with Java, and provides full source code and test logs for practical performance testing.

GoWebSocketbackend
0 likes · 7 min read
Building and Testing WebSocket Services in Go: A Hands‑On Guide
Programmer DD
Programmer DD
Nov 7, 2021 · Backend Development

How to Build a Distributed WebSocket Cluster with Spring Cloud and Consistent Hashing

This article walks through the challenges of multi‑user WebSocket communication in a clustered environment and presents two practical solutions—session broadcasting and a consistent‑hashing based routing—using Spring Boot, Spring Cloud Gateway, Redis, Netty, and Ribbon to achieve scalable, reliable real‑time messaging.

Consistent HashingRedisSpring Boot
0 likes · 19 min read
How to Build a Distributed WebSocket Cluster with Spring Cloud and Consistent Hashing
IT Architects Alliance
IT Architects Alliance
Nov 2, 2021 · Backend Development

Building a Scalable Distributed WebSocket Cluster Using Spring Cloud & Consistent Hashing

This article analyzes the challenges of multi‑user WebSocket communication in a clustered environment, compares Netty and Spring WebSocket implementations, and presents two practical solutions—session broadcast and a consistent‑hashing based routing scheme—complete with code samples, gateway configuration, and load‑balancing considerations.

Consistent HashingNettyWebSocket
0 likes · 18 min read
Building a Scalable Distributed WebSocket Cluster Using Spring Cloud & Consistent Hashing
21CTO
21CTO
Oct 31, 2021 · Backend Development

How to Build a Distributed WebSocket Cluster with Spring Cloud, Eureka, and Consistent Hashing

This article explores practical approaches for enabling multi‑user communication in a distributed WebSocket cluster, covering session handling challenges, architecture design, technology stack choices, Netty versus Spring WebSocket implementations, consistent‑hashing load balancing, and detailed code examples for Spring Cloud Gateway and Ribbon integration.

Consistent HashingJavaSpring Boot
0 likes · 19 min read
How to Build a Distributed WebSocket Cluster with Spring Cloud, Eureka, and Consistent Hashing
Top Architect
Top Architect
Oct 26, 2021 · Backend Development

Implementing QR‑Code Login with WebSocket in Spring Boot

This article explains how to design a QR‑code login flow using a MySQL table, defines the involved roles, outlines required REST and WebSocket interfaces, and provides complete Spring Boot backend and JavaScript frontend code examples for generating QR codes, validating tokens, and notifying the client in real time.

Backend DevelopmentJavaSpring Boot
0 likes · 12 min read
Implementing QR‑Code Login with WebSocket in Spring Boot
Top Architect
Top Architect
Oct 21, 2021 · Backend Development

Implementing QR Code Login with WebSocket in Spring Boot

This article explains how to build a QR‑code based login system using Spring Boot, WebSocket, and JavaScript, covering database design, role analysis, API definitions, step‑by‑step implementation, and complete code examples for both backend and frontend components.

JavaQR loginSpring Boot
0 likes · 13 min read
Implementing QR Code Login with WebSocket in Spring Boot
Programmer DD
Programmer DD
Oct 12, 2021 · Backend Development

Build a Full‑Stack Chatroom with Spring Boot, Vue and WebSocket

This guide walks through setting up a full‑stack web chatroom demo built with Spring Boot, Vue, WebSocket, MySQL, Redis, RabbitMQ and FastDFS, covering the technology stack, core features, database schema, configuration files, and step‑by‑step deployment instructions.

FastDFSSpring BootVue
0 likes · 31 min read
Build a Full‑Stack Chatroom with Spring Boot, Vue and WebSocket
Programmer DD
Programmer DD
Oct 11, 2021 · Backend Development

Build a Real-Time Video Bullet Chat with Netty and WebSocket

This article walks through creating a real‑time video bullet‑chat system using Netty as the backend server and WebSocket for bidirectional communication, covering technology selection, architecture design, data flow, and detailed Java and HTML/JavaScript code to implement the interactive feature.

BulletChatJavaNetty
0 likes · 13 min read
Build a Real-Time Video Bullet Chat with Netty and WebSocket
Programmer DD
Programmer DD
Sep 30, 2021 · Backend Development

How to Build QR Code Login with WebSocket in Spring Boot

This tutorial walks through designing a QR‑code login flow using Spring Boot, detailing the required database schema, roles, API endpoints, server‑side WebSocket setup, and front‑end JavaScript to fetch the QR image, extract the UUID, and establish a real‑time connection for authentication.

QR loginWebSocketspring-boot
0 likes · 12 min read
How to Build QR Code Login with WebSocket in Spring Boot
Open Source Linux
Open Source Linux
Sep 8, 2021 · Backend Development

Build Real‑Time Messaging with the Open‑Source CIM Framework – A Hands‑On Overview

This article introduces the open‑source CIM instant‑messaging system, explains its Netty/WebSocket‑based backend architecture, outlines the available client SDKs and server modules, and showcases functional previews for console, Android, and web clients, guiding developers on how to adopt or adapt the solution.

CIMInstant MessagingNetty
0 likes · 4 min read
Build Real‑Time Messaging with the Open‑Source CIM Framework – A Hands‑On Overview
Architecture Digest
Architecture Digest
Sep 2, 2021 · Backend Development

Real-Time Video Bullet Chat Implementation Using Netty and WebSocket

This article demonstrates how to build a real‑time video bullet‑chat system by selecting Netty and WebSocket, designing a bidirectional service architecture, implementing a Java server with Netty handlers, and creating a browser client with HTML5 video and JavaScript to send and display scrolling comments.

JavaReal-timeWebSocket
0 likes · 12 min read
Real-Time Video Bullet Chat Implementation Using Netty and WebSocket
Ops Development Stories
Ops Development Stories
Aug 26, 2021 · Backend Development

Master Real-Time Communication: Build WebSocket Apps in Go

This guide explains how WebSockets enable full‑duplex communication over a single TCP connection, compares popular Go WebSocket libraries, and provides complete client‑server code examples for TCP, UDP, and HTTP‑based WebSocket implementations, helping developers build real‑time applications such as chat, games, and monitoring tools.

Backend DevelopmentGoGorilla
0 likes · 22 min read
Master Real-Time Communication: Build WebSocket Apps in Go
ByteDance Web Infra
ByteDance Web Infra
Aug 20, 2021 · Backend Development

In‑Depth Guide to Node.js Inspector: Usage, Principles, and Implementation

This article provides a comprehensive tutorial on using Node.js Inspector for local and remote debugging, automatic detection, data collection (heap snapshots and CPU profiles), dynamic activation, and a detailed walkthrough of its internal architecture and communication flow between the client, WebSocket, and V8 Inspector.

InspectorNode.jsProfiling
0 likes · 22 min read
In‑Depth Guide to Node.js Inspector: Usage, Principles, and Implementation
HelloTech
HelloTech
Aug 13, 2021 · Backend Development

Understanding WebSocket Protocol and Its Application in Real‑Time Speech Recognition

The article explains why traditional polling methods fall short for real‑time data, introduces the WebSocket protocol’s full‑duplex handshake and heartbeat mechanisms, and demonstrates how a Java‑based WebSocket service efficiently streams audio to an ASR engine for low‑latency speech recognition.

JavaReal‑time communicationSpring Boot
0 likes · 12 min read
Understanding WebSocket Protocol and Its Application in Real‑Time Speech Recognition
Code Ape Tech Column
Code Ape Tech Column
Aug 5, 2021 · Backend Development

Integrating WebSocket with Spring Boot: A Step‑by‑Step Guide

This article introduces WebSocket, explains why it is preferred over HTTP for real‑time communication, and provides a complete Spring Boot integration tutorial with Maven dependencies, configuration, server endpoint code, controller, and a simple HTML client, all illustrated with runnable examples.

JavaReal‑time communicationSpring Boot
0 likes · 12 min read
Integrating WebSocket with Spring Boot: A Step‑by‑Step Guide
FunTester
FunTester
Jun 10, 2021 · Operations

Step‑by‑Step Guide to Testing WebSocket APIs with JMeter

This tutorial walks you through preparing, installing JMeter and its WebSocket plugin, configuring a WebSocket sampler, and executing a full end‑to‑end test case, including JSON payload handling, result verification, and common pitfalls for reliable backend service testing.

API testingJMeterWebSocket
0 likes · 6 min read
Step‑by‑Step Guide to Testing WebSocket APIs with JMeter
Programmer DD
Programmer DD
May 23, 2021 · Backend Development

Master Real-Time Push: Spring Boot WebSocket Integration Guide

This article walks through building a real‑time push system with Spring Boot by integrating WebSocket and MQTT, covering the protocol basics, Maven setup, configuration classes, server implementation, controller endpoints, front‑end testing page, common pitfalls, and deployment tips.

Backend DevelopmentJavaMQTT
0 likes · 12 min read
Master Real-Time Push: Spring Boot WebSocket Integration Guide
Laravel Tech Community
Laravel Tech Community
May 15, 2021 · Backend Development

Key Changes in Tomcat 10.0.5 and Migration from Java EE to Jakarta EE

Tomcat 10.0.x targets Jakarta EE 9, requiring developers to replace the javax package with jakarta, and version 10.0.5 introduces proper JNDIRealm escaping, updated HandlesTypes handling, and a refactored, IoC‑friendly WebSocket creation process to ease migration from earlier Tomcat releases.

Java EEWebSocketbackend
0 likes · 2 min read
Key Changes in Tomcat 10.0.5 and Migration from Java EE to Jakarta EE
Architect's Tech Stack
Architect's Tech Stack
May 14, 2021 · Backend Development

Integrating WebSocket in Spring Boot for Real‑Time Server Push

This tutorial demonstrates how to integrate Spring Boot with WebSocket to achieve server‑initiated real‑time message pushing, covering dependency setup, configuration, server implementation, controller and client page code, and troubleshooting initialization order issues.

Backend DevelopmentJavaReal‑time communication
0 likes · 12 min read
Integrating WebSocket in Spring Boot for Real‑Time Server Push
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Apr 2, 2021 · Fundamentals

Introduction to Protobuf and Its Practical Application in Frontend and Backend Development

This article introduces Google Protocol Buffers, explains its binary encoding principles such as Tag‑Length‑Value, Varint and ZigZag, compares its efficiency with JSON/XML, and provides a step‑by‑step demo of building a Protobuf‑based WebSocket communication system using Node.js, protobufjs and a simple HTTP server.

Data SerializationNode.jsWebSocket
0 likes · 19 min read
Introduction to Protobuf and Its Practical Application in Frontend and Backend Development
IT Xianyu
IT Xianyu
Mar 31, 2021 · Backend Development

Open-Source Instant Messaging System (CIM) Overview and Features

This article introduces the open‑source CIM instant messaging system, detailing its server‑side architecture based on Netty or Mina, multi‑platform client support (WebSocket, Android, iOS, desktop), core modules, directory structure, and a preview of its console and client interfaces.

CIMInstant MessagingNetty
0 likes · 4 min read
Open-Source Instant Messaging System (CIM) Overview and Features
High Availability Architecture
High Availability Architecture
Mar 29, 2021 · Backend Development

Design and Implementation of a WebSocket Long‑Connection Gateway for Real‑Time Push

This article presents the design, implementation, and performance evaluation of a Netty‑based WebSocket long‑connection gateway that centralizes session management, decouples business logic, supports horizontal scaling, and provides monitoring and alerting for high‑throughput real‑time data push in iQIYI’s platform.

NettyRocketMQWebSocket
0 likes · 12 min read
Design and Implementation of a WebSocket Long‑Connection Gateway for Real‑Time Push
The Dominant Programmer
The Dominant Programmer
Mar 11, 2021 · Cloud Native

Integrating WebSocket in Spring Cloud (Ruoyi Microservice Edition) for Front‑End/Back‑End Message Push

This guide walks through adding the WebSocket starter to a Spring Boot service, configuring a WebSocketConfig class, implementing client and service components, adjusting Nacos gateway rules, testing with a WebSocket client tool, and exposing a REST endpoint to push messages to Vue front‑ends.

MicroservicesSpring BootVue
0 likes · 8 min read
Integrating WebSocket in Spring Cloud (Ruoyi Microservice Edition) for Front‑End/Back‑End Message Push
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Mar 4, 2021 · Backend Development

How Signaling Powers Real‑Time Audio/Video: Inside NERTC’s Network Library

This article explains the concept and role of signaling in real‑time audio/video, describes the single‑PeerConnection architecture using WebSocket, details the handshake, keep‑alive and reconnection mechanisms, and outlines NERTC’s modular network library design for robust communication under weak network conditions.

Network LibraryReal‑time communicationWebRTC
0 likes · 13 min read
How Signaling Powers Real‑Time Audio/Video: Inside NERTC’s Network Library
21CTO
21CTO
Mar 1, 2021 · Backend Development

How to Build a Scalable WebSocket Long‑Connection Gateway with Netty

This article explains the challenges of server‑push in HTTP, reviews WebSocket as the mainstream solution, and details the design, implementation, session management, monitoring, and performance testing of a Netty‑based distributed WebSocket long‑connection gateway used at iQIYI.

MonitoringNettyWebSocket
0 likes · 12 min read
How to Build a Scalable WebSocket Long‑Connection Gateway with Netty
Programmer DD
Programmer DD
Feb 27, 2021 · Backend Development

Build a WebSSH Terminal with Spring Boot, WebSocket and xterm.js

This article walks through creating a WebSSH solution from scratch using Spring Boot, WebSocket, JSch and the xterm.js front‑end library, covering dependency setup, backend WebSocket configuration, message handling, SSH session management, and a minimal HTML/JS client to display a browser‑based terminal.

Backend DevelopmentJavaSpring Boot
0 likes · 17 min read
Build a WebSSH Terminal with Spring Boot, WebSocket and xterm.js
iQIYI Technical Product Team
iQIYI Technical Product Team
Feb 26, 2021 · Backend Development

Design and Implementation of a WebSocket Long‑Connection Gateway for iQIYI Services

iQIYI built a Netty‑based WebSocket long‑connection gateway that centralizes session management, uses RocketMQ for cluster‑wide broadcast, provides a simple HTTP push API, scales horizontally to millions of connections, integrates Prometheus/Grafana monitoring, and dramatically cuts development effort for real‑time features such as comments and authentication.

Backend DevelopmentNettyRocketMQ
0 likes · 15 min read
Design and Implementation of a WebSocket Long‑Connection Gateway for iQIYI Services
Laravel Tech Community
Laravel Tech Community
Jan 26, 2021 · Backend Development

Engineering the Bifrost WebSocket Gateway at Postman: Architecture, Scaling, and Lessons Learned

The article recounts how Postman's Service Foundation team identified the limitations of the monolithic Sync service, designed and built the Bifrost WebSocket gateway using Fastify, AWS ElastiCache for Redis, and a private API, and scaled it through horizontal expansion and custom load‑factor metrics while sharing practical engineering insights.

AWSFastifyMicroservices
0 likes · 12 min read
Engineering the Bifrost WebSocket Gateway at Postman: Architecture, Scaling, and Lessons Learned
Open Source Tech Hub
Open Source Tech Hub
Jan 23, 2021 · Frontend Development

Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket

This guide explains how to use WebSocket in a WeChat Mini‑Program to implement real‑time features such as live‑room comments, user join/leave events, likes, follows, and product shelf updates, covering protocol basics, handshake details, API usage, example code, heartbeat monitoring, and automatic reconnection strategies.

JavaScriptReal‑time communicationWeChat Mini Program
0 likes · 14 min read
Mastering Real‑Time Chat in WeChat Mini‑Programs with WebSocket
FunTester
FunTester
Jan 20, 2021 · Backend Development

How to Implement and Test a Java Whiteboard Transmission API

This article explains the design and testing of a virtual‑classroom whiteboard feature, covering the socket‑based transmission protocol, data encoding, message structures, coordinate system, supporting Java classes (Point, BoardBase, BoardUser), shape‑drawing utilities, and a runnable demo that generates base64‑encoded MessagePack payloads.

API testingGraphicsJava
0 likes · 15 min read
How to Implement and Test a Java Whiteboard Transmission API
Programmer DD
Programmer DD
Jan 19, 2021 · Backend Development

How to Implement Real-Time WebSocket Messaging in Spring Boot

This article explains how to integrate WebSocket into a Spring Boot application, covering the protocol basics, Maven dependencies, configuration classes, server endpoint implementation, controller and front‑end code, and troubleshooting tips for full‑duplex real‑time communication.

Backend DevelopmentJavaSpring Boot
0 likes · 12 min read
How to Implement Real-Time WebSocket Messaging in Spring Boot
Baidu App Technology
Baidu App Technology
Dec 29, 2020 · Frontend Development

San DevTools Technical Analysis – Message Channel and DevTools Protocol

San DevTools implements a four‑module remote‑debugging architecture where the Message Channel uses WebSocket to multiplex bidirectional frontend‑backend communication, Chrome extensions exchange messages via ports and postMessage, and both a custom San DevTools Protocol and the standard Chrome DevTools Protocol are supported through hook‑based agents and client examples.

Chrome ExtensionDevTools ProtocolJavaScript
0 likes · 19 min read
San DevTools Technical Analysis – Message Channel and DevTools Protocol
Java Captain
Java Captain
Dec 27, 2020 · Backend Development

Implementing a WebSSH Terminal with SpringBoot, WebSocket, JSch, and xterm.js

This article demonstrates how to build a WebSSH terminal from scratch using SpringBoot for the backend, WebSocket for real‑time communication, JSch for SSH connections, and xterm.js for the front‑end terminal UI, including dependency setup, server‑side logic, and client‑side integration.

JavaWebSSHWebSocket
0 likes · 17 min read
Implementing a WebSSH Terminal with SpringBoot, WebSocket, JSch, and xterm.js
Baidu App Technology
Baidu App Technology
Dec 23, 2020 · Frontend Development

Technical Analysis of San DevTools – Architecture, Core Concepts, and Remote Debugging

The first part of the San DevTools Technical Analysis series explains its dual usage (Chrome extension or npm‑based standalone), outlines the overall architecture—including frontend UI panels, backend injection, a JSON‑based remote debugging protocol, and message‑channel transport—plus core modules such as Bridge, Hook, and Agent, and demonstrates initialization and remote‑debugging flows, setting the stage for deeper protocol exploration.

Chrome DevToolsRemote DebuggingSan DevTools
0 likes · 9 min read
Technical Analysis of San DevTools – Architecture, Core Concepts, and Remote Debugging
Python Programming Learning Circle
Python Programming Learning Circle
Dec 17, 2020 · Backend Development

Scraping Taobao Live Chat Messages Using Puppeteer and WebSocket Decryption

This article details a step‑by‑step method for extracting live chat bullet comments from Taobao live streams by analyzing page sources, intercepting the token‑providing API with Puppeteer, establishing a WebSocket connection, and decoding the received base64‑ and GZIP‑compressed messages to retrieve clean usernames and comment texts.

PuppeteerTaobaoWebSocket
0 likes · 9 min read
Scraping Taobao Live Chat Messages Using Puppeteer and WebSocket Decryption
FunTester
FunTester
Dec 4, 2020 · Backend Development

How to Test a Teacher‑Student Chat Socket API with Groovy Scripts

This article walks through building and executing a Groovy‑based test script that registers two users, joins a room, exchanges chat messages over a Socket (WebSocket) connection, and cleanly closes the sockets, illustrating the full workflow and code structure for backend socket API testing.

ChatGroovySocket
0 likes · 9 min read
How to Test a Teacher‑Student Chat Socket API with Groovy Scripts
FunTester
FunTester
Nov 30, 2020 · Backend Development

A Practical Java WebSocket Client Wrapper: Design, Features, and Demo

This article introduces a reusable Java WebSocket client wrapper that adds convenient date handling, message logging, configurable constants, and performance‑testing utilities, explains its implementation details with full source code, and provides a simple demo showing connection, messaging, and graceful shutdown.

GitJavaSocket
0 likes · 8 min read
A Practical Java WebSocket Client Wrapper: Design, Features, and Demo
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Nov 26, 2020 · Backend Development

How to Crawl Real-Time Data with Python WebSocket: A Step‑by‑Step Guide

This article explains how crawler engineers can fetch real‑time data such as sports scores, stock quotes, or cryptocurrency prices by comparing polling and WebSocket approaches, introducing the aiowebsocket library, and providing complete Python code to perform handshake, subscription, and continuous data streaming.

PythonReal-time DataWeb Scraping
0 likes · 10 min read
How to Crawl Real-Time Data with Python WebSocket: A Step‑by‑Step Guide
FunTester
FunTester
Nov 17, 2020 · Backend Development

Building a Java WebSocket Chat Server and Client with SpringBoot

This guide walks through creating a Java WebSocket chat application, covering a SpringBoot server implementation, client setup using java‑websocket, configuration pitfalls, a bean‑based scheduler, and a test script that simulates multiple users joining, messaging, and leaving the chat room.

JavaServerWebSocket
0 likes · 12 min read
Building a Java WebSocket Chat Server and Client with SpringBoot
php Courses
php Courses
Nov 10, 2020 · Backend Development

Building a Simple Chatroom with WebSocket and Swoole (PHP)

This tutorial demonstrates how to create a lightweight chatroom by combining WebSocket on the front end with Swoole's WebSocket server in PHP, covering project setup, required environment, client‑side HTML/JS, server‑side PHP code, and steps to run and test the application.

ChatroomJavaScriptPHP
0 likes · 8 min read
Building a Simple Chatroom with WebSocket and Swoole (PHP)
360 Quality & Efficiency
360 Quality & Efficiency
Nov 6, 2020 · Backend Development

Introduction to Swoole and Its Integration with ThinkPHP5

This article introduces Swoole as a high‑performance asynchronous PHP engine, explains its differences from traditional PHP execution, and provides step‑by‑step guidance on integrating Swoole with ThinkPHP5, including a complete code example and key implementation notes.

PHPSwooleThinkPHP5
0 likes · 7 min read
Introduction to Swoole and Its Integration with ThinkPHP5
vivo Internet Technology
vivo Internet Technology
Nov 4, 2020 · Frontend Development

WebSocket Practical Guide: From Basics to Production Deployment

This practical guide explains WebSocket fundamentals, demonstrates how to integrate and debug them in a project with webpack proxy and Nginx settings, implements heartbeat and reconnection logic for stability, and compares native WebSocket to Socket.io’s richer but heavier real‑time framework.

NGINXReal‑time communicationSocket.IO
0 likes · 5 min read
WebSocket Practical Guide: From Basics to Production Deployment
macrozheng
macrozheng
Oct 12, 2020 · Backend Development

How to Build Real‑Time Chat with RabbitMQ MQTT and Zero Backend Code

This guide explains how to use RabbitMQ's MQTT plugin and MQTT.js to implement instant messaging, covering MQTT protocol basics, enabling RabbitMQ MQTT and Web‑MQTT, using MQTTBox for testing, creating a pure HTML/JavaScript chat client, and integrating MQTT into a SpringBoot application for backend notifications.

Instant MessagingMQTTRabbitMQ
0 likes · 15 min read
How to Build Real‑Time Chat with RabbitMQ MQTT and Zero Backend Code
Programmer DD
Programmer DD
Sep 20, 2020 · Backend Development

Choosing the Right Java WebSocket Solution: Pros, Cons, and Performance Insights

This article reviews Java WebSocket options—including the Java EE specification, SockJS, Socket.IO, and reactive stream implementations—detailing their advantages, drawbacks, and performance characteristics, and provides benchmark data to help developers choose the most suitable solution for their backend communication needs.

ReactiveWebSocketbackend
0 likes · 6 min read
Choosing the Right Java WebSocket Solution: Pros, Cons, and Performance Insights
Architects Research Society
Architects Research Society
Sep 4, 2020 · Frontend Development

Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method

This article compares three real‑time data delivery techniques—long/short polling, Server‑Sent Events, and WebSockets—explaining their mechanisms, advantages, drawbacks, and providing sample client‑server implementations to help developers select the most suitable approach for a dashboard that streams GitHub/Twitter activity.

JavaScriptPollingReal-time
0 likes · 12 min read
Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method
vivo Internet Technology
vivo Internet Technology
Sep 2, 2020 · Fundamentals

Understanding DNS and WebSocket: From Dig Commands to Real‑Time Connections

This article provides a systematic, hands‑on guide to DNS fundamentals—including dig queries, hierarchical lookups, Wireshark packet analysis, traditional DNS drawbacks, and HTTPDNS solutions—followed by a deep dive into WebSocket mechanics, handshake, frame structure, and security considerations, all illustrated with practical examples and code.

DNSHTTPDNSNetwork Protocols
0 likes · 21 min read
Understanding DNS and WebSocket: From Dig Commands to Real‑Time Connections
Java Backend Technology
Java Backend Technology
Aug 9, 2020 · Backend Development

Explore a Java SpringBoot Base Admin System with Dynamic Permissions

This article introduces a lightweight, generic Java SpringBoot-based admin platform that offers permission, menu, and user management, system settings, real‑time logging and monitoring, API encryption, dynamic permission loading, and customizable features such as online user tracking and personalized menus, all illustrated with screenshots and code links.

AdminJavaWebSocket
0 likes · 9 min read
Explore a Java SpringBoot Base Admin System with Dynamic Permissions
Top Architect
Top Architect
Aug 4, 2020 · Backend Development

Implementing a Redis-Based Flash Sale System to Prevent Overselling

This article explains how to design a high‑concurrency flash‑sale (秒杀) system using Redis to preload inventory, pre‑decrement stock, queue requests asynchronously, generate orders, and notify users via WebSocket, thereby avoiding overselling and improving performance under heavy load.

WebSocket
0 likes · 4 min read
Implementing a Redis-Based Flash Sale System to Prevent Overselling