Giter Site home page Giter Site logo

goredis's Introduction

GoRedis 0.9

请注意:GoRedis处于beta阶段,为陌陌公司内部测试,正处于重构阶段

RedisServer Implemented by Go

说明

1、使用rocksdb作为存储层的RedisServer,数据不消耗内存,保持较高性能的情况下,同时获得海量存储特性
2、可以和官方redis互为主从,支持常用指令集,全部redis指令会转换为rocksdb操作
3、因为rocksdb的特点,最适合用SSD服务器

扩展特性:
1、快速启动,持久层使用rocksdb,重启不会丢数据,即时启动,不需要reload rdb
2、增量同步,GoRedis主从情况下,从库断开连接后,再次连上可以增量同步,适合海量存储和跨机房同步
3、Hash/Set/List/SortedSet也是基于rocksdb的特点设计,可以实现海量日志存储而不消耗内存
4、MultiSlave,GoRedis之间可以一主多从和一从多主

goredis's People

Contributors

blackbeans avatar latermoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

goredis's Issues

能否提供一些高可用的实战场景呢?

比如:
场景1:
一主多从
M(master), S0(slaveOfM),S1(slaveOfM)
当M挂了,S0升级为master M0,老的M几分钟后恢复,恢复后如果M作为M0的slave,这时候数据是全量同步还是增量的?

场景2:
链式主从
master M, S0(slaveOfA),S1(slaveOfS0), 当S0挂了,S1挂到M作slave,是否增量同步呢?

Hello

is anybody right there

install失败

我按照说明安装好了rocksdb,并且配置了环境变量,但是执行"sh install.sh"的时候,总是出现错误,导致不能继续执行"sh build.sh"。

[root@localhost GoRedis]# sh install.sh 
install goredis libs ...
# GoRedis/libs/gorocks
could not determine kind of name for C.rocksdb_options_set_block_restart_interval
could not determine kind of name for C.rocksdb_options_set_block_size
could not determine kind of name for C.rocksdb_options_set_cache
could not determine kind of name for C.rocksdb_options_set_disable_seek_compaction
could not determine kind of name for C.rocksdb_options_set_filter_policy

请问,这个问题怎么能解决呢?

-

作者有没有碰到数据库很大的时候,重新连接,会卡很久的情况?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.