C++ Redis client, support the data slice storage, connection pool, read/write separation.
Features:
- data slice storage
- support Redis master slave connection, Support read/write separation
- connection pool
- simultaneously connected multiple data slice groups
- most Redis commands have been implemented
- multi thread safety
- suport linux and windows
中文版说明文档点这里
xredis requires hiredis only
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
[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