Redis cluster

99 views
Skip to first unread message

Santos Das

unread,
Jan 4, 2017, 10:56:12 AM1/4/17
to Redis DB
Hi,

What is the license model for Redis cluster?

Also, can someone suggest one c++/java redis client library.

Thanks, Santos

Itamar Haber

unread,
Jan 4, 2017, 11:27:06 AM1/4/17
to Redis DB
Hello Santos,

Redis is an open source software and is licensed under the terms of the three clause BSD license: https://redis.io/topics/license

A list of Redis clients is maintained at: https://redis.io/clients

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.



--

Itamar Haber | Chief Developer Advocate
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Email: ita...@redislabs.com
Twitter: @itamarhaber
Skype: itamar.haber

Blog  |  Twitter  |  LinkedIn


Message has been deleted

ShuXin Zheng

unread,
Mar 5, 2017, 5:25:31 AM3/5/17
to Redis DB
There are one  C++ redis client in "https://github.com/zhengshuxin/acl/tree/master/lib_acl_cpp/samples/redis" which supports redis-cluster with stl-like interface. Given one sample below:

acl::redis_client_cluster cluster;
const char* one_redis = "127.0.0.1:6379";  // just give one redis addr, the other redis will be auto-found
int max_conns = 1000, conn_timeout = 60, rw_timeout = 60;
cluster.set(one_redis, max_conns, conn_timeout, rw_timeout);

acl::redis cmd(&cluster);
const char* key = "key_name", *value = "key_value";
if (cmd.exists(key))
    printf("key exists\r\n");
else if (cmd.set(key, value))
    printf("set ok\r\n");
else
    printf("set error=%s\r\n", cmd.result_error());


Good luck
-zsx

在 2017年1月4日星期三 UTC+8下午11:56:12,Santos Das写道:
Reply all
Reply to author
Forward
0 new messages