Tagged articles

websocket

486 articles · Page 3 of 5
JavaEdge
JavaEdge
Aug 31, 2024 · Backend Development

How I Traced and Fixed a Netty Off‑Heap Memory Leak in a WebSocket Service

This article details a step‑by‑step investigation of a Netty off‑heap memory leak that caused Nginx 5xx errors, covering background, alert analysis, multiple debugging stages, reflective monitoring, the root‑cause NPE fix, and verification in both local and production environments.

DebuggingNettyOff-heap memory
0 likes · 14 min read
How I Traced and Fixed a Netty Off‑Heap Memory Leak in a WebSocket Service
Open Source Tech Hub
Open Source Tech Hub
Aug 25, 2024 · Backend Development

What Is Socket.IO? A Deep Dive into Features, Versions, and Cross‑Language Implementations

This article explains Socket.IO’s low‑latency, bi‑directional, event‑driven communication model, outlines version differences, lists server and client language implementations, clarifies common misconceptions, details core features such as fallback, reconnection and broadcasting, and provides a complete PHP server‑client example with custom events and workerStart handling.

Real‑time communicationSocket.IOevent-driven
0 likes · 13 min read
What Is Socket.IO? A Deep Dive into Features, Versions, and Cross‑Language Implementations
Architecture Digest
Architecture Digest
Aug 21, 2024 · Backend Development

Design of a Unified WebSocket Messaging Service for Backend Systems

This article outlines the design and implementation of a unified WebSocket communication service, covering background motivations, project goals, core architecture, message reliability mechanisms using RabbitMQ, message classification, API specifications, and unified message formats to enable efficient, decoupled real‑time messaging across backend applications.

API designbackendmessaging
0 likes · 8 min read
Design of a Unified WebSocket Messaging Service for Backend Systems
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 21, 2024 · Backend Development

Design and Implementation of a Real-Time Customer Service IM System

This article analyzes the challenges of real-time, reliability, and message ordering in a customer service instant messaging system and presents solutions such as WebSocket adoption, ACK-based reliability, heartbeat mechanisms, and a structured message protocol to ensure efficient and stable communication.

ACK mechanismIM SystemReal-time messaging
0 likes · 11 min read
Design and Implementation of a Real-Time Customer Service IM System
Architect
Architect
Aug 5, 2024 · Backend Development

How to Build a Scalable WebSocket Communication Service with Reliable Messaging

This article outlines the design of an internal WebSocket communication service that abstracts real‑time messaging, reduces code coupling, supports various business scenarios, ensures reliable delivery with RabbitMQ, defines unified APIs and message formats, and demonstrates a DDD‑based project structure for easy integration.

API designBackend ArchitectureDDD
0 likes · 10 min read
How to Build a Scalable WebSocket Communication Service with Reliable Messaging
Selected Java Interview Questions
Selected Java Interview Questions
Aug 4, 2024 · Backend Development

Design and Implementation of a WebSocket Backend for a Real‑Time Multiplayer Quiz Game

This article details the design, architecture, and Java implementation of a WebSocket‑based backend that enables real‑time, multi‑player quiz battles, covering entity definitions, message handling, matchmaking logic, error handling, game flow, and supporting utilities such as Redis‑based state management.

GameRedisbackend
0 likes · 21 min read
Design and Implementation of a WebSocket Backend for a Real‑Time Multiplayer Quiz Game
Architect
Architect
Jul 31, 2024 · Backend Development

Mastering WebSocket Integration in Spring Boot: Javax, WebMVC, WebFlux, and More

This article walks through the author's practical research on integrating WebSocket in Spring Boot, detailing step‑by‑step configurations for Javax, WebMVC, and WebFlux, comparing their APIs, highlighting pitfalls, and providing concrete code snippets and cold‑knowledge tips for both server and client implementations.

