redis-rb-cluster
redis-rb-cluster copied to clipboard
Redis Cluster Ruby client based on redis-rb
hi, may i ask how to redirect redis-cli --stat output to a file?I use redis-cli --stat >/tmp/a.log ,but got an empty file. on linux centos 7. thanks
from sshtunnel import SSHTunnelForwarder import rediscluster REDIS_HOST = 'xxxxxx' tunnel = SSHTunnelForwarder(('127.0.0.1', 22), ssh_username='ubuntu', remote_bind_address=(REDIS_HOST, 6379)) tunnel.start() startup_nodes = [ {"host": '127.0.0.1', "port": tunnel.local_bind_port} ] split_redis_con = rediscluster.RedisCluster( startup_nodes=startup_nodes, decode_responses=True,...
AttributeError: 'RedisCluster' object has no attribute 'connection'
Hi, I am trying to test my cluster using these ruby clients. But I constantly get the following error: > error Can't reach a single startup node. NOAUTH Authentication required...
Got "Too many Cluster redirections?" forever when using redis.object('idletime', key) on cluster, so I fixed the key in cluster.rb according to https://redis.io/commands/object
Hi antirez, How do you do? I build the redis cluster for work recently. Then I read the source code in `redis-rb-cluster` seriously. Yeah, I am a Rubist. I find...
ruby example.rb /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- ./cluster (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from example.rb:1:in `' this is my output , should I need to install cluster or do...
These are the main enhancements: 1. Each redis node has a connection pool(fork safe) 2. Can enable to read from slave 3. Each redis command has a corresponding ruby method...
Hello, I've started to use your source code as a basis for my own calls against a Redis cluster. It is unwieldy to work with when not a Gem. Any...
Hello. I don't understand ASK redirect handling, maybe there is error? https://github.com/antirez/redis-rb-cluster/blob/master/cluster.rb#L239 How this code ensures that `asking` command and redirected command goes to the right instance (from catched ASK...