WeChat Backend Team
Author

WeChat Backend Team

Official account of the WeChat backend development team, sharing their experience in large-scale distributed system development.

47
Articles
0
Likes
12
Views
0
Comments
Recent Articles

Latest from WeChat Backend Team

47 recent articles
WeChat Backend Team
WeChat Backend Team
Sep 6, 2016 · Databases

PhxSQL: Delivering Zookeeper‑Level Strong Consistency & High Availability for MySQL

PhxSQL is an open‑source MySQL cluster that uses Paxos to provide Zookeeper‑level linearizable consistency and high availability while remaining fully compatible with MySQL, offering read‑write and read‑only ports, minimal MySQL intrusion, simple architecture, and detailed design principles compared to alternatives like Galera and MySQL Group Replication.

MySQLPaxos
0 likes · 18 min read
PhxSQL: Delivering Zookeeper‑Level Strong Consistency & High Availability for MySQL
WeChat Backend Team
WeChat Backend Team
Jun 22, 2016 · Fundamentals

How PhxPaxos Turns Paxos Theory into a Production‑Grade Consensus Library

This article provides a beginner-friendly, engineering-focused overview of the production‑grade Paxos library PhxPaxos, explaining the consensus protocol, its roles, instance management, state‑machine integration, performance optimizations, multi‑group deployment, and practical considerations such as disk durability, leader election, and log checkpointing.

Paxosdistributed consensusfault tolerance
0 likes · 30 min read
How PhxPaxos Turns Paxos Theory into a Production‑Grade Consensus Library
WeChat Backend Team
WeChat Backend Team
Jun 14, 2016 · Backend Development

How WeChat Generates Trillions of Sequence Numbers with Sub‑Millisecond Latency

This article explains how WeChat’s seqsvr service generates trillions of per‑user sequence numbers with sub‑millisecond latency, detailing its core architecture, pre‑allocation and section‑sharing strategies, engineering implementation with StoreSvr and AllocSvr, and the evolution of its disaster‑recovery designs from primary‑backup to embedded routing tables.

ScalabilitySequenceWeChat
0 likes · 20 min read
How WeChat Generates Trillions of Sequence Numbers with Sub‑Millisecond Latency