# apisix vs tidb

> Two self-hosted projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.

| | apisix | tidb |
|---|---|---|
| Score | 78/100 | 80/100 ✓ |
| Rank in category | #2 of 39 in API Gateway | #4 of 38 in Databases |
| GitHub stars | 17 261 | 40 685 ✓ |
| Stars, last 30 days | +100 | +104 ✓ |
| Stable releases, 12 months | 5 ✓ | 2 |
| Latest release | 3.19.0 · 28 Sept 2026 ✓ | v8.5.8 · 27 Aug 2026 |
| Setup | Moderate ✓ | Advanced |
| Official Docker image | Yes | Yes |
| License | Apache-2.0 | Apache-2.0 |
| Main language | Lua | Go |

## Which one should you pick?

tidb scores 80/100 against 78/100 for apisix, so it is the safer default.

apisix ships more often: 5 stable releases in the past year, against 2 for tidb.

If you want the quickest setup, apisix is easier to run; tidb needs more configuration.

## Details

- [apisix](https://selfhost.directory/project/apisix) (markdown: https://selfhost.directory/project/apisix.md)
- [tidb](https://selfhost.directory/project/tidb) (markdown: https://selfhost.directory/project/tidb.md)

---
Source: https://selfhost.directory/compare/apisix-vs-tidb