Tag

Instant Messaging

2 views collected around this technical thread.

macrozheng
macrozheng
Jun 13, 2025 · Backend Development

How to Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide

This article explains how to integrate WebSocket into a Spring Boot project to create a lightweight instant‑messaging system, covering dependency setup, configuration classes, core server implementation, required modules, common deployment issues, and practical solutions with complete code examples.

Instant MessagingReal‑Time CommunicationSpring Boot
0 likes · 14 min read
How to Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 21, 2025 · Frontend Development

Tencent IM Overview and Component Design for Instant Messaging Applications

This article provides a comprehensive technical guide on Tencent Cloud's instant messaging (IM) service, comparing UI‑integrated and non‑UI integration approaches, detailing the core chat and input components, their Vue/TypeScript implementations, rendering logic, event handling, and auxiliary features such as file upload simulation, scroll management, and voice/video calling.

Component DesignFrontendInstant Messaging
0 likes · 33 min read
Tencent IM Overview and Component Design for Instant Messaging Applications
Architecture & Thinking
Architecture & Thinking
Oct 10, 2024 · Mobile Development

How Baidu Built a Scalable Android IM SDK for Real‑Time Messaging

This article explains the background, architecture, core processes, and engineering challenges of Baidu's Android instant‑messaging SDK, detailing how the public IM system, long‑connection layer, and modular components enable reliable, real‑time communication across multiple devices.

Android SDKInstant MessagingMobile Development
0 likes · 21 min read
How Baidu Built a Scalable Android IM SDK for Real‑Time Messaging
macrozheng
macrozheng
Sep 26, 2024 · Backend Development

Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide

This article explains how to integrate Spring Boot with WebSocket to create a lightweight instant‑messaging system, covering dependency setup, configuration classes, core server code, front‑end integration, essential IM modules, common deployment challenges, and provides complete example code and demos.

Instant MessagingNginxReal‑Time Communication
0 likes · 15 min read
Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide
Baidu Geek Talk
Baidu Geek Talk
Sep 16, 2024 · Mobile Development

Design and Implementation of Baidu Android IM SDK and Public IM System

Baidu built a unified Android IM SDK and public instant‑messaging system that consolidates login, message routing, synchronization, notifications, and group chat into reusable client and server components, using a hybrid push‑pull model to deliver real‑time, secure communication while dramatically lowering development and maintenance costs across its product portfolio.

Android SDKInstant MessagingMobile Development
0 likes · 22 min read
Design and Implementation of Baidu Android IM SDK and Public IM System
IT Services Circle
IT Services Circle
Aug 13, 2024 · Backend Development

Implementing Pull‑Down Pagination for Instant Messaging History

This article explains the challenges of loading historical chat messages in an instant‑messaging app and demonstrates why traditional offset pagination fails, then introduces cursor‑based pagination with SQL examples and best‑practice guidelines for reliable incremental loading.

DatabaseInstant MessagingSQL
0 likes · 7 min read
Implementing Pull‑Down Pagination for Instant Messaging History
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
Architecture & Thinking
Architecture & Thinking
Apr 21, 2024 · Backend Development

How to Ensure Reliability, Ordering, and Security in Billion‑User IM Systems

This article explores the key challenges of building a large‑scale instant‑messaging service—including message reliability, ordering, read‑sync, data security, avalanche effects, and weak‑network handling—and presents practical architectural and algorithmic solutions for each problem.

Data SecurityInstant MessagingMessage Reliability
0 likes · 21 min read
How to Ensure Reliability, Ordering, and Security in Billion‑User IM Systems
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 MessagingNetwork ProtocolNode.js
0 likes · 23 min read
Building Real-Time IM Solutions with WebSocket: A Practical Guide
Baidu Tech Salon
Baidu Tech Salon
May 10, 2023 · Backend Development

Full Volume Message Push Implementation Based on Public Mailbox at Baidu

Baidu’s full‑volume push system leverages a public‑mailbox architecture that merges a single shared mailbox with users’ private mailboxes during retrieval, enabling low‑disturbance, high‑speed delivery to over 600 million monthly active users while reducing write costs, as demonstrated by three pandemic‑policy messages reaching more than 200 million users within three days.

