Tagged articles
instant messaging
61 articles · Page 1 of 1
The article walks through building a true WeChat‑like message recall feature in Spring Boot, explaining why simply deleting a row is insufficient and detailing the required status change, concurrency‑safe conditional update, multi‑device session handling, and cross‑instance event propagation.
Spring Bootconcurrency controlconditional update
0 likes · 12 min read

The article explains how using instant‑messaging for direct requests creates costly synchronous communication, contrasts it with asynchronous task links, cites media‑richness theory and remote‑work research, and offers three practical actions—task‑system entry, board‑first view, and long‑form docs—to make collaboration more efficient.
Remote Workasynchronous communicationinstant messaging
0 likes · 10 min read

This guide shows how to enable instant messaging using RabbitMQ's MQTT plugin, run the broker in Docker, test with MQTTX, create a web‑based chat with MQTT.js, and integrate MQTT into a Spring Boot application, all without writing custom backend code.
DockerMQTTRabbitMQ
0 likes · 13 min read

This guide explains how to use the lightweight MQTT protocol with RabbitMQ, covering Docker setup, enabling the MQTT plugin, testing with MQTTX, creating a front‑end chat using MQTT.js, and integrating MQTT into a SpringBoot application for server‑side messaging, all without writing custom back‑end code.
DockerMQTTRabbitMQ
0 likes · 13 min read

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.
Spring BootWebSocketbackend development
0 likes · 14 min read

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.
TypeScriptVuecomponent design
0 likes · 33 min read

This article details the design, architecture, and evolution of a self‑developed customer instant‑messaging system, covering its user‑centred philosophy, layered backend structure, technology choices such as WebSocket and Spring WebFlux, and how it solved challenges in gateway design, session storage, message ACK, and queue management to achieve high availability, security, and future‑ready scalability.
Message QueueScalable Designdata security
0 likes · 14 min read


ITPUBNov 8, 2024 · Fundamentals
WeChat has finally released a native Linux client for x86, ARM, and LoongArch architectures, sparking developer enthusiasm, highlighting Qt‑based technical innovations, and addressing long‑standing compatibility challenges that could reshape Linux desktop usage and encourage broader software support.
LinuxQtWeChat
0 likes · 9 min read

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

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.
Spring BootWebSocketbackend development
0 likes · 15 min read

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

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.
BackendCursor PaginationSQL
0 likes · 7 min read

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.
MQTTMessage BrokerRabbitMQ
0 likes · 15 min read


21CTOMay 26, 2024 · Fundamentals
ICQ, the pioneering instant messaging platform that once boasted over 100 million users, announced its shutdown on June 26, urging users to migrate to VK Messenger, while reflecting on its historic rise, influence on Chinese services like QQ, and multiple ownership changes over nearly three decades.
ICQQQinstant messaging
0 likes · 4 min read

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.
Message ReliabilityWeak Networkbackend architecture
0 likes · 21 min read

This article walks through the design and implementation of a three‑tier instant‑messaging platform—including a Netty‑based chat server, a JavaFX client, and a SpringBoot web admin console—covering architecture, protocol design, database schema, key Netty handlers, threading, and authentication details.
Database DesignJavaFXNetty
0 likes · 30 min read

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.
Long PollingNode.jsSSE
0 likes · 23 min read

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 appMessage Pushinstant messaging
0 likes · 13 min read

This article shares NetEase Cloud Messaging's technical practice for overseas entertainment social solutions, covering market observations, key technical challenges such as unstable overseas networks and security, a four‑layer architecture, and detailed implementations for group chat, interactive live streaming, IM and RTC global deployment.
Cloud-Native Architectureentertainment socialglobal communication
0 likes · 12 min read

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.
UI designiOSinstant messaging
0 likes · 12 min read

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.
Message QueueRedisbackend architecture
0 likes · 13 min read


HomeTechDec 6, 2022 · Backend Development
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.
BackendIMNetty
0 likes · 19 min read


政采云技术Oct 11, 2022 · Backend Development
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.
backend architectureinstant messagingmessage synchronization
0 likes · 11 min read

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.
GoWebSocketinstant messaging
0 likes · 39 min read

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.
Multi-Clustercloud-nativeinstant messaging
0 likes · 17 min read

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.
ClusterWebSocketinstant messaging
0 likes · 7 min read

This article introduces CIM, a developer‑oriented distributed instant messaging platform, outlines its current features and roadmap, explains its SpringBoot‑Netty‑Redis‑Zookeeper architecture, and provides detailed installation, configuration, and usage instructions with code examples.
CIMNettyRedis
0 likes · 7 min read


JavaEdgeApr 3, 2022 · Backend Development
This article introduces an open‑source instant messaging solution for e‑commerce platforms, detailing its server‑client architecture, supported platforms (WebSocket, Android, iOS, desktop), core modules, directory layout, and how to obtain the source code for integration.
instant messagingmulti‑platformopen-source
0 likes · 4 min read

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.
Global NetworkIM TechnologyTencent Cloud
0 likes · 12 min read

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.
Message QueueNettyRedis
0 likes · 17 min read

