Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.4 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.4 KB

CRDT-Redis CI

Introduction

XRedis is ctrip redis branch. Ctrip is a leading provider of travel services including accommodation reservation, transportation ticketing, packaged tours and corporate travel management.

Features

  • Multi Master
  • Peer Replication
  • Partially Full-Sync

Build


Redis can be compiled and used on Linux, OSX, OpenBSD, NetBSD, FreeBSD. We support big endian and little endian architectures, and both 32 bit and 64 bit systems.

It may compile on Solaris derived systems (for instance SmartOS) but our support for this platform is best effort and Redis is not guaranteed to work as well as in Linux, OSX, and *BSD.

It is as simple as:

% make

Test

After building Redis, it is a good idea to test it using:

% make crdt-test

Run

redis-server with crdt feature depends crdt-module

% cd /path/to/crdt-module && make     
% redis-server --crdt-gid {namespace} {gid} --loadmodule /path/to/crdt-module/
    crdt.so