Tagged articles
445 articles
Page 3 of 5
Open Source Tech Hub
Open Source Tech Hub
Dec 10, 2023 · Backend Development

Why WebSocket Heartbeat Is Essential and How to Implement It

This article explains why heartbeat detection is crucial for WebSocket connections, describes the underlying Ping/Pong mechanism, details server and client configuration parameters, and provides complete code examples for implementing reliable heartbeat and reconnection logic.

BackendHeartbeatPHP
0 likes · 9 min read
Why WebSocket Heartbeat Is Essential and How to Implement It
Open Source Tech Hub
Open Source Tech Hub
Dec 10, 2023 · Backend Development

How to Persist WebSocket Messages with MySQL in a PHP Webman App

This guide explains how to implement server‑side WebSocket message persistence using MySQL, covering requirement analysis, database schema design, Think‑ORM integration, event handling code, testing scripts, and performance considerations for high‑concurrency scenarios.

PHPWebSocketWebman
0 likes · 10 min read
How to Persist WebSocket Messages with MySQL in a PHP Webman App
Open Source Tech Hub
Open Source Tech Hub
Dec 9, 2023 · Backend Development

Build Real‑Time Group & Private Chat with WebSocket and PHP Validation

This guide explains how to design group and private chat messages, define a unified JSON protocol, validate payloads with a custom validator, and implement WebSocket callbacks (onWorkerStart, onWebSocketConnect, onMessage, onClose) using PHP and JavaScript client examples for both one‑to‑one and group conversations.

BackendPHPReal-time Chat
0 likes · 11 min read
Build Real‑Time Group & Private Chat with WebSocket and PHP Validation
php Courses
php Courses
Dec 9, 2023 · Backend Development

How to Build a WebSocket Chat Server with PHP and Ratchet

This tutorial explains how to set up a real‑time chat application by installing the Ratchet library with Composer, creating a PHP WebSocket server, launching it, and building a simple HTML/JavaScript client that connects to ws://localhost:8080 to exchange messages instantly.

PHPRatchetReal-time Chat
0 likes · 5 min read
How to Build a WebSocket Chat Server with PHP and Ratchet
Open Source Tech Hub
Open Source Tech Hub
Dec 3, 2023 · Backend Development

Standardizing API Response Formats and Error Handling in PHP

This guide outlines a unified JSON response structure, defines standard HTTP status codes, presents common data payload formats, provides reusable PHP functions for broadcasting messages, and demonstrates custom error handling within a WebSocket gateway to improve backend consistency and robustness.

APIError HandlingPHP
0 likes · 6 min read
Standardizing API Response Formats and Error Handling in PHP
Open Source Tech Hub
Open Source Tech Hub
Dec 2, 2023 · Backend Development

Mastering WebSocket with Webman: From Handshake to Real‑Time Messaging

This guide explains WebSocket fundamentals, shows the HTTP handshake process, provides JavaScript client examples, and walks through a full server‑side implementation using the high‑performance PHP Webman framework with the GatewayWorker plugin, including installation, configuration, and advanced message handling.

GatewayWorkerPHPWebSocket
0 likes · 8 min read
Mastering WebSocket with Webman: From Handshake to Real‑Time Messaging
HomeTech
HomeTech
Dec 1, 2023 · Artificial Intelligence

Building a Private Knowledge Base and Large‑Model Platform for Enterprise AI Assistants

This article describes how an enterprise leveraged GPT‑3.5 and other large language models to create a private knowledge base, design prompt engineering, implement plugin extensions, and build a secure, scalable backend and front‑end integration platform that enables AI‑driven customer‑service assistants across multiple business lines.

AIPrivate Knowledge BasePrompt engineering
0 likes · 19 min read
Building a Private Knowledge Base and Large‑Model Platform for Enterprise AI Assistants
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 29, 2023 · Frontend Development

Advanced Next.js Techniques to Optimize Performance

