GithubHelp home page GithubHelp logo

damozhiying / x-pipe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ctripcorp/x-pipe

0.0 2.0 0.0 9.28 MB

X-Pipe是由携程框架部门研发的Redis多数据中心复制管理系统。基于Redis的Master-Slave复制协议,实现低延时、高可用的Redis多数据中心复制,并且提供一键机房切换,复制监控、异常报警等功能。

License: Apache License 2.0

Java 93.39% Shell 0.48% HTML 2.44% JavaScript 3.64% CSS 0.04%

x-pipe's Introduction

x-pipe

[master]

Build Status Coverage Status Coverity Scan Build Status

[dev]

Build Status Coverage Status

Cross Data Center Pipeline

xpipe解决什么问题

redis在携程内部得到广泛的使用,主要作为cache缓存数据,但是也有部分业务直接将其作为内存数据库使用。作为内存数据库,就对系统的可用性提出了极高的挑战,XPipe主要解决redis多数据中心遇到的问题。

redis数据复制问题

  1. replication log大小有限
    redis使用内存ring buffer存储数据日志,当数据大于特定大小时,将覆盖原先的日志。由于内存有限,复制日志大小必然受到限制。在多机房的情况下,容易导致复制失败,引发全量同步。
  2. 无全局offset(新版4.0解决了此问题)
    redis4之前的版本,每个redis之间的offset彼此独立,导致当redis进行fail over或者切换时,必须全量同步。
    截止到目前,4.0版本release版本还未发布。

机房一键切换

系统特性

低延时

高可用

x-pipe's People

Contributors

wenchaomeng avatar yiiinsh avatar marsqing avatar nobodyiam avatar lepdou avatar qmwu2000 avatar liuyi007 avatar

Watchers

James Cloos avatar damozhiying 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.