Learn how to build a pure Go instant messaging platform with a three‑layer, distributed architecture—comet, logic, and job—featuring RPC communication, Redis‑based message pushing, and cluster support, plus step‑by‑step deployment instructions, required packages, and future enhancement plans.
GoRedisWebSocket
0 likes · 5 min read

This article introduces the open‑source CIM instant‑messaging system, explains its Netty/WebSocket‑based backend architecture, outlines the available client SDKs and server modules, and showcases functional previews for console, Android, and web clients, guiding developers on how to adopt or adapt the solution.
CIMNettyWebSocket
0 likes · 4 min read

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.
Real-time Messagingid-generationinstant messaging
0 likes · 23 min read

Vivo’s live‑streaming IM system combines short‑polling and long‑connection techniques, Redis SortedSet storage, priority‑based routing, protobuf compression, and discard strategies to deliver a fault‑tolerant, high‑concurrency messaging backbone that scales with growing traffic and diverse message types.
Redisbackend architectureinstant messaging
0 likes · 20 min read

This article introduces the open‑source CIM instant messaging system, detailing its server‑side architecture based on Netty or Mina, multi‑platform client support (WebSocket, Android, iOS, desktop), core modules, directory structure, and a preview of its console and client interfaces.
CIMNettyWebSocket
0 likes · 4 min read

The article details Qunar's in‑house instant messaging platform, covering its purpose, protocol choices (XMPP with protocol‑buffer optimization), architecture based on ejabberd, message flow, reliability mechanisms, extensions such as bots and HTTP APIs, as well as extensive system‑level tuning for high‑concurrency TCP connections.
System OptimizationXMPPejabberd
0 likes · 15 min read

This article introduces CIM, an open‑source real‑time messaging system built on Mina or Netty that supports WebSocket, Android, iOS, desktop and embedded clients, explains its architecture, core modules, directory layout, and showcases console, Android and web demos.
WebSocketinstant messagingmobile
0 likes · 4 min read

This guide explains how to use RabbitMQ's MQTT plugin and MQTT.js to implement instant messaging, covering MQTT protocol basics, enabling RabbitMQ MQTT and Web‑MQTT, using MQTTBox for testing, creating a pure HTML/JavaScript chat client, and integrating MQTT into a SpringBoot application for backend notifications.
MQTTRabbitMQSpringBoot
0 likes · 15 min read


ITPUBFeb 26, 2020 · Mobile Development
This article details the design, architecture, and implementation of a mobile instant‑messaging system for a travel platform, covering data‑channel handling, subscription and UI rendering, message de‑duplication, local push, reconnection strategies, message‑line management, and a migration to WebSocket for improved performance.
WebSocketarchitecturedata channel
0 likes · 16 min read

This article explains how a travel e‑commerce platform rebuilt its instant‑messaging service with Go, separating business logic, introducing a dual‑layer distributed architecture, and optimizing performance and reliability to handle massive concurrent connections and improve overall GMV.
GoWebSocketdistributed systems
0 likes · 16 min read


21CTONov 10, 2019 · Mobile Development
This article details the design and implementation of a scalable mobile instant‑messaging system for a travel app, covering architecture, data‑channel handling, subscription mechanisms, UI rendering, message de‑duplication, local push strategies, reconnection logic, and future upgrades to WebSocket.
WebSocketdata channelinstant messaging
0 likes · 16 min read

This article explains how to handle high‑concurrency instant‑messaging scenarios by designing message deduplication, optimizing SQLite write performance with batch inserts and WAL mode, improving query speed with indexes and caching, and reducing UI refresh overhead through delayed and scroll‑aware updates.
SQLiteWALinstant messaging
0 likes · 19 min read

This article walks through constructing a lightweight instant‑messaging backend, covering version 1.0.0 features, reliability guarantees, application‑level ACK handling, security encryption, database schema for users, relations and offline messages, and storage strategies to prevent duplicate delivery.
JavaMessage QueueSecurity
0 likes · 12 min read

This article walks through constructing a lightweight, feature‑rich instant‑messaging backend (IM1.0.0) that supports one‑to‑one text/file messaging, delivery/read receipts, LDAP login, horizontal scaling via connector and transfer modules, user‑status management with Redis, offline storage using MySQL and message queues, and outlines the overall architecture.
Message Queuedistributed systemsinstant messaging
0 likes · 9 min read

This article examines the challenges of high‑traffic live‑streaming instant messaging, presents the original V1 TCP‑based architecture, explains its performance bottlenecks, and details the redesigned V2 solution that adopts Netty, protobuf, compression, and RPC to dramatically reduce bandwidth and latency while supporting millions of concurrent users.
Protobufbackend architectureinstant messaging
0 likes · 9 min read

This article explains how to model and implement a basic instant‑messaging system using Alibaba Tablestore's Timeline model, covering message storage, relationship management, metadata handling, real‑time notification, multi‑device synchronization, and provides complete Java code examples for each functional module.
BackendData ModelingJava
0 likes · 23 min read

This article explains the stringent reliability requirements of instant messaging—ordered delivery, low latency, no loss, and deduplication—analyzes causes of disorder such as multi‑process and multi‑thread architectures, and presents practical solutions including hash‑based routing, sequential IDs, push‑pull mechanisms, ACK optimization, and distributed ID generation.
Message Reliabilitybackend designdeduplication
0 likes · 9 min read


58 TechFeb 26, 2019 · Backend Development
The article details the step‑by‑step evolution of the WeChat‑like instant messaging platform at 58 Group, describing how the system transitioned from a simple PHP short‑connection architecture to a layered micro‑service architecture using Java‑based RPC, Go‑based short‑connection services, distributed storage, message queues, and clear separation of storage, logic, and interface layers.
Gobackend architecturedistributed storage
0 likes · 12 min read

The article details the design and overall architecture of ZhaiZhai's instant messaging (IM) system, covering product positioning, a four‑layer architecture (user, entry, logic, storage), and analyses of scalability, high availability, reliability, extensibility, and performance, highlighting the use of C++, RPC, MySQL, TiDB, and custom middleware.
C++distributed databasesinstant messaging
0 likes · 13 min read

This article introduces CIM, a cross‑platform instant messaging framework, detailing its architecture, core components, registration and routing mechanisms, client‑server interaction, custom protocol, built‑in commands, and step‑by‑step deployment using SpringBoot, Netty, Redis and Zookeeper.
NettyRedisSpringBoot
0 likes · 13 min read

To add multi‑person video calling with in‑call text chat on Android, developers register a Tencent Cloud account, obtain an APPID, purchase a low‑cost minute package, import the IMSDK/AVSDK/ILiveSDK/BeautySDK, generate a userSig, initialize and log in the SDK, create or join a room, bind an AVRootView for video rendering, and enable IM messaging, resulting in a functional solution built within a day.
Android SDKTencent Cloudinstant messaging
0 likes · 8 min read

This article explains the layered architecture, connection management, high‑availability design, security mechanisms, and performance‑boosting techniques of NetEase's instant‑messaging cloud platform, illustrating how the system handles massive concurrent connections and ensures stable, fast, and secure message delivery.
Connection Managementcloud servicesinstant messaging
0 likes · 18 min read

The article examines the technical, economic, and security challenges of deploying instant‑messaging services as decentralized applications on public blockchains, argues that a dedicated communication‑focused blockchain is more suitable, categorizes existing blockchain IM projects, and outlines why platform‑level communication requires a specialized chain.
Technologycommunicationdecentralized applications
0 likes · 11 min read

This article examines the evolution of QTalk’s instant messaging platform, detailing its original centralized design, the motivations for decentralization, the new architecture with domain and public services, security benefits, deployment strategies, and real-world use cases, illustrating how a scalable, secure IM solution can be built for enterprise environments.
backend architecturedecentralizationdeployment
0 likes · 10 min read

This article explains how LinkedIn engineered its instant‑messaging service using Server‑Sent Events, Java, Akka, and Play, and details key kernel and system‑level optimizations—such as socket backlog, temporary port exhaustion, and file‑descriptor limits—that enabled each server to handle hundreds of thousands of persistent connections.
AkkaJavaLinkedIn
0 likes · 5 min read

The article outlines essential choices such as protocol and server selection, XMPP improvements, mobile network and power optimizations, client‑side handling, and scalability techniques required to develop a reliable, high‑performance instant messaging feature for Android and iOS apps.
AndroidXMPPiOS
0 likes · 6 min read


21CTODec 3, 2015 · Backend Development
This article details the overall architecture of an instant‑messaging client, covering protocol encapsulation, task flow, various timer implementations, state management, reconnection logic, login process, asynchronous handling, and local caching strategies for reliable communication.
State ManagementTimerarchitecture
0 likes · 15 min read


21CTONov 6, 2015 · Backend Development
This article analyzes the architectural choices behind WeChat and Momo instant‑messaging services, covering battery and traffic constraints, network reliability, the shift from XMPP to proprietary long/short connections, protocol design with protobuf, and operational strategies for scaling massive user bases.
ProtobufProtocol Designbackend architecture
0 likes · 12 min read


21CTOOct 24, 2015 · Backend Development
This article details how 58.com’s Bangbang system evolved from a traditional IM platform to a massive, multi‑layered architecture handling over 40 billion daily requests, covering its four‑layer design, third‑party integration challenges, client lightweighting, and the push technologies that power its mobile O2O services.
backend developmentinstant messagingmobile O2O
0 likes · 8 min read

This article explains the fundamentals of instant messaging, its system characteristics, protocol layers (application, security, transport), practical protocol examples, and a detailed real‑time web chatroom design using HTTP long‑polling and backend architecture considerations.
Protocol Designbackend architectureinstant messaging
0 likes · 20 min read

This article reviews common instant‑messaging protocols, compares popular IM servers such as Openfire, Tigase and Ejabberd, and proposes practical improvements to XMPP handling, server performance, and mobile IM challenges, while also evaluating third‑party services and offering deployment time estimates.
BackendOpenfireTigase
0 likes · 6 min read
