Skip to content

Siphon mock SSDB slave server, sync data between ssdb master and redis (or pika) server.

License

Notifications You must be signed in to change notification settings

imneov/ssdb-port

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Siphon

===========

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 .

Options

  • -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

Builder

go build github.com/imneov/siphon/siphon

Example

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

About

Siphon mock SSDB slave server, sync data between ssdb master and redis (or pika) server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages