Redis C++ client, support the data slice storage, support the connection pool
C++ C Makefile
Latest commit c20a07b Dec 5, 2016 @0xsky committed on GitHub GetReply bug fix
GetReply 方法内 reply 没有释放
Permalink
Failed to load latest commit information.
examples bug fix Oct 14, 2016
src GetReply bug fix Dec 6, 2016
test 添加type命令实现 Aug 23, 2016
.gitignore Initial commit Jul 7, 2014
LICENSE Initial commit Jul 7, 2014
README-cn.md Update README-cn.md May 8, 2016
README.md Update README.md Sep 14, 2016
makefile 添加 pub/sub 相关命令实现 Aug 5, 2016

README.md

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:

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

See examples directory for some examples

blog: xSky's Blog

xRedis QQ Group: 190107312