Tagged articles
3 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Jun 18, 2024 · Backend Development

How WeChat Guarantees Real‑Time, Lossless Messaging: Architecture & Sequence Mechanism

The article explains the evolution of WeChat’s message‑sending and receiving architecture, detailing the two‑stage flow from mobile client to server and back, the real‑time delivery and loss‑prevention requirements, and the sequence‑based mechanism that ensures messages are delivered without loss even under weak network conditions.

Messaging ArchitectureReal-time DeliverySequence Mechanism
0 likes · 9 min read
How WeChat Guarantees Real‑Time, Lossless Messaging: Architecture & Sequence Mechanism
Architect
Architect
Apr 11, 2024 · Backend Development

How WeChat Achieves Real‑Time, Lossless Messaging: Architecture Deep Dive

This article dissects WeChat's early message‑sending and receiving architecture, explaining how the system meets real‑time delivery and no‑loss guarantees through a multi‑stage server pipeline, push notifications, and a sequence‑based acknowledgment mechanism, illustrated with concrete flow diagrams and numeric examples.

Backend ArchitectureMessagingReal-time Delivery
0 likes · 11 min read
How WeChat Achieves Real‑Time, Lossless Messaging: Architecture Deep Dive
Tencent Cloud Developer
Tencent Cloud Developer
Mar 28, 2024 · Backend Development

WeChat Message Sending and Receiving Architecture (2014)

WeChat’s 2014 messaging system routes outbound texts from a phone through ConnectSvr to SendSvr, stores them in MsgStore, notifies PushSvr to deliver via long‑connection or third‑party push, and retrieves them through ReceiveSvr, using per‑user 32‑bit sequence numbers to guarantee real‑time delivery and prevent any message loss across devices.

Message ArchitectureRealtime MessagingSequence Mechanism
0 likes · 9 min read
WeChat Message Sending and Receiving Architecture (2014)