Baidu AppInstant MessagingRead Diffusion
0 likes · 13 min read
Full Volume Message Push Implementation Based on Public Mailbox at Baidu
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 9, 2023 · Mobile Development

Design and Implementation of a Standardized IM Message Flow Interaction Layer for iOS

The paper presents a customizable, dependency‑injected iOS IM framework that separates message‑flow structure from interaction, defines reusable MessageView components with pluggable size‑strategies and a snapshot cache, and exposes standard service protocols, enabling low‑cost integration, business extensibility, and reduced maintenance across diverse chat scenarios.

Instant MessagingMessage FlowMobile Development
0 likes · 12 min read
Design and Implementation of a Standardized IM Message Flow Interaction Layer for iOS
Top Architect
Top Architect
Jan 5, 2023 · Backend Development

Design and Architecture of a One‑to‑One Instant Messaging System

This article analyzes the functional decomposition, data structures, system architecture, push‑pull mode selection, and message flow of a one‑to‑one instant messaging service, providing practical design guidelines and example Redis/MySQL schemas for building a scalable chat backend.

Instant MessagingMessage QueueMySQL
0 likes · 13 min read
Design and Architecture of a One‑to‑One Instant Messaging System
HomeTech
HomeTech
Dec 6, 2022 · Backend Development

Design and Optimization of a High‑Performance IM Instant Messaging Platform

This article details the architectural decisions, network protocol choices, message framing strategies, and server‑level optimizations—including Netty adoption, TCP handling, token management, load balancing, NIC queue configuration, and CPU affinity—that enable a scalable, low‑latency instant messaging service supporting millions of concurrent connections.

IMInstant MessagingNetty
0 likes · 19 min read
Design and Optimization of a High‑Performance IM Instant Messaging Platform
政采云技术
政采云技术
Oct 11, 2022 · Backend Development

Instant Messaging System Architecture: Synchronization, Storage, and Modern Design

This article explains the evolution of instant messaging systems from traditional to modern architectures, detailing message synchronization and storage mechanisms, inbox/outbox models, read/write diffusion strategies, and the practical implementation using Redis, MongoDB, and MySQL to achieve scalable, reliable communication.

Instant MessagingMessage Synchronizationbackend architecture
0 likes · 11 min read
Instant Messaging System Architecture: Synchronization, Storage, and Modern Design
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 MessagingReal‑Time Communication
0 likes · 39 min read
Building a High-Performance Scalable Instant Messaging System with Go and WebSocket
High Availability Architecture
High Availability Architecture
Aug 25, 2022 · Cloud Native

The Evolution of Instant Messaging Systems Over the Past Fifteen Years and the Rise of Cloud‑Native IM

Over the past fifteen years, instant‑messaging (IM) systems have progressed through three stages—from early high‑concurrency software, through mobile‑internet and cloud‑based solutions, to modern cloud‑native architectures—highlighting shifting development challenges, the emergence of SDK services, and the technical considerations of multi‑cluster, high‑scale deployments.

Cloud NativeInstant Messagingbackend architecture
0 likes · 17 min read
The Evolution of Instant Messaging Systems Over the Past Fifteen Years and the Rise of Cloud‑Native IM
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 MessagingMessage Queue
0 likes · 7 min read
WebSocket Cluster Deployment in a Customer Service IM System
Tencent Cloud Developer
Tencent Cloud Developer
Mar 4, 2022 · Cloud Computing

Tencent Cloud IM: From QQ to Industry-Leading Instant Messaging

The article chronicles Tencent’s shift from QQ chat to enterprise‑grade Tencent Cloud IM, showing how a former QQ team built a globally‑scaled 2800‑node acceleration network and self‑designed storage and QUIC‑optimized messaging engine to support hundreds of millions of concurrent users, meet data‑sovereignty rules, and drive digital transformation in e‑commerce, automotive, education and other sectors, now serving over 100,000 clients and a billion users.

Business CommunicationGlobal NetworkIM Technology
0 likes · 12 min read
Tencent Cloud IM: From QQ to Industry-Leading Instant Messaging
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.

Instant MessagingMessage QueueNetty
0 likes · 17 min read
Design and Implementation of an Online Customer Service Instant Messaging System
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