This article presents advanced Next.js techniques—including dynamic imports, CDN asset publishing, server‑side caching, Incremental Static Regeneration, and custom server integration for WebSockets—to help developers build faster, more scalable, and performance‑optimized web applications.

CDNISRNext.js
0 likes · 8 min read
Advanced Next.js Techniques to Optimize Performance
Architect
Architect
Nov 20, 2023 · Backend Development

Real-Time Device Monitoring with WebSocket Using Vue and SpringBoot

This article demonstrates how to build a real‑time device monitoring system by using WebSocket for server‑client communication, Vue for the front‑end display, and SpringBoot for the back‑end service, covering code examples, configuration, and testing steps.

BackendVue.jsWebSocket
0 likes · 10 min read
Real-Time Device Monitoring with WebSocket Using Vue and SpringBoot
Top Architect
Top Architect
Nov 20, 2023 · Backend Development

Real‑Time Monitoring System Using WebSocket with SpringBoot and Vue

This article demonstrates how to build a real‑time equipment‑monitoring solution by using WebSocket for server‑to‑client push, with a SpringBoot backend that handles WebSocket connections and a Vue.js front‑end that visualizes device status and updates instantly when an abnormal event is reported.

SpringBootVue.jsWebSocket
0 likes · 11 min read
Real‑Time Monitoring System Using WebSocket with SpringBoot and Vue
FunTester
FunTester
Nov 17, 2023 · Blockchain

Using Web3j to Send Ethereum JSON‑RPC Requests via WebSocket

This article explains how to construct and send Ethereum JSON‑RPC calls such as net_version through a WebSocket connection using the Web3j Java library, including source code analysis, request construction, and a practical example with console output.

BlockchainEthereumJSON-RPC
0 likes · 5 min read
Using Web3j to Send Ethereum JSON‑RPC Requests via WebSocket
Liangxu Linux
Liangxu Linux
Oct 12, 2023 · Fundamentals

8 Essential Network Protocols Every Developer Should Know

This article provides a concise visual guide to eight popular network protocols—including HTTP, HTTP/3, HTTPS, WebSocket, TCP, UDP, SMTP, and FTP—explaining their core functions, typical use cases, and how they enable reliable data exchange across the Internet.

FTPHTTPNetwork Protocols
0 likes · 4 min read
8 Essential Network Protocols Every Developer Should Know
Programmer DD
Programmer DD
Sep 13, 2023 · Backend Development

6 Common API Patterns Every Developer Should Master

This article presents a concise animated overview of six widely used API patterns—gRPC, SOAP, GraphQL, WebHook, REST, and WebSocket—explaining their core concepts, typical use cases, and relevance in modern software development, and points to short video tutorials for deeper understanding.

API patternsGraphQLWebSocket
0 likes · 4 min read
6 Common API Patterns Every Developer Should Master
Goodme Frontend Team
Goodme Frontend Team
Sep 11, 2023 · Frontend Development

Master WebSocket: From Handshake to Real‑Time Data Streams

This article explains WebSocket fundamentals, including its definition, handshake process, data frame structure, binary handling, stream usage, networking details like MTU/MSS, and practical Node.js examples, providing a comprehensive guide for real‑time web communication.

NetworkingWebSocketbinary data
0 likes · 20 min read
Master WebSocket: From Handshake to Real‑Time Data Streams
Java Architect Essentials
Java Architect Essentials
Sep 6, 2023 · Backend Development

Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation

This article explains how to solve the WebSocket message delivery problem in microservice architectures by using a lightweight library that provides an @EnableWebSocketLoadBalanceConcept annotation, detailing its design, connection management, message routing, and customizable selectors for targeted delivery.

Distributed SystemsJavaMicroservices
0 likes · 13 min read
Achieve WebSocket Load Balancing Across Microservice Instances with a Single Annotation
Top Architect
Top Architect
Sep 1, 2023 · Backend Development

WebSocket Load‑Balancing Concept Library for Microservice Clusters

