# xredis **Repository Path**: GreateCoder/xredis ## Basic Information - **Project Name**: xredis - **Description**: xRedis 是一个C++开发的redis客户端,是对hiredis的C++封装,提供易用的redis命令操作接口. - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 23 - **Created**: 2016-08-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README xRedis ====== 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 ### Dependencies xredis requires hiredis only ### Install First step install libhiredis, on a Debian system you can use: ```bash sudo apt-get install libhiredis-dev ``` on centos/redhat/fedora system you can use: ```bash sudo yum install hiredis-devel ``` Then checkout the code and compile it ```bash git clone https://github.com/0xsky/xredis cd xredis make sudo make install ``` ### Documentation ![xredis](http://xredis.0xsky.com/pic/xredis_0.png)

[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