https://github.com/ctripcorp/xredis-crdt
https://github.com/ctripcorp/xredis-crdt
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctripcorp/xredis-crdt
- Owner: ctripcorp
- License: bsd-3-clause
- Created: 2019-11-13T07:02:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T01:54:05.000Z (almost 2 years ago)
- Last Synced: 2024-06-24T05:39:15.276Z (almost 2 years ago)
- Language: C
- Size: 90.2 MB
- Stars: 10
- Watchers: 12
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: COPYING
Awesome Lists containing this project
README
[](https://github.com/ctripcorp/xredis-crdt/actions/workflows/crdt-redis.yml)
- [Introduction](#introduction)
- [Features](#features)
- [# Build](#-build)
- [Test](#test)
- [Run](#run)
# Introduction
XRedis is [ctrip](http://www.ctrip.com/) 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](https://github.com/ctripcorp/crdt-module)
```
% cd /path/to/crdt-module && make
% redis-server --crdt-gid {namespace} {gid} --loadmodule /path/to/crdt-module/
crdt.so
```