Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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