ReactiveSpring Bootbackend
0 likes · 19 min read
Mastering WebSocket Integration in Spring Boot: Javax, WebMVC, WebFlux, and More
Code Ape Tech Column
Code Ape Tech Column
Jul 30, 2024 · Backend Development

Design and Implementation of a Unified WebSocket Communication Service for Backend Systems

This article describes the background, objectives, core design, reliability mechanisms, message classification, API design, and unified calling approach of a company‑wide WebSocket abstraction layer that replaces polling, supports asynchronous communication, and ensures reliable message delivery using RabbitMQ and confirm mechanisms.

Backend ArchitectureMessage Queueasynchronous communication
0 likes · 10 min read
Design and Implementation of a Unified WebSocket Communication Service for Backend Systems
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 24, 2024 · Backend Development

Master STOMP Messaging in Spring Boot 3: From Basics to Real‑World Examples

This tutorial explains the STOMP protocol, its frame structure, and how Spring Boot 3 integrates STOMP over WebSocket, providing step‑by‑step code examples for enabling STOMP, sending and receiving messages, handling headers, asynchronous processing, exception handling, and simple publish‑subscribe without a controller.

Spring Bootbackend developmentmessaging
0 likes · 11 min read
Master STOMP Messaging in Spring Boot 3: From Basics to Real‑World Examples
Nullbody Notes
Nullbody Notes
Jun 29, 2024 · Backend Development

Building a Lightweight Go IM from Scratch

This article walks through creating a distributed instant‑messaging system in Go, covering the full tech stack, Docker‑based and local startup methods, configuration files, the end‑to‑end request flow, and detailed code examples for RPC, Redis queues, WebSocket delivery and the internal bucket architecture.

DockerGinIM
0 likes · 17 min read
Building a Lightweight Go IM from Scratch
JavaEdge
JavaEdge
Jun 27, 2024 · Backend Development

Build a FastAPI Chatbot with LangChain and WebSocket – Step‑by‑Step Guide

This tutorial walks through installing FastAPI and related packages, creating a basic FastAPI app, adding chat, PDF, and text endpoints, integrating LangChain tools for AI responses, implementing a WebSocket echo service, and running the server with uvicorn, all illustrated with code snippets and screenshots.

APILangChainPython
0 likes · 8 min read
Build a FastAPI Chatbot with LangChain and WebSocket – Step‑by‑Step Guide
JavaEdge
JavaEdge
Jun 8, 2024 · Frontend Development

EventSource vs WebSocket: Choosing the Right Real‑Time API for ChatGPT

This article explains the technical differences between Server‑Sent Events (EventSource) and WebSocket, compares their advantages, disadvantages, and suitable scenarios, and shows why ChatGPT’s streaming API prefers EventSource for server‑push communication.

ChatGPTEventSourceReal‑time communication
0 likes · 9 min read
EventSource vs WebSocket: Choosing the Right Real‑Time API for ChatGPT
macrozheng
macrozheng
May 28, 2024 · Backend Development

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

This guide explains how to enable MQTT support in RabbitMQ, use MQTTBox and MQTT.js for instant messaging, and integrate MQTT into a SpringBoot application, providing step‑by‑step commands, code snippets, and configuration details for both front‑end and back‑end developers.

Instant MessagingMQTTMessage Broker
0 likes · 15 min read
Build Real‑Time Chat with RabbitMQ MQTT and Zero Backend Code
Bilibili Tech
Bilibili Tech
May 28, 2024 · Mobile Development

Optimizing Cross‑Platform WebSocket Connections with Cronet for Mobile Live Streaming

By migrating the CatEar FM live‑streaming app’s WebSocket layer to Chromium’s Cronet network stack, the team unified cross‑platform code, added customizable DNS and proxy support, and cut handshake latency by roughly 150 ms on Android and 250 ms on iOS, paving the way for future HTTP/2 and HTTP/3‑based WebSocket transports.

