Tencent/phxsql
A high availability MySQL cluster that guarantees data consistency between a master and slaves. 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: 3656
- days_rel: n/a
- days_push: 2808
- n_releases_24m: 0
Adoption not part of the score
2446 stars · 545 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PhxSQL is a high-availability, strongly consistent MySQL cluster built on Paxos and Percona, developed by Tencent. It replaces semi-sync replication with Paxos-based binlog synchronization to guarantee zero-loss replication and automatic failover without external dependencies like ZooKeeper or etcd.
Use cases
- run a highly available MySQL cluster with automatic failover
- guarantee zero data loss between MySQL master and slaves
- deploy a MySQL cluster without ZooKeeper or etcd
- achieve ZooKeeper-strength linearizable consistency for MySQL data
- hot-reconfigure cluster membership without downtime
- keep a MySQL cluster working as long as a majority of nodes are up
When to choose
- you need strong consistency and zero-loss replication for MySQL
- you want automatic failover with no external coordination service
- you need MySQL client compatibility up to serializable isolation
- you prefer a self-contained cluster with few components
When to avoid
- you need a actively maintained solution - the last release was in 2018
- you use MySQL 8.x or non-Percona MySQL versions
- you prefer managed cloud databases or MySQL Group Replication/InnoDB Cluster
- your workload is read-heavy and async replication is acceptable
Facets
service · maturity maintenance
database caching rpc databases microservices self-hosted cpp self-hosted mysql-cluster paxos high-availability strong-consistency percona replication automatic-failover linux
1 source
- readme: https://github.com/Tencent/phxsql · fetched 2026-08-28 · 5c0cd3beee13
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Tencent/phxsql | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem