Tag

Real-time Messaging

0 views collected around this technical thread.

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.

JavaKafkaReal-time Messaging
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 mechanismIM systemReal-time Messaging
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.

Long ConnectionReal-time Messagingbackend architecture
0 likes · 21 min read
How Baidu’s Unified Long‑Connection Service Scales Millions of Real‑Time Connections
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 24, 2023 · Backend Development

Implement Real-Time WebSocket Messaging in Spring Boot 2.7 with WebFlux

This article explains how to set up WebSocket communication in Spring Boot 2.7.12, covering the protocol basics, handshake process, custom HandlerMapping, annotation-driven routing, and a reactive WebFlux handler with code examples, plus deployment considerations behind reverse proxies.

JavaReactiveReal-time Messaging
0 likes · 7 min read
Implement Real-Time WebSocket Messaging in Spring Boot 2.7 with WebFlux
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 9, 2023 · Backend Development

Mastering WebSocket with Spring Boot 3: From Handshake to Real‑Time Messaging

An in‑depth Spring Boot 3 tutorial explains WebSocket fundamentals, the HTTP upgrade handshake, core Spring APIs, configuration options, origin handling, and testing steps, enabling developers to build real‑time, bidirectional communication services for web applications.

JavaReal-time MessagingSpring Boot
0 likes · 10 min read
Mastering WebSocket with Spring Boot 3: 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.

Real-time MessagingWebSocketbackend architecture
0 likes · 12 min read
Design and Optimization of a High‑Performance Danmu System for Southeast Asian Live Streaming
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2022 · Backend Development

Building a Real‑Time Chat with Spring Boot WebSocket and Java

This guide walks through setting up a Spring Boot 2.3.9 WebSocket server, defining message types and enums, implementing encoder/decoder, configuring the endpoint and bean, and creating a simple HTML/JavaScript client to test real‑time messaging between multiple users.

JavaReal-time MessagingSpring Boot
0 likes · 12 min read
Building a Real‑Time Chat with Spring Boot WebSocket and Java
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.

JavaMessage QueuesRabbitMQ
0 likes · 14 min read
Real-Time Messaging with RabbitMQ and Spring Boot
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.

IdempotencyLoad BalancingReal-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.

Live StreamingReal-time Messagingbackend architecture
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 MessagingReal-time Messaging
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.

Live StreamingReal-time Messagingarchitecture
0 likes · 28 min read
Design and Evolution of Baidu Live Streaming Message Service
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.

JavaReal-time MessagingSTOMP
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.

Real-time Messagingbackend designfatigue control
0 likes · 7 min read
Design and Implementation of a Flexible Fatigue Control Mechanism for Real-Time User Reach
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.

High AvailabilityKafkaLive Streaming
0 likes · 11 min read
Design and Evolution of Live Streaming Bullet Comment System: From HTTP Polling to Long Connection
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.

Load BalancingReal-time Messagingbackend scalability
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.

Load BalancingReal-time Messagingbackend
0 likes · 11 min read
Design and Challenges of Meizu Real-Time Message Push System
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
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Jul 2, 2015 · Backend Development

Technical Architecture of Worktile: SPA Frontend, Backend Services, and Real-Time Messaging

The article explains how Worktile achieves cross‑platform web access, native‑like SPA experience, real‑time messaging, and service stability by using AngularJS for the frontend, Node.js, Redis, MongoDB, and ejabberd/XMPP for backend and push services.

AngularJSMongoDBNode.js
0 likes · 10 min read
Technical Architecture of Worktile: SPA Frontend, Backend Services, and Real-Time Messaging