Cronetcross‑platformmobile development
0 likes · 14 min read
Optimizing Cross‑Platform WebSocket Connections with Cronet for Mobile Live Streaming
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 28, 2024 · Frontend Development

Implementing a WebSocket Client with Automatic Reconnection and Heartbeat in TypeScript/JavaScript

This article explains how to build a WebSocket client that supports automatic reconnection after network loss and periodic heartbeat messages, provides a drop‑in API compatible with the native WebSocket interface, and includes complete TypeScript and JavaScript implementations with detailed code examples.

FrontendTypeScriptheartbeat
0 likes · 19 min read
Implementing a WebSocket Client with Automatic Reconnection and Heartbeat in TypeScript/JavaScript
Su San Talks Tech
Su San Talks Tech
May 28, 2024 · Backend Development

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

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

Server‑Sent EventsSpring Bootjava
0 likes · 18 min read
Mastering Web Push: 6 Real‑World Strategies from Short Polling to SSE and WebSocket
Laravel Tech Community
Laravel Tech Community
May 20, 2024 · Backend Development

Configuring Nginx as a WebSocket Reverse Proxy for noVNC

This article explains what Nginx, WebSocket, and noVNC are, describes how to set up Nginx as a WebSocket reverse proxy, and provides a step‑by‑step Linux configuration example—including firewall disabling, Nginx installation, configuration editing, and client testing—to enable remote VNC access through a browser.

noVNCreverse proxywebsocket
0 likes · 7 min read
Configuring Nginx as a WebSocket Reverse Proxy for noVNC
Architect
Architect
May 16, 2024 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events—detailing their principles, advantages, drawbacks, appropriate use‑cases, and provides complete front‑end and Node‑Express back‑end demo code to help developers choose and implement the right solution.

ExpressNode.jsPolling
0 likes · 12 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo
Su San Talks Tech
Su San Talks Tech
Apr 28, 2024 · Frontend Development

From HTTP Polling to Real‑Time Push: Why WebSocket Is the Game‑Changer

WebSocket enables true full‑duplex communication between browsers and servers, overcoming the limitations of HTTP’s request‑response model; the article explains why simple HTTP polling and long polling are insufficient, details the WebSocket handshake, frame format, and ideal scenarios such as web games and real‑time chat.

HTTP pollingReal‑time communicationWeb Development
0 likes · 16 min read
From HTTP Polling to Real‑Time Push: Why WebSocket Is the Game‑Changer
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2024 · Backend Development

Server‑to‑Client Data Push: SSE, WebSocket, and Polling – Concepts, Comparison, and Demo

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, appropriate use‑cases, and provides a complete Node.js/Express demo with front‑end code.

ExpressFrontendNode.js
0 likes · 13 min read
Server‑to‑Client Data Push: SSE, WebSocket, and Polling – Concepts, Comparison, and Demo
Code Ape Tech Column
Code Ape Tech Column
Apr 7, 2024 · Backend Development

WebSocket Load‑Balancing Concept for Microservice Architectures

This article explains the challenges of using WebSocket in a microservice environment, introduces a load‑balancing library that forwards messages between service instances, shows how to enable it with Spring annotations, and details the underlying connection, subscription, and selector mechanisms for reliable message routing.

Load BalancingMessage RoutingSpring Cloud
0 likes · 12 min read
WebSocket Load‑Balancing Concept for Microservice Architectures
Huolala Tech
Huolala Tech
Mar 26, 2024 · Backend Development

How We Built a Real‑Time Road‑Testing Platform to Boost Navigation Accuracy

This article details the design and implementation of a road‑testing platform that improves navigation accuracy by integrating data collection, real‑time video streaming, WebSocket communication, and automated reporting, resulting in faster issue detection, reduced manual effort, and measurable efficiency gains across multiple cities.

Data CollectionOBSnavigation platform
0 likes · 16 min read
How We Built a Real‑Time Road‑Testing Platform to Boost Navigation Accuracy
Selected Java Interview Questions
Selected Java Interview Questions
Mar 5, 2024 · Frontend Development

