Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
/ tikv-proxy Public archive

A gRPC proxy for TiKV

Notifications You must be signed in to change notification settings

xiaogaozi/tikv-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tikv-proxy

A gRPC proxy for TiKV

Getting started

Please follow instructions in TiKV official document to deploy a tiny TiKV cluster locally. Then run the proxy server:

$ docker run -it --rm --name tikv-proxy --network tikv -p 7788:7788 xiaogaozi/tikv-proxy:v0.0.1 --debug --pd-addrs pd.tikv:2379

Open another terminal to run the example:

$ make example
$ ./_build/example localhost:7788

Development

$ make gen-proto  # Generate Go code of protocol buffers
$ make server     # Build server
$ docker build -t xiaogaozi/tikv-proxy:v0.0.1 -f ./deploy/Dockerfile . && docker rmi $(docker images -q -f dangling=true)  # Build Docker image

About

A gRPC proxy for TiKV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published