Skip to content
forked from 0xsky/xredis

Redis C++ client, support the data slice storage, support the connection pool

License

Notifications You must be signed in to change notification settings

tleasure/xredis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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](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 the connection pool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 89.0%
  • C 7.7%
  • Makefile 3.3%