Tagged articles
35 articles
Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Jan 5, 2026 · Backend Development

How We Replaced HTTP Polling with MQTT for Real‑Time, Low‑Latency Messaging

This article recounts the migration from a simple HTTP polling approach to an MQTT‑based real‑time communication architecture, detailing the motivations, technical comparisons, implementation steps, performance gains, operational challenges, and future directions for scalable event‑driven systems.

Backend ArchitectureEvent-drivenMQTT
0 likes · 8 min read
How We Replaced HTTP Polling with MQTT for Real‑Time, Low‑Latency Messaging
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2025 · Backend Development

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

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

NettySpring BootVue2
0 likes · 37 min read
How to Build a Scalable WebSocket Service with Netty, Spring Boot, and Vue2
Go Development Architecture Practice
Go Development Architecture Practice
Jul 31, 2025 · Backend Development

Building a Scalable WebSocket Push Service in Go: From Basics to Million‑User Architecture

This article explains WebSocket fundamentals, compares pull and push models, details the WebSocket handshake flow, presents a complete Go server and client implementation, analyzes performance bottlenecks of a million‑user bullet‑screen system, and proposes concrete optimizations such as packet merging, lock granularity, JSON encoding reduction, and HTTP/2‑based clustering.

Goreal-time messagingscalable architecture
0 likes · 13 min read
Building a Scalable WebSocket Push Service in Go: From Basics to Million‑User Architecture
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 21, 2024 · Backend Development

Design and Implementation of a Live Streaming Danmaku System Using Redis, Kafka, and WebSocket

This article explains how to design a live‑streaming danmaku (bullet‑screen) feature by using Redis Zset as the underlying data structure, limiting the list to the latest ten messages, and handling retrieval via polling APIs or WebSocket, with Kafka for message buffering and a distributed lock to avoid ordering issues.

KafkaWebSocketdanmaku
0 likes · 8 min read
Design and Implementation of a Live Streaming Danmaku System Using Redis, Kafka, and WebSocket
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 mechanismHeartbeatIM System
0 likes · 11 min read
Design and Implementation of a Real-Time Customer Service IM System
Architecture & Thinking
Architecture & Thinking
Jan 28, 2024 · Backend Development

How Baidu’s Unified Long‑Connection Service Scales Millions of Real‑Time Connections

This article details Baidu’s internally built unified long‑connection service in Go, covering its motivation, architecture, functional implementation, performance optimizations, multi‑business support, deployment strategy, and lessons learned for delivering secure, high‑concurrency, low‑latency real‑time connectivity across mobile applications.

Backend ArchitectureGolanghigh concurrency
0 likes · 21 min read
How Baidu’s Unified Long‑Connection Service Scales Millions of Real‑Time Connections
Open Source Tech Hub
Open Source Tech Hub
Jan 6, 2024 · Backend Development

Securely Implement Pusher Private Channels with PHP and JavaScript

This guide explains how to restrict access to Pusher channels using private channels, covering authentication flow, required server‑side PHP setup, client‑side JavaScript integration, and step‑by‑step code examples for publishing and receiving secure real‑time messages.

JavaScriptPHPPrivate Channels
0 likes · 5 min read
Securely Implement Pusher Private Channels with PHP and JavaScript
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
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
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 1, 2022 · Backend Development

Real-Time Messaging with RabbitMQ and Spring Boot

This article demonstrates how to build a real‑time messaging system for a space‑station scenario using RabbitMQ and Spring Boot, covering configuration of direct and fanout exchanges, scheduling updates, one‑to‑one chat, and broadcast messaging with complete Java code examples.

RabbitMQSpring Bootbackend-development
0 likes · 14 min read
Real-Time Messaging with RabbitMQ and Spring Boot
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 25, 2022 · Backend Development

How RTMS Revolutionizes Real‑Time Messaging for Massive Interactive Apps

RTMS (Real Time Message Service) is a frame‑synchronization‑based real‑time communication solution that offloads logic from the server, uses in‑memory processing, and employs decentralized, non‑persistent, publish‑subscribe routing to dramatically improve latency, scalability, and interactivity for high‑frequency multi‑user scenarios.

Backend ArchitectureDecentralizationDistributed Systems
0 likes · 10 min read
How RTMS Revolutionizes Real‑Time Messaging for Massive Interactive Apps
Top Architect
Top Architect
Jan 16, 2022 · Backend Development

