Redis C++ client, support the data slice storage, support redis cluster, thread-safe,multi-platform,connection pool, read/write separation.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples update Jul 9, 2018
src 重构 Sep 9, 2018
test 重构 Sep 9, 2018
.gitignore Initial commit Jul 7, 2014
.travis.yml Merge branch 'devel' Jan 5, 2018
LICENSE Initial commit Jul 7, 2014
README-cn.md Update README-cn.md Jan 8, 2018
README.md Update README.md Dec 29, 2017
donate.jpg add Dec 29, 2017
makefile Update makefile Dec 15, 2017

README.md

xRedis
Build Status License GitHub version

C++ Redis client, support the data slice storage, redis cluster, connection pool, read/write separation.

Features:

  • data slice storage
  • support Redis master slave connection, Support read/write separation
  • suppert redis cluster
  • connection pool
  • simultaneously connected multiple data slice groups
  • most Redis commands have been implemented
  • multi thread safety
  • suport linux and windows

中文版说明文档点这里

Dependencies

xredis requires hiredis only

Install

First step install libhiredis, on a Debian system you can use:

sudo apt-get install libhiredis-dev

on centos/redhat/fedora system you can use:

sudo yum install hiredis-devel

Then checkout the code and compile it

git clone https://github.com/0xsky/xredis
cd xredis
make
sudo make install

Documentation

xredis

[xRedis API Site](http://xredis.0xsky.com/)

See [examples](https://github.com/0xsky/xredis/blob/master/examples) directory for some examples

blog: xSky's Blog

xRedis QQ Group: 190107312  

[Donate]捐赠作者(https://github.com/0xsky/xredis/blob/master/donate.jpg)

![](./donate.jpg =100x100)