Why the ChatGPT Web Chat Uses EventSource Instead of WebSocket

This article explains why the browser‑based ChatGPT conversation system prefers the lightweight EventSource API over WebSocket, detailing protocol differences, system characteristics, advantages, code implementations, performance considerations, and future extension possibilities.

EventSourceNode.jsReal‑time communication
0 likes · 9 min read
Why the ChatGPT Web Chat Uses EventSource Instead of WebSocket
Ctrip Technology
Ctrip Technology
Jan 26, 2024 · Artificial Intelligence

Implementing Plugin Functionality for a Large Language Model Chatbot Using Function Calling and Asynchronous Execution

This article explains how Ctrip's security R&D team built a web‑based LLM chatbot with version‑2.0 features such as plugin support, function calling, synchronous and asynchronous execution, WebSocket/Socket.IO communication, and provides full Python code examples for defining and invoking plugins.

AIFunction CallingLLM
0 likes · 15 min read
Implementing Plugin Functionality for a Large Language Model Chatbot Using Function Calling and Asynchronous Execution
dbaplus Community
dbaplus Community
Jan 3, 2024 · Backend Development

Designing a Scalable 1B‑User Group Chat System: Architecture & High‑Concurrency

This article walks through the design of a billion‑user group chat platform, covering functional and non‑functional requirements, core components, database schema, face‑to‑face group creation, message flow, storage strategies, and performance‑optimizing techniques such as clustering, message queues, multithreading, and Redis caching.

Backend ArchitectureDatabaseRedis
0 likes · 14 min read
Designing a Scalable 1B‑User Group Chat System: Architecture & High‑Concurrency
Open Source Tech Hub
Open Source Tech Hub
Dec 24, 2023 · Backend Development

How to Install and Use websocketd for Real‑Time WebSocket Scripts

This guide explains how to install the websocketd daemon, configure it to run shell scripts as WebSocket back‑ends, create simple HTML clients, monitor system memory in real time, and fine‑tune parameters such as static file serving, developer console, SSL, and Nginx proxying.

Shell scriptreal-time monitoringwebsocket
0 likes · 10 min read
How to Install and Use websocketd for Real‑Time WebSocket Scripts
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.

PHPbackendconnection
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.

MySQLPHPWebman
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.

PHPReal-time ChatValidation
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.

PHPReal-time Chatratchet
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.

APIPHPdata format
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.

GatewayWorkerPHPReal-time messaging
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.

AIPlugin architecturePrivate Knowledge Base
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.

Vue.jsbackendreal-time monitoring
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.jsfrontend development
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.

FTPHTTPSMTP
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 patternsGraphQLREST
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.

Networkingbinary dataprotocol
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.

AnnotationLoad BalancingSpring Cloud
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.

Load BalancingMessage Routingjava
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.

Spring Bootjavawebsocket
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.

Load BalancingSpringBootjava
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.

NettyNettyClientNetworking
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.

QR Code LoginSpring Bootjava
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.

SSESpring Bootjava
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.

Distributed MessagingKafkaSpring
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.

QR Code LoginSpring Bootauthentication
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 VisualizationFrontendPHP
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.

EventSourceReal‑time communicationServer Push
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.jsReal‑time communication
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 ManagementLoad BalancingSpring Boot
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.

Load BalancingMessage RoutingSpring Cloud
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.

Frontendcommunicationcross‑platform
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.

Load BalancingSpring Cloudbackend
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.

Load BalancingMessage RoutingSpring Cloud
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.

JavalinWeb Frameworkbackend development
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.

backendbullet-chatlong polling
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.

backenddanmakulive streaming
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.

HttpClientJava11backend development
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.

Real-time messagingbandwidth optimizationlong polling
0 likes · 12 min read
Design and Optimization of a High‑Performance Danmu System for Southeast Asian Live Streaming