Questions tagged [redis-cluster]

Redis Cluster provides a way to run a Redis installation where data is automatically sharded across multiple Redis nodes.

Redis Cluster provides a way to run a Redis installation where data is automatically sharded across multiple Redis nodes.

Redis Cluster also provides some degree of availability during partitions, that is in practical terms the ability to continue the operations when some nodes fail or are not able to communicate. However the cluster stops to operate in the event of larger failures (for example when the majority of masters are unavailable).

So in practical terms, what you get with Redis Cluster?

  • The ability to automatically split your dataset among multiple nodes.

  • The ability to continue operations when a subset of the nodes are experiencing failures or are unable to communicate with the rest of the cluster.

Refer:

http://redis.io/topics/cluster-tutorial

694 questions
0
votes
1 answer

Implementing Cuckoo Filter on multiple nodes in Redis

I'm trying to implement cuckoo filter in Redis. What I have till now works fine except that it just inserts all the values on a single node even when working on a cluster. In order to implement it on multiple nodes, I'm thinking of directing…
mohitmayank
  • 631
  • 2
  • 7
  • 20
0
votes
1 answer

redis cluster - is a proxy or cluster supporting library necessary to interact with a cluster?

So, I'm designing a distributed system with multiple redis instances to break up a large amount of streaming writes, but finding it difficult to get a clear picture of how things work. From what I've read, it seems that a properly configured…
Christopher Reid
  • 4,318
  • 3
  • 35
  • 74
0
votes
2 answers

RedisClusterException when trying to write using Celery

My environment: I have three Ubuntu servers. One server is used as a load balancer using Nginx. The other two servers contain the exact same project (are identical apart from redis where one box is the master and other is the slave). The…
Jahedh
  • 3
  • 1
  • 5
0
votes
1 answer

Cannot create redis cluster (Sorry, can't connect to node)

I'm trying to follow the redis cluster tutorial but whenever I try to run: ./redis-trib.rb create --replicas 1 127.0.0.1:7000 127.0.0.1:7001 \ 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005` I get the error: [ERR] Sorry, can't…
0
votes
1 answer

Redis and twemproxy

I have initially formed a Redis cluster with 3 masters and 3 slaves in my local machine. Now I want to use twemproxy on Redis cluster so I have used, the below lines(see below) as my config file and implemented twemproxy with Redis cluster. But the…
0
votes
1 answer

What are the costs of using Redis channels over single Redis channel

I have some code which basically does this psudocode() registerCamera(id) { createRedisPubChannel("Camera_"+id) } cameraDisconnect() { removeRedisSubChannel("Camera_"+id) } I then communicate with that camera through that channel…
Alan Hollis
  • 1,292
  • 3
  • 14
  • 29
0
votes
1 answer

Redis cluster does not support simultaneous fail of several master nodes

I've got the following configuration: Redis_version:3.2.0 3 master nodes and 3 slave nodes Each master node is replicated to a slave Everything is correct. When one master node fails by a "kill" command, the corresponding slave node becomes the…
chicharito
  • 1,047
  • 3
  • 12
  • 41
0
votes
1 answer

What's the usage of StackExchange.Redis on redis cluster mode

This is using stackexchange.redis v1.1.603, .net 4.6, console application. Here is my codes: using System; using System.Collections.Generic; using StackExchange.Redis; namespace RedisClusterTesting { class Program { static void…
Robin Chen
  • 81
  • 1
  • 5
0
votes
1 answer

redis-cli CLUSTER NODES command shows different info on different nodes after CLUSTER RESET

We have a Redis Cluster with 3 machines with Master+Slave on each machine ( Amazon Cloud envs). The order is [M1,S3] [M2,S1] [M3,S2] After restart of one machine, for example [M2,S1], the CLUSTER NODES command shows different info. I don't…
ybonda
  • 1,546
  • 25
  • 38
0
votes
1 answer

Since we do not have binding of redis cluster, How to run ycsb to test redis cluster?

I am doing research on redis. I have built my Redis cluster using three master nodes and I have another node for running ycsb. I encounter the same problem as described in To start YCSB load with cluster enabled option for REDIS. And I tried to…
Casualet
  • 295
  • 3
  • 12
0
votes
3 answers

Getting a connection error when using redis-trib.rb to create a cluster?

I have all my Redis servers configured like this: Masters: 192.168.0.106:7001, 192.168.0.105.7001, 192.168.0.112:7001 Slaves: 192.168.0.106:7002, 192.168.0.105:7002, 192.168.0.122:7002 Where the 192.168.0.106:7002 server is a slave of the…
Milen Kovachev
  • 5,111
  • 6
  • 41
  • 58
0
votes
1 answer

How to set up sails app to connect to redis cluster?

We were able to set up our sails app to use redis as our session store and socket connection. But we don't know how to set up sails to connect to a redis cluster, any thoughts/examples available? Just to make it a little more clear, our sails app…
Peter
  • 775
  • 1
  • 6
  • 12
-1
votes
2 answers

Is there a way to restrict writes to master only in redis?

I have a redis cluster created with master slave mode. I want to create a redisson client to access the cluster but I want to specify separate endpoints for reads and writes. Writes should go to master and reads should happen from the slaves. There…
Yellowjacket
  • 548
  • 2
  • 7
  • 19
-1
votes
1 answer

which is better Redis inhouse setup vs Redis cloud setup for productions and development environments?

Based on the parameters Cost Hardware Requirements (RAM,Nodes etc) Also elaborate availability requirements for production and development environments.
-1
votes
1 answer

what happens if io.redisearch.client.Client.close() is not called in Redisearch?

I am using Redisearch through jredisearch api for storing the data in Redisearch Indexes. I access the Redisearch through io.redisearch.client.Client object with the args Client(String indexName, String host, int port, int timeout, int poolSize,…
chaitra d
  • 45
  • 5