xjdrew/redis-persist

语言: C

git: https://github.com/xjdrew/redis-persist

旁路监听,把redis数据存盘到leveldb
旁路监听,把redis数据存盘到leveldb
README.md (中文)

取决于leveldb,snappy,levigo

请参阅此博客,了解如何构建一个支持snappy的leveldb。

建立

source env.sh
go install app

测试

  • 启动redis-server侦听127.0.0.1:6300
  • bin / app conf / settings.json
  • 使用redis客户端,运行命令如下
hset key1 v1 1
rename key1 key2

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

env

depend on leveldb, snappy, levigo

please refer to this blog 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