Tencent/phxpaxos
The Paxos library implemented in C++ that has been used in the WeChat production environment. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3764
- days_rel: n/a
- days_push: 1003
- n_releases_24m: 0
Adoption not part of the score
3374 stars · 852 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PhxPaxos is a C++ library implementing the Paxos consensus protocol for state synchronization across a multi-node cluster, battle-tested in WeChat's production environment. It provides automatic fail-over, master election, reconfiguration, checkpoint management, and pluggable network/storage modules.
Use cases
- build a highly available replicated state machine cluster
- implement master election among service nodes
- synchronize state across multiple servers with strong consistency
- add fault-tolerant fail-over to a distributed service
- store replicated logs with guaranteed consistency
- learn about Paxos consensus in production-grade C++ code
When to choose
- you need proven, production-hardened Paxos consensus in C++
- you want automatic master election and cluster reconfiguration
- you need strong durability guarantees via fsync on every write
- you want pluggable network, storage, and monitoring modules
When to avoid
- you need a client-server protocol out of the box - you must wrap your own server
- you target non-Linux or 32-bit platforms - only Linux 64-bit is tested
- you need multi-process access to a single Paxos instance
- you prefer higher-level consensus frameworks like etcd/Raft with built-in APIs
Facets
library · maturity maintenance
concurrency message-queue rpc logging monitoring caching microservices databases developer-tools backend cpp cross-platform paxos consensus distributed-consensus replication state-machine-replication master-election fault-tolerance wechat linux
1 source
- readme: https://github.com/Tencent/phxpaxos · fetched 2026-08-28 · 98fdc0bbe3ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Tencent/phxpaxos | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="Tencent/phxpaxos")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem