fengmin0722 / xredis-1

Redis C++ client, support the data slice storage, support redis cluster, thread-safe,multi-platform,connection pool, read/write separation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xRedis

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

About

Redis C++ client, support the data slice storage, support redis cluster, thread-safe,multi-platform,connection pool, read/write separation.

License:GNU General Public License v3.0


Languages

Language:C++ 91.1%Language:C 6.2%Language:Makefile 2.7%