All Projects → 0xsky → Xredis

0xsky / Xredis

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

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Xredis

Redis Plus Plus
Redis client written in C++
Stars: ✭ 428 (+50.18%)
Mutual labels:  redis, redis-client, redis-cluster, connection-pool
Quick redis blog
QuickRedis is a free forever Redis Desktop manager. It supports direct connection, sentinel, and cluster mode, supports multiple languages, supports hundreds of millions of keys, and has an amazing UI. Supports both Windows, Mac OS X and Linux platform.
Stars: ✭ 594 (+108.42%)
Mutual labels:  redis, redis-client, redis-cluster
Lettuce Core
Advanced Java Redis client for thread-safe sync, async, and reactive usage. Supports Cluster, Sentinel, Pipelining, and codecs.
Stars: ✭ 4,319 (+1415.44%)
Mutual labels:  redis, redis-client, redis-cluster
Cachingframework.redis
Distributed caching based on StackExchange.Redis and Redis. Includes support for tagging and is cluster-compatible.
Stars: ✭ 209 (-26.67%)
Mutual labels:  redis, redis-client, redis-cluster
Redis Py Cluster
Python cluster client for the official redis cluster. Redis 3.0+.
Stars: ✭ 934 (+227.72%)
Mutual labels:  redis, redis-client, redis-cluster
Fastoredis
FastoRedis is a crossplatform Redis GUI management tool.
Stars: ✭ 316 (+10.88%)
Mutual labels:  redis, redis-client, redis-cluster
Cpp redis
C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform - NO LONGER MAINTAINED - Please check https://github.com/cpp-redis/cpp_redis
Stars: ✭ 855 (+200%)
Mutual labels:  redis, redis-client, multi-platform
Csredis
.NET Core or .NET Framework 4.0+ client for Redis and Redis Sentinel (2.8) and Cluster. Includes both synchronous and asynchronous clients.
Stars: ✭ 1,714 (+501.4%)
Mutual labels:  redis, redis-client, redis-cluster
Redis Game Transaction
在大型游戏中经常使用分布式,分布式中因为游戏逻辑会经常游戏事务,借助redis特性我们可以实现分布式锁和分布式事务。很多redis集群不支持redis的事务特性。 这个框架用来解决分布式服务器下redis集群事务失效的情况下,基于分布式锁完成分布式事务。支持独占锁,共享锁,读写锁,并且支持事务提交失败情况下的回滚操作,让开发者可以有更多时间侧重游戏逻辑.
Stars: ✭ 124 (-56.49%)
Mutual labels:  redis, redis-client, redis-cluster
Php Redis Client
RedisClient is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0
Stars: ✭ 112 (-60.7%)
Mutual labels:  redis, redis-client, redis-cluster
Ioredis
🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
Stars: ✭ 9,754 (+3322.46%)
Mutual labels:  redis, redis-client, redis-cluster
Camellia
camellia framework by netease-im. provider: 1) redis-client; 2) redis-proxy(redis-sentinel/redis-cluster); 3) hbase-client; 4) others
Stars: ✭ 146 (-48.77%)
Mutual labels:  redis, redis-client, redis-cluster
Redis
Type-safe Redis client for Golang
Stars: ✭ 13,117 (+4502.46%)
Mutual labels:  redis, redis-client, redis-cluster
Redisson
Redisson - Redis Java client with features of In-Memory Data Grid. Over 50 Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, MyBatis, RPC, local cache ...
Stars: ✭ 17,972 (+6205.96%)
Mutual labels:  redis, redis-client, redis-cluster
Undermoon
Mordern Redis Cluster solution for easy operation.
Stars: ✭ 166 (-41.75%)
Mutual labels:  redis, redis-cluster
Go Rejson
Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)
Stars: ✭ 164 (-42.46%)
Mutual labels:  redis, redis-client
Redis3m
A C++ Redis client
Stars: ✭ 173 (-39.3%)
Mutual labels:  redis, redis-client
Redis Manager
Redis 一站式管理平台,支持集群的监控、安装、管理、告警以及基本的数据操作
Stars: ✭ 2,646 (+828.42%)
Mutual labels:  redis, redis-cluster
Redex
Cloud-native Redis server implemented in Elixir
Stars: ✭ 160 (-43.86%)
Mutual labels:  redis, redis-cluster
Redisc
A Go redis cluster client built on top of redigo.
Stars: ✭ 183 (-35.79%)
Mutual labels:  redis, redis-cluster

xRedis
Build Status License GitHub version

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

Usage

#Accessing redis or  redis Cluster using the xRedisClusterClient class

#include "xRedisClusterClient.h"
int main(int argc, char **argv) {
    xRedisClusterClient redisclient;
    # Connect to REDIS and establish a connection pool 
    # If this node is a member of the REDIS cluster, 
    # a connection pool is automatically established for each primary node in the cluster.
    std::string passwd = "passwd123";
    bool bRet = redisclient.ConnectRedis("127.0.0.1", 6379, passwd, 4);

    RedisResult result;
    redisclient.RedisCommand(result, "set %s %s", "key", "hello");
    
    printf("type:%d integer:%lld str:%s \r\n",
        result.type(), result.integer(), result.str());

    return 0;
}

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

支持作者: 捐赠作者 Donate with PayPal [email protected]

Support xRedis: BTC: bc1q2c0fqc6c5h36t46n2cgz4kel4dutvjpzvta5ru

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].