redis3m
=======
[![Build Status](https://travis-ci.org/luca3m/redis3m.png?branch=master)](https://travis-ci.org/luca3m/redis3m)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/luca3m/redis3m?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
A C++ [Redis](http://redis.io) client, born to bring my experience using Redis and C++ on a opensource library.
### Main goals
1. Provide a simple and efficient wrapper of [hiredis](http://github.com/redis/hiredis), with C++ facilities like memory management
2. A connection pooling system, with support for high availability using sentinel
3. A set of useful patterns ready to use and composable with other code. For example [scheduler](http://luca3m.me/2013/12/03/redis-scheduler.html), [orm](http://github.com/soveran/ohm), counters or message queueing
### Dependencies
redis3m requires hiredis and boost libraries.
### Install
First step install all required dependencies, on a Debian system you can use:
```bash
sudo apt-get install libmsgpack-dev libboost-thread-dev libboost-date-time-dev libboost-test-dev libboost-filesystem-dev libboost-system-dev libhiredis-dev cmake build-essential libboost-regex-dev
```
Then checkout the code and compile it
```bash
git clone https://github.com/luca3m/redis3m
cd redis3m
cmake
make
sudo make install
```
### Documentation
See [examples](https://github.com/luca3m/redis3m/tree/master/examples) directory for some examples, you can compile them with:
```bash
g++ <example.cpp> $(pkg-config --cflags --libs redis3m) -o <example.bin>
```
You can find all classes reference [here](http://luca3m.me/redis3m/docs)
### Versioning
This project uses [semantic versioning](http://semver.org). In short words versions are named X.Y[.Z].
Changing X means break API changes, Y means new features without breaking old code, Z means bug fixing.
没有合适的资源?快使用搜索试试~ 我知道了~
A C++ Redis client.zip
共71个文件
cpp:24个
h:24个
conf:3个
需积分: 5 0 下载量 180 浏览量
2023-12-27
00:06:05
上传
评论
收藏 85KB ZIP 举报
温馨提示
A C++ Redis client
资源推荐
资源详情
资源评论
收起资源包目录
A C++ Redis client.zip (71个子文件)
mysource
include
redis3m
patterns
orm.h 9KB
model.h 7KB
scheduler.h 3KB
median_filter.h 1KB
simple_obj_store.h 3KB
script_exec.h 1KB
patterns.hpp 415B
cluster_pool.h 2KB
command.h 2KB
reply.h 2KB
utils
sha1.h 2KB
noncopyable.h 263B
logging.h 1KB
exception.h 801B
resolv.h 363B
crc16.h 142B
file.h 300B
datetime.h 728B
pool.h 910B
connection_pool.h 5KB
redis3m.hpp 301B
connection.h 3KB
simple_pool.h 2KB
CMakeLists.txt 5KB
.travis.yml 297B
src
patterns
median_filter.cpp 1KB
script_exec.cpp 2KB
scheduler.cpp 3KB
reply.cpp 841B
utils
datetime.cpp 1KB
datadir.cpp.in 240B
resolv.cpp 1KB
crc16.cpp 5KB
file.cpp 431B
logging.cpp 689B
sha1.cpp 7KB
simple_pool.cpp 2KB
connection_pool.cpp 12KB
cluster_pool.cpp 5KB
connection.cpp 2KB
data
lua
scheduler.lua 175B
delete.lua 2KB
save.lua 3KB
LICENSE 11KB
tests
redis-sentinel-26381.conf 451B
common.h 1KB
redis-sentinel-26380.conf 410B
connection_pool.cpp 3KB
cluster_pool.cpp 667B
patterns.cpp 5KB
redis-sentinel-26379.conf 493B
connection.cpp 2KB
examples
subscriber.cpp 383B
script.cpp 422B
publisher.cpp 433B
simple_pool.cpp 594B
simple.cpp 343B
ha_pool.cpp 439B
Doxyfile 98KB
TODO.md 38B
.gitignore 503B
run-tests.sh 670B
redis3m.pc.in 323B
README.md 2KB
Redis3M-VisualStudio
Examples
Examples.vcxproj.filters 818B
Examples.vcxproj 6KB
Redis3M-VisualStudio.sln 2KB
Redis3M-VisualStudio
Redis3M-VisualStudio.vcxproj.filters 4KB
stdafx.h 371B
Redis3M-VisualStudio.vcxproj 10KB
targetver.h 306B
共 71 条
- 1
资源评论
Lei宝啊
- 粉丝: 2067
- 资源: 1330
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 藏区特产销售平台源代码+论文+毕业设计.zip
- B297C8EC5A69641DB3E681E1B3F894E5.mp4
- PrimitivesPro v2.2.unitypackage
- 财务管理系统源代码+论文.zip
- 高级信息通信运行管理员第七套试卷
- UModeler v2.11.6 (May 10, 2024).unitypackage
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本127.0.6486.0)
- 基于FPGA的CORDIC算法旋转模式实现
- bilibili视频解析下载源码
- 基于Selenium的Java爬虫实战(内含谷歌浏览器Chrom和Chromedriver版本124.0.6367.60)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功