===========
Siphon is a hot data sync tools.
Mock slave server, sync data between ssdb master and other server.
Siphon now supports ssdb to redis/pika.
- SYNC data from master to slave
siphon sync [--pprof=0.0.0.0:6060] [--ncpu=N] --f=MASTER --t=TARGET [-F masterpassword] [-T targetpassword]
Usage: siphon sync [--ncpu=N] [--parallel=M] --from=MASTER --target=TARGET [--frompassword=MASTERPASSWORD] [--targetpassword=SLAVEPASSWORD]
Options: --pprof Set pprof addr and port,like 0.0.0.0:6060 .
- -n N, --ncpu=N
set runtime.GOMAXPROCS to N
- -p P, --parallel=P
set redis/pika maximum number of connections to P, default is runtime.GOMAXPROCS
- --pprof=ip:port
binding pprof on ip:port
go build github.com/imneov/siphon/siphon
siphon sync -n 4 -p 4 -f 127.0.0.1:8888 -t 127.0.0.1:9221 -T Stip1234 --pprof=0.0.0.0:6060