Skip to content

xjdrew/redis-persist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

env

depend on leveldb, snappy, levigo

please refer to [this blog] (http://xjdrew.github.io/blog/2014/09/09/build-static-leveldb-with-snappy/) for how to build a snappy enabled leveldb.

Build

source env.sh
go install app

Test

  • start a redis-server listen on 127.0.0.1:6300
  • bin/app conf/settings.json
  • use a redis client, run command as follow
hset key1 v1 1
rename key1 key2

About

旁路监听,把redis数据存盘到leveldb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages