Redis C++ client, support the data slice storage, support the connection pool
Features:
- data slice storage
- support Redis master slave connection, Support read/write separation
- connection pool
- simultaneously connected multiple data slice clusters
- most REDIS commands have been implemented
- multi thread safety
xredis requires hiredis only
First step install libhiredis, on a Debian system you can use:
sudo apt-get install libhiredis-dev
Then checkout the code and compile it
git clone https://github.com/0xsky/xredis
cd xredis
make
sudo make install
[xRedis API Site](https://xredis.0xsky.com/)
See [examples](https://github.com/0xsky/xredis/blob/master/examples) directory for some examples
xRedis开源社区QQ群: 190107312
作者: xSky
博客: xSky's Blog
捐赠作者:[支付宝账号] [email protected]