Key Practices in Large‑Scale Backend Architecture: Product Positioning, Microservice Design, Real‑Time Messaging, Idempotency, and Service Governance

This article outlines essential techniques for building large‑scale backend systems, covering product analysis, microservice architecture principles, the evolution of real‑time push technologies, request idempotency strategies, and comprehensive service governance challenges and solutions.

Backend ArchitectureIdempotencyreal-time messaging
0 likes · 5 min read
Key Practices in Large‑Scale Backend Architecture: Product Positioning, Microservice Design, Real‑Time Messaging, Idempotency, and Service Governance
TAL Education Technology
TAL Education Technology
Jul 15, 2021 · Backend Development

Design and Architecture of a Scalable Live‑Streaming Message Service

The article outlines the challenges of real‑time messaging in live‑streaming education, presents a multi‑stage backend architecture—including AccessServer, MessageServer, and specialized services—along with caching, clustering, and future enhancements such as connection migration and QUIC to achieve high reliability, low latency, and massive concurrency.

Backend ArchitectureDistributed SystemsScalability
0 likes · 12 min read
Design and Architecture of a Scalable Live‑Streaming Message Service
Sohu Tech Products
Sohu Tech Products
May 19, 2021 · Backend Development

Design Principles and Architecture of Large‑Scale Instant Messaging Systems

This article explores core concepts, ID design, read/write fan-out, push‑pull models, and industry implementations for large‑scale instant messaging systems, discussing trade‑offs in message diffusion, unique identifier strategies, real‑time delivery, ordering, unread counts, multi‑device sync, and deployment considerations.

ID generationInstant MessagingScalability
0 likes · 23 min read
Design Principles and Architecture of Large‑Scale Instant Messaging Systems
Baidu App Technology
Baidu App Technology
Mar 26, 2021 · Backend Development

Design and Evolution of Baidu Live Streaming Message Service

Baidu’s live‑streaming message service evolved from a basic group‑chat model to a scalable multicast architecture that delivers up to a million concurrent users per room with sub‑second latency, using message aggregation, compression, and priority channels to manage QPS, bandwidth, and reliable gift delivery.

architecturehigh concurrencylive streaming
0 likes · 28 min read
Design and Evolution of Baidu Live Streaming Message Service
Baidu Geek Talk
Baidu Geek Talk
Mar 24, 2021 · Backend Development

How Baidu Scales Live‑Stream Messaging to Millions of Users

This article analyzes Baidu's live‑stream messaging system, compares it with ordinary group chat, identifies scalability challenges, proposes a multicast (mcast) architecture, evaluates performance, bandwidth, and client impact, and outlines further enhancements such as historical and gift messages.

Backend ArchitectureScalabilitylive streaming
0 likes · 29 min read
How Baidu Scales Live‑Stream Messaging to Millions of Users
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.

Spring BootWebSocketbackend-development
0 likes · 12 min read
How to Implement Real-Time WebSocket Messaging in Spring Boot
Architects Research Society
Architects Research Society
Jul 31, 2020 · Backend Development

Building a Real‑time STOMP WebSocket Messaging Application with Spring Boot

This guide walks you through creating a Spring Boot application that uses WebSocket and STOMP to exchange JSON messages between a browser client and a server, covering project setup, dependencies, Java POJOs, controller logic, WebSocket configuration, client‑side JavaScript, and how to build and run the executable JAR.

Spring BootWebSocketjava
0 likes · 21 min read
Building a Real‑time STOMP WebSocket Messaging Application with Spring Boot
Xianyu Technology
Xianyu Technology
Apr 8, 2020 · Backend Development

Design and Implementation of a Flexible Fatigue Control Mechanism for Real-Time User Reach

The article presents a flexible fatigue‑control mechanism for Omega’s real‑time user‑reach system that replaces fixed windows with dynamic, user‑scene‑business dimensions and a minimum interval, eliminating duplicate daily messages, dispersing delivery times, maintaining stable 6000‑QPS performance, and paving the way for reusable components and recommendation integration.

System ArchitectureUser experiencebackend design
0 likes · 7 min read
Design and Implementation of a Flexible Fatigue Control Mechanism for Real-Time User Reach
Senior Brother's Insights
Senior Brother's Insights
Mar 3, 2020 · Backend Development

Implement Real‑Time Messaging with STOMP in Spring Boot

