Skip to content

Redis proxy server to be used during redis migration.

Notifications You must be signed in to change notification settings

ppai-plivo/rproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b548e77 · May 15, 2019

History

1 Commit
May 15, 2019
May 15, 2019
May 15, 2019
May 15, 2019
May 15, 2019

Repository files navigation

rproxy

Redis proxy server to be used during redis migration.

Usage

Help

$ rproxy --help
Usage of rproxy:
  -addr string
    	Address on which rproxy will listen on (default ":6379")
  -dst string
    	Address of destination redis: Example: redis-clusterdev.example.com:6379
  -phase int
    	Migration phase. Possible values:
    		(0: Write to both redis; Read from src redis)(default)
    		(1: Write to both redis; Read from dst redis)
    		(2: Write to and read from dst redis only)
  -src string
    	Address of source redis: Example: redis-nonclusterdev.example.com:6379

Run the proxy

$ rproxy -src=127.0.0.1:6380 -dst=127.0.0.1:6381 -phase=0

2019/05/15 11:39:08 Source redis reachable at 127.0.0.1:6380
2019/05/15 11:39:08 Destination redis reachable at 127.0.0.1:6381
2019/05/15 11:39:08 Chosen migration phase 0: Write to both redis; Read from src redis
2019/05/15 11:39:08 Serving at :6379

About

Redis proxy server to be used during redis migration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages