Skip to content

johnnyluo586/bgsave

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis persistence service

periodically dump records from redis.
the format of the record is defined as :

key(tablname:record_id) -> value(packed)

environment variables:

  • REDIS_HOST : eg: 127.0.0.1:6379
  • MONGODB_URL : eg: mongodb://172.17.42.1/mydb
  • NSQD_HOST : eg: http://172.17.42.1:4151

install

install gpm, gvp first
$go get -u https://github.com/GameGophers/bgsave/
$cd bgsave
$source gvp
$gpm
$go install bgsave

#install with docker docker build -t bgsave .

About

background save process of redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.5%
  • Shell 10.9%
  • Protocol Buffer 5.6%