This guide explains the STOMP protocol, its frame structure, and how to integrate it with Spring Boot to build a real‑time chat application, covering server‑side configuration, message broker setup, as well as the client‑side HTML and JavaScript needed for sending and receiving messages.

WebSocketreal-time messagingspring-boot
0 likes · 12 min read
Implement Real‑Time Messaging with STOMP in Spring Boot
Mafengwo Technology
Mafengwo Technology
Oct 17, 2019 · Mobile Development

How We Built a Scalable Mobile IM System for Travel Apps

This article details the design, architecture, and implementation of a mobile instant‑messaging system for a travel platform, covering data channel design, message subscription, UI rendering, deduplication, local push, reconnection strategies, and the planned migration to WebSocket.

Message DeduplicationWebSocketpush notifications
0 likes · 17 min read
How We Built a Scalable Mobile IM System for Travel Apps
Meitu Technology
Meitu Technology
Apr 23, 2018 · Backend Development

Design and Evolution of Live Streaming Bullet Comment System: From HTTP Polling to Long Connection

Meipai’s live‑stream bullet‑comment platform progressed from an initial HTTP‑polling design supporting one million users, through a high‑availability dual‑room architecture, to a scalable long‑connection system with gRPC routing, dynamic degradation, and caching, solving message ordering, Redis bottlenecks, and ensuring seamless user experience.

bullet comment systemhigh availabilitylive streaming
0 likes · 11 min read
Design and Evolution of Live Streaming Bullet Comment System: From HTTP Polling to Long Connection
Big Data and Microservices
Big Data and Microservices
May 12, 2016 · Industry Insights

How 58 Daojia Built a Scalable Real‑Time Messaging Platform: Architecture Deep Dive

This article dissects the design of 58 Daojia’s universal real‑time messaging platform, detailing the challenges of end‑to‑cloud, cloud‑to‑end, and end‑to‑end communication, the shortcomings of traditional HTTP and push solutions, and the optimized TCP, message‑bus, RPC, and protocol extensions that achieve scalability, reliability, and cross‑account chat.

Backend ArchitectureDistributed SystemsMessage Queue
0 likes · 12 min read
How 58 Daojia Built a Scalable Real‑Time Messaging Platform: Architecture Deep Dive
Qunar Tech Salon
Qunar Tech Salon
Mar 9, 2016 · Backend Development

Design and Lessons Learned from Meizu's Real-Time Message Push System

The article details Meizu's large‑scale real‑time push architecture, covering system scale, four‑layer design, power‑consumption optimizations, network reliability challenges, massive connection handling, load‑balancing strategies, strict monitoring, and gray‑release practices to ensure high performance and stability.

backend scalabilitygray releaseload balancing
0 likes · 12 min read
Design and Lessons Learned from Meizu's Real-Time Message Push System
Architecture Digest
Architecture Digest
Mar 1, 2016 · Backend Development

Design and Challenges of Meizu Real-Time Message Push System

The article details Meizu's large‑scale real‑time push architecture, covering system scale, four‑layer design, mobile power‑saving optimizations, network instability handling, massive connection techniques, load‑balancing strategies, comprehensive monitoring, and gray‑release deployment practices.

gray releasehigh concurrencyload balancing
0 likes · 11 min read
Design and Challenges of Meizu Real-Time Message Push System
21CTO
21CTO
Dec 9, 2015 · Backend Development

How Worktile Built a Scalable MEAN Stack with Real‑Time Messaging

This article explains how Worktile’s team collaboration platform combines a single‑page AngularJS front‑end with Node.js, Redis, MongoDB, and ejabberd XMPP services to achieve cross‑platform access, native‑like interactions, and high‑performance real‑time updates for over 100,000 teams.

AngularJSMEAN stackNode.js
0 likes · 10 min read
How Worktile Built a Scalable MEAN Stack with Real‑Time Messaging
Architect
Architect
Jul 30, 2015 · Backend Development

Technical Architecture of Worktile: SPA Design, Service Stack, and Real-time Messaging

Worktile’s architecture combines a single‑page AngularJS front‑end with a Node.js/Express backend, leveraging MongoDB, Redis, and ejabberd for real‑time messaging, illustrating how SPA design, modular services, and long‑connection techniques enable a stable, high‑performance team collaboration platform.

AngularJSMongoDBNode.js
0 likes · 11 min read
Technical Architecture of Worktile: SPA Design, Service Stack, and Real-time Messaging