Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dveeden/tidbgw
TiDB Gateway
https://github.com/dveeden/tidbgw
gateway mysql proxy tidb
Last synced: about 1 month ago
JSON representation
TiDB Gateway
- Host: GitHub
- URL: https://github.com/dveeden/tidbgw
- Owner: dveeden
- Created: 2021-09-10T09:10:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T12:24:09.000Z (7 months ago)
- Last Synced: 2024-06-21T17:53:55.161Z (5 months ago)
- Topics: gateway, mysql, proxy, tidb
- Language: Go
- Homepage:
- Size: 118 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TiDB Gateway
## Building
```
go build
```## Running
```
./tidbgw
```Optionally set the address of PD and address to listen on via flags.
## Using
Connect your MySQL client to port 4009. TiDB Gateway will pick a random TiDB backend to route the connection to.
The gateway will detect new TiDB hosts and add these to the list of backends.
## Ideas for future versions
* Use the HTTP Status API
* Filter based on labels of servers