This article introduces a Spring‑Boot library that solves WebSocket message loss in microservice architectures by enabling automatic inter‑instance load balancing, configurable annotations, connection management, custom selectors for targeted messaging, and includes code examples, design diagrams, and promotional information for related community resources.

JavaMessage RoutingWebSocket
0 likes · 13 min read
WebSocket Load‑Balancing Concept Library for Microservice Clusters
Top Architect
Top Architect
Aug 30, 2023 · Backend Development

Integrating WebSocket in Spring Boot: Javax, WebMVC, WebFlux and Third‑Party Libraries

This article provides a comprehensive guide on implementing WebSocket in Spring Boot, covering the Javax API, Spring WebMVC and WebFlux configurations, client and server setups, message handling, handshake interceptors, and a brief overview of popular third‑party libraries such as Java‑WebSocket, SocketIO and Netty.

JavaSpring BootWebSocket
0 likes · 20 min read
Integrating WebSocket in Spring Boot: Javax, WebMVC, WebFlux and Third‑Party Libraries
Top Architect
Top Architect
Aug 28, 2023 · Backend Development

WebSocket Load‑Balancing Concept Library for Microservice Architectures

This article introduces a Spring‑Boot library that uses a single annotation to enable WebSocket (and other long‑connection) load balancing across multiple microservice instances, explains its abstract connection model, shows how to configure and use it with code examples, and describes the underlying connection management, selector, and message routing mechanisms.

JavaSpringBootWebSocket
0 likes · 14 min read
WebSocket Load‑Balancing Concept Library for Microservice Architectures
FunTester
FunTester
Aug 27, 2023 · Backend Development

Implementing a Netty WebSocket Client in Java

This article explains how to replace thread‑heavy WebSocket or Socket.IO clients with a Netty‑based Java WebSocket client, covering Maven dependencies, connection setup, event‑loop management, message sending, and a custom channel handler for high‑concurrency scenarios.

BackendJavaNetty
0 likes · 10 min read
Implementing a Netty WebSocket Client in Java
Sohu Tech Products
Sohu Tech Products
Aug 16, 2023 · Frontend Development

Accelerate JS Reverse Engineering with Sekiro RPC: A Step‑by‑Step Guide

This tutorial demonstrates how to bypass complex, layered encryption on a target website by using Sekiro RPC to invoke browser methods directly, covering analysis of the encrypted sign parameter, setting conditional breakpoints, overriding JavaScript files, defining a Sekiro client, and retrieving the signature via Python.

Browser debuggingJS reverse engineeringOverrides
0 likes · 9 min read
Accelerate JS Reverse Engineering with Sekiro RPC: A Step‑by‑Step Guide
Su San Talks Tech
Su San Talks Tech
Aug 16, 2023 · Backend Development

Implement QR Code Login with WebSocket in Spring Boot: Step-by-Step Guide

Learn how to build a QR‑code login system using Spring Boot and WebSocket, covering database design, role analysis, API creation, front‑end integration, and full Java code examples for generating QR images, handling socket communication, and validating tokens with expiration logic.

JavaQR Code LoginSpring Boot
0 likes · 13 min read
Implement QR Code Login with WebSocket in Spring Boot: Step-by-Step Guide
macrozheng
macrozheng
Aug 15, 2023 · Backend Development

Mastering Web Message Push: From Short Polling to SSE and WebSocket

This article explains various web message‑push techniques—including short polling, long polling, iframe streaming, Server‑Sent Events, MQTT, and WebSocket—detailing their principles, advantages, and step‑by‑step Spring Boot and JavaScript implementations with complete code examples.

JavaSSESpring Boot
0 likes · 18 min read
Mastering Web Message Push: From Short Polling to SSE and WebSocket
Code Ape Tech Column
Code Ape Tech Column
Jul 21, 2023 · Backend Development

Implementing Distributed WebSocket Messaging with Redis and Kafka in Spring

