# Meituan-Dianping/DBProxy

Repository: https://github.com/Meituan-Dianping/DBProxy
Canonical: https://ross.abutalabs.com/products/dbproxy
Language: C
License: GPL-2.0
License Family: copyleft
Last push: 2018-01-05T22:54:54+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3535, "days_push": 3162, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2268, forks 554 (observed 2026-08-28T04:06:32.853340+00:00)

## What it is
DBProxy is a MySQL-protocol database middleware developed by Meituan-Dianping's DBA team, forked from Qihoo 360's Atlas with bug fixes and added features. It provides read/write splitting, replica load balancing, sharding, IP filtering, and monitoring for MySQL (Percona) 5.5/5.6 deployments.

## Use cases
- split mysql reads and writes across replicas
- load balance queries across mysql slave servers
- shard large mysql tables transparently
- remove failed mysql backends automatically
- filter sql queries and client ips in front of mysql
- monitor mysql proxy traffic and performance

## When to choose
- you run mysql 5.5/5.6 and need transparent read/write splitting and failover
- you want a battle-tested proxy already used at scale in production
- you need sql filtering, ip whitelisting, and rich monitoring at the proxy layer

## When to avoid
- you use mysql 5.7 or 8.0, which are not supported
- you need an actively developed project - the latest release dates to 2018
- you prefer modern alternatives like ProxySQL or Vitess with larger communities

## Facets
- artifact type: service
- maturity: maintenance
- function: database, routing, load-testing, monitoring, middleware
- domain: databases, backend, developer-tools
- platform: c, self-hosted
- tags: mysql-proxy, read-write-splitting, sharding, database-middleware, atlas-fork, linux

## Member repositories
- Meituan-Dianping/DBProxy (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:32.853340+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:42:01.487215+00:00, confidence not recorded.
  - readme: https://github.com/Meituan-Dianping/DBProxy (fetched 2026-08-28T04:06:32.853340+00:00, sha 96b26785ed0d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
