Giter Site home page Giter Site logo

redis-synyed's Introduction

##Redis跨机房同步系统

注:该项目目前为起步阶段,从0-1的过程
本人正在全力开发中,如果您有好的想法或者建议欢迎与我联系qq 805005024
也欢迎给本项目提PR

####最新进展:
目前已经实现了单Agent 单源Redis 单目标Redis的数据同步操作
Synyed支持同步的Redis命令列表

打包方法 mvn clean package     
解压target包下的Synyed-Agent.zip修改conf/application.properties文件为对应的Redis服务器地址后
使用bin/Synyed-Agent start脚本即可启动同步操作

####当前版本遗留的问题:

RDB文件解析还原成命令时RedisHashObject、RedisHashZipMap、RedisListObject、RedisSetIntSet、RedisZSetObject    
五种数据结构暂时无法还原成Redis命令

本人正在努力视线中

####目标:

1、跨机房Redis缓存数据同步 
2、弱侵入性部署
3、数据一致性保障
4、系统高可用性保障

####阶段实现方案:
* 实现单Agent的源Redis到目标Redis数据单向同步 * 实现单Agent的源Redis到多个目标Redis的数据单向同步 * 实现单Agent的多个源Redis到单个目标Redis的数据单向同步 * 实现单Agent的多个源Redis到多个目标Redis的数据单向同步 * 实现双Agent之间的源Redis到目标Redis的数据单向同步 * 管理后台统一配置Agent的同步策略

####目前进度: - 完成Redis网络协议解析 - 完成Redis rdb文件内容解析 - 完成Redis网络协议数据包转换为Redis命令语义分析 - 目前支持单Agent 单源Redis 单目标Redis的数据同步

####模块:

Synyed-agent   
	用于模拟redis的slave    
	数据的同步处理
	
Synyed-manager
	agent的管理
	agent的配置
	
Synyed-common
	公共的一些组件模块
	
Synyed-util
	工具了模块

redis-synyed's People

Contributors

maxjiang153 avatar

Watchers

James Cloos avatar  avatar

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.