This article explains how to enable cross‑node WebSocket communication in a distributed Spring application by publishing messages to a Redis or Kafka topic, tracking user connections, and routing messages to the appropriate server instance, complete with full code examples and configuration details.

Backend DevelopmentDistributed MessagingKafka
0 likes · 16 min read
Implementing Distributed WebSocket Messaging with Redis and Kafka in Spring
Java Architect Essentials
Java Architect Essentials
Jul 18, 2023 · Backend Development

Build QR‑Code Login with WebSocket in Spring Boot

This guide walks through designing a User_Token table, defining roles and APIs, implementing QR‑code generation and validation endpoints, and wiring a Spring Boot WebSocket server with front‑end AJAX to achieve secure, real‑time QR‑code login for Android, web and PC clients.

AuthenticationBackend DevelopmentJava
0 likes · 14 min read
Build QR‑Code Login with WebSocket in Spring Boot
php Courses
php Courses
Jun 28, 2023 · Frontend Development

Real-time Data Visualization Using PHP WebSocket and Highcharts

This tutorial explains how to build a real-time data visualization feature by setting up a PHP WebSocket server with Ratchet and displaying live data on the client side using Highcharts, covering environment setup, server and client code, and deployment considerations.

Data visualizationPHPReal-Time
0 likes · 9 min read
Real-time Data Visualization Using PHP WebSocket and Highcharts
php Courses
php Courses
Jun 27, 2023 · Frontend Development

Comparing EventSource and WebSocket for ChatGPT Web Communication

The article compares EventSource and WebSocket, outlining their respective advantages, disadvantages, and appropriate use cases for server‑push versus bidirectional real‑time communication in web applications such as the ChatGPT interface.

EventSourceServer PushWebSocket
0 likes · 3 min read
Comparing EventSource and WebSocket for ChatGPT Web Communication
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 25, 2023 · Backend Development

Building Real-Time IM Solutions with WebSocket: A Practical Guide

The guide walks through building a real‑time instant‑messaging system—using a multiplayer monster‑battle demo—to compare polling, long‑polling, SSE and WebSocket, explains the WebSocket handshake and frame format, shows a custom Node.js server implementation, and advises adopting mature IM SDKs for production.

Instant MessagingNode.jsSSE
0 likes · 23 min read
Building Real-Time IM Solutions with WebSocket: A Practical Guide
Top Architect
Top Architect
May 8, 2023 · Backend Development

WebSocket Load Balancing Library for Microservice Architecture

This article introduces a Spring Boot library that uses a configuration annotation to enable WebSocket load balancing across microservice instances, explains its abstract design, connection management, message routing, and provides usage examples with code snippets while also mentioning related promotional content.

Connection ManagementJavaMicroservices
0 likes · 14 min read
WebSocket Load Balancing Library for Microservice Architecture
Top Architect
Top Architect
Apr 25, 2023 · Backend Development

WebSocket Load Balancing Across Microservice Instances Using a Configurable Annotation

This article explains how to solve the problem of message loss in WebSocket communication within a micro‑service architecture by introducing a library that uses a single configuration annotation to automatically establish inter‑instance connections, manage message routing, and support custom selectors for targeted delivery.

BackendJavaMessage Routing
0 likes · 13 min read
WebSocket Load Balancing Across Microservice Instances Using a Configurable Annotation
Ctrip Technology
Ctrip Technology
Apr 13, 2023 · Frontend Development

Development Experience and Solutions for Mini‑Program WebView Integration

This article shares the team’s practical experience and solutions for embedding H5 pages in mini‑program WebViews, covering platform differences, communication mechanisms, onShow handling, common pitfalls, login‑state synchronization, payment integration, and the use of WebSocket to achieve real‑time cross‑page updates.

WebSocketWebViewcommunication
0 likes · 17 min read
Development Experience and Solutions for Mini‑Program WebView Integration
IT Architects Alliance
IT Architects Alliance
Apr 13, 2023 · Backend Development

WebSocket Load Balancing Across Microservices Using a Single Annotation

This article explains how to solve the WebSocket message‑delivery problem in a micro‑service environment by introducing a lightweight library that uses a custom annotation to automatically forward messages between service instances, with detailed design, configuration, and code examples.

BackendDistributed SystemsJava
0 likes · 12 min read
WebSocket Load Balancing Across Microservices Using a Single Annotation
Code Ape Tech Column
Code Ape Tech Column
Apr 10, 2023 · Backend Development

WebSocket Load Balancing Concept for Microservice Architecture

This article explains the challenges of using WebSocket in a micro‑service environment, introduces a load‑balancing library with annotation‑based configuration, and details its abstract design, connection management, message routing, and selector mechanisms for targeted and broadcast communication.

JavaMessage RoutingMicroservices
0 likes · 12 min read
WebSocket Load Balancing Concept for Microservice Architecture
Java Architect Essentials
Java Architect Essentials
Mar 12, 2023 · Backend Development

Getting Started with Javalin: A Lightweight Java Web Framework

This article introduces Javalin, a lightweight Java web framework that supports HTTP/2, WebSocket, and asynchronous requests, demonstrates a practical code example with routing, request validation, handlers, and deployment steps, and even solves a common port‑conflict issue on macOS.

HTTPJavalinWeb framework
0 likes · 6 min read
Getting Started with Javalin: A Lightweight Java Web Framework
Programmer DD
Programmer DD
Feb 21, 2023 · Backend Development

Explore Javalin: A Lightweight Java Backend Framework with WebSocket & HTTP2

Javalin is a lightweight Java web framework that supports WebSocket, HTTP/2, and asynchronous requests, offering simple configuration, route definitions, parameter validation, handlers, access management, and easy deployment via an embedded Jetty server, with examples and troubleshooting tips for common issues like port conflicts.

Backend DevelopmentHTTP2Java
0 likes · 7 min read
Explore Javalin: A Lightweight Java Backend Framework with WebSocket & HTTP2
Selected Java Interview Questions
Selected Java Interview Questions
Jan 17, 2023 · Backend Development

Design and Optimization of a High‑Performance Bullet Chat System for Southeast Asian Live Streaming

This article details the design, bandwidth optimization, and reliability strategies of a custom bullet‑chat system for Southeast Asian live streaming, covering background challenges, problem analysis, compression, request throttling, long‑polling versus WebSocket trade‑offs, and a short‑polling solution that successfully supported 700 k concurrent users.

BackendWebSocketbullet-chat
0 likes · 10 min read
Design and Optimization of a High‑Performance Bullet Chat System for Southeast Asian Live Streaming
Top Architect
Top Architect
Jan 13, 2023 · Backend Development

Design and Optimization of a High‑Performance Live‑Streaming Danmaku System

This article describes the design, challenges, and optimization strategies of a custom live‑streaming danmaku system for Southeast Asian markets, covering bandwidth constraints, latency issues, long‑polling versus WebSocket approaches, service splitting, caching, and a ring‑buffer implementation that supported 700 k concurrent users during a major sales event.

BackendWebSocketdanmaku
0 likes · 11 min read
Design and Optimization of a High‑Performance Live‑Streaming Danmaku System
Java Architecture Diary
Java Architecture Diary
Jan 10, 2023 · Backend Development

Master Java 11 HttpClient WebSocket: Build, Listen, and Send Messages

This guide demonstrates how to use Java 11’s HttpClient to build a WebSocket client, implement a listener for various message events, and send both text and binary data, including a complete runnable example that showcases connection setup, message handling, and periodic sending.

Backend DevelopmentHttpClientJava
0 likes · 6 min read
Master Java 11 HttpClient WebSocket: Build, Listen, and Send Messages
Architecture Digest
Architecture Digest
Jan 6, 2023 · Backend Development

Design and Optimization of a High‑Performance Danmu System for Southeast Asian Live Streaming

This article presents a detailed case study of designing a high‑throughput danmu (bullet‑screen) system for Southeast Asian live streaming, analyzing bandwidth constraints, latency issues, and evaluating long‑polling, WebSocket, and short‑polling approaches, ultimately describing the chosen short‑polling solution, service partitioning, caching, and ring‑buffer techniques to achieve stable performance for millions of concurrent users.

WebSocketbandwidth optimizationlong polling
0 likes · 12 min read
Design and Optimization of a High‑Performance Danmu System for Southeast Asian Live Streaming
FunTester
FunTester
Dec 19, 2022 · Fundamentals

WebSocket Protocol Overview and Practical Interface Testing with Python

This article introduces the WebSocket protocol, explains its principles and differences from HTTP, outlines typical real‑time application scenarios, and provides a step‑by‑step guide with code examples for testing WebSocket interfaces using Python, including request/response formats and automated test scripts.

APIPythonReal-Time
0 likes · 10 min read
WebSocket Protocol Overview and Practical Interface Testing with Python
phodal
phodal
Sep 12, 2022 · Backend Development

How Feakin Builds Real‑Time Collaborative Editing with WebSockets, CRDTs, and Rust

This article analyzes Feakin's approach to online collaborative diagram editing, covering communication protocols, data formats, the trade‑offs between centralized OT and decentralized CRDT algorithms, and the Rust‑based server and client implementation using Actix, WebSocket, and WebAssembly.

ActixCRDTDistributed Systems
0 likes · 13 min read
How Feakin Builds Real‑Time Collaborative Editing with WebSockets, CRDTs, and Rust
Architecture Digest
Architecture Digest
Sep 7, 2022 · Backend Development

Building a High-Performance Scalable Instant Messaging System with Go and WebSocket

This article guides readers through the design and implementation of a high‑performance, scalable instant‑messaging (IM) system using Go, detailing WebSocket protocol fundamentals, server‑side architecture, authentication, message handling, code examples, and optimization strategies for production deployment.

GoInstant MessagingWebSocket
0 likes · 39 min read
Building a High-Performance Scalable Instant Messaging System with Go and WebSocket
IT Architects Alliance
IT Architects Alliance
Sep 6, 2022 · Backend Development

Building a High‑Performance, Scalable IM System with Go and WebSocket

This article explains the fundamentals of instant‑messaging, dives deep into the WebSocket protocol and its handshake, and provides a step‑by‑step guide with Go code to quickly build a high‑availability, extensible IM system that supports registration, login, single‑chat, group‑chat, file upload and optimization strategies.

GoIM SystemMessage Queue
0 likes · 38 min read
Building a High‑Performance, Scalable IM System with Go and WebSocket
Top Architect
Top Architect
Sep 3, 2022 · Backend Development

Implementing QR Code Login with WebSocket in Spring Boot

This article walks through building a QR‑code based login system using Spring Boot, detailing database design, role analysis, required APIs, step‑by‑step implementation, and full Java and JavaScript code for generating QR codes, handling WebSocket communication, and confirming user authentication.

APIJavaQR Code Login
0 likes · 12 min read
Implementing QR Code Login with WebSocket in Spring Boot
HomeTech
HomeTech
Aug 30, 2022 · Big Data

Real‑time Data Collection SDK Visualization: Architecture, Implementation and Usage Guide

This article introduces a data‑collection SDK with a real‑time visualization feature, explains the shortcomings of traditional packet‑capture and log‑based methods, describes the underlying architecture—including a new SDK entry, encrypted reporting, WebSocket communication and Elasticsearch storage—and provides step‑by‑step usage instructions for developers.

ElasticsearchWebSocketdata collection
0 likes · 8 min read
Real‑time Data Collection SDK Visualization: Architecture, Implementation and Usage Guide
Programmer DD
Programmer DD
Aug 17, 2022 · Backend Development

How to Build a Netty WebSocket Server with Spring Boot and Java

This tutorial walks through creating a Netty‑based WebSocket server in Java, adding Maven dependencies, integrating it with a SpringBootApplication, implementing server and channel handlers, crafting a simple HTML client, and extending the setup to support URL parameters, complete with code examples and screenshots.

JavaNettySpringBoot
0 likes · 12 min read
How to Build a Netty WebSocket Server with Spring Boot and Java
Wukong Talks Architecture
Wukong Talks Architecture
Aug 8, 2022 · Backend Development

Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT and WebSocket

This article explains various web message‑push techniques—including short and long polling, iframe streaming, Server‑Sent Events, MQTT and WebSocket—detailing their principles, advantages, drawbacks, and providing complete Spring Boot and JavaScript code examples for real‑time notification badges.

MQTTMessage PushSSE
0 likes · 18 min read
Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT and WebSocket
DaTaobao Tech
DaTaobao Tech
Jul 29, 2022 · Frontend Development

Boosting Web IDE Terminal Performance with xterm.js and node-pty

This article explains how modern web IDEs implement an integrated terminal using xterm.js and node-pty, analyzes the performance bottlenecks caused by massive output and RPC contention, and presents a simple batching optimization inspired by Hyper that dramatically improves responsiveness.

WebSocketnode-ptyterminal performance
0 likes · 8 min read
Boosting Web IDE Terminal Performance with xterm.js and node-pty
DeWu Technology
DeWu Technology
Jul 20, 2022 · Frontend Development

Design and Implementation of a Custom Customer‑Service IM SDK

The article explains why a custom instant‑messaging SDK was built for a customer‑service web client, outlines its three‑layer architecture (WebSocket/gRPC network, RxJS‑driven data‑link, and application logic), and details reliability features such as ACKs, retries, deduplication, and ordering to improve performance, stability, and scalability.

IMMessage ReliabilitySDK
0 likes · 14 min read
Design and Implementation of a Custom Customer‑Service IM SDK
Top Architect
Top Architect
Jun 28, 2022 · Backend Development

Implementing QR Code Login with WebSocket in Spring Boot

This article demonstrates how to build a QR‑code based login system using Spring Boot, MySQL, and WebSocket, covering database design, role definition, API creation, front‑end image handling, and real‑time authentication notification through server‑push messages.

JavaQR Code LoginReal-time authentication
0 likes · 13 min read
Implementing QR Code Login with WebSocket in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 28, 2022 · Backend Development

Implementing Distributed WebSocket Messaging with Spring Cloud Alibaba, Redis, and Kafka

This article explains how to solve cross‑server WebSocket communication in a distributed Java application by using a message queue (Redis or Kafka) to broadcast messages, storing user‑node mappings, and providing complete Spring configuration, code examples, and a demo page for end‑to‑end testing.

BackendDistributed MessagingJava
0 likes · 18 min read
Implementing Distributed WebSocket Messaging with Spring Cloud Alibaba, Redis, and Kafka
Programmer DD
Programmer DD
Jun 14, 2022 · Cloud Native

Build a Distributed WebSocket Cluster with Spring Cloud & Consistent Hashing

This article explores practical solutions for implementing a distributed WebSocket cluster in a Spring Cloud environment, detailing the challenges of session sharing, comparing Netty and Spring WebSocket approaches, and presenting two strategies—session broadcasting and consistent‑hashing—along with gateway configuration, load‑balancing, and code examples.

Spring CloudWebSocketconsistent hashing
0 likes · 21 min read
Build a Distributed WebSocket Cluster with Spring Cloud & Consistent Hashing
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.

ClusterInstant MessagingNginx
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 DevToolsWebSocket
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.

BackendDistributed SystemsJava
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-TimeWebSocket
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.

BackendJavaScriptNode.js
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 DevelopmentDistributed SystemsInstant Messaging
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 DevelopmentJavaSpring Boot
0 likes · 10 min read
Implementing a WebSocket Chat Application with Spring Boot