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
5
votes
2 answers

How can we see which nodes are primary or replica, in aws elasticache redis-cluster?

At the below link: http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/ClientConfig.ReplicationGroup.html following content is present: REPLICATIONGROUP my-repgroup My replication group available CLUSTERID my-redis-primary …
5
votes
2 answers

Redis Cluster with SignalR Backplane

Our application uses SignalR. We need to support load balanced deployment for high availability. We also use clustered Redis for caching in our app. We are thinking of using the same Redis cluster as SignalR backplane to scale out. But the…
5
votes
1 answer

How to config redis-cluster when use spring-data-redis 1.7.0.M1

I use spring-data-redis version 1.7.0.M1,and jedis version 2.8.0 Here is my configuration
tao xie
  • 63
  • 1
  • 2
  • 5
5
votes
1 answer

Redis nodes.conf file locked?

I am following this tutorial to create a Redis cluster: http://redis.io/topics/cluster-tutorial In this tutorial I need to run several redis-server instances on port 7000 through 7005. However after I run the first instance successfully and try to…
Milen Kovachev
  • 5,111
  • 6
  • 41
  • 58
4
votes
1 answer

Unable to provision Pod in EKS cluster configured with Fargate

I have recently setup an EKS cluster with Fargate. When I tried to deploy Redis Service on k8s using guide, I am getting the following errors: Pod provisioning timed out (will retry) for pod: default/redis-operator-79d6d769dc-j246j Disabled logging…
4
votes
1 answer

Issue with creating bitnami-docker-redis-cluster

When I try to execute the docker command getting the below error: docker run --name redis-cluster -e ALLOW_EMPTY_PASSWORD=yes bitnami/redis-cluster:latest latest: Pulling from bitnami/redis-cluster Digest:…
Arunkumar
  • 595
  • 1
  • 9
  • 23
4
votes
1 answer

Redis (node using ioredis) clusterRetryStrategy exception handling

I have a local setup on a mac running a redis cluster with 6 nodes. I have been trying to handle connection errors and limit the number of retries whenever the cluster is offline (purposefully trying to provoke a fallback to mongo) but it keeps…
user906573
  • 644
  • 1
  • 6
  • 22
4
votes
1 answer

Is there a way to auto discover new cluster node IP in Redis Cluster with Lettuce

I have a Redis Cluster (3 master and 3 slaves) running inside a Kubernetes cluster. The cluster is exposed via a Kubenetes-Service (Kube-Service). I have my application server connected to the Redis Cluster (using the Kube-Service as the URI) via…
Shabirmean
  • 2,341
  • 4
  • 21
  • 34
4
votes
2 answers

Node.js Connecting to redis cluster

There are tons of examples and resources for connecting to a redis "server" but not to a redis "cluster". What I currently have is: const redis = require("redis"); const client = redis.createClient({ port : 6379, // replace…
MoonEater916
  • 436
  • 2
  • 6
  • 19
4
votes
1 answer

Does Redis Cluster support connection pooling using Python API?

Does Redis Cluster support connection pooling using python api "rediscluster"? I have searched but could not find an appropriate link. Can someone share the code or the link if connection pooling is supported in the python api? Thank You, Sachin…
Sachin Vyas
  • 41
  • 1
  • 5
4
votes
1 answer

Does lettuce support pipelining in redis-cluster?

Need to run a batch of commands in redis-cluster mode with lettuce.For commands that should run in one partition, i hope to run them in one node sequentially. As i know, lettuce can support redis pipelining by set the AutoFlushCommands state to be…
Bing
  • 41
  • 1
  • 3
4
votes
2 answers

how to set connection timeout in flask redis cache

I'm trying to use redis cache with my python code, below code works fine and it sets the keys perfectly. I wanted to set timeout when its not able to connect to redis or if the ports are not open. unfortunately I could not able to find any document…
Amjad Hussain Syed
  • 994
  • 2
  • 11
  • 23
4
votes
3 answers

"Couldn't Get Slot Allocation" Error On AWS ElastiCach (Redis) using Node.js

I was able to connect to Amazon ElastiCache (Redis) using Node.js libraries, which are redis and redis-clustr without any error. But get couldn't get slot allocation error whenever I tried to set key and value pair in Node.js app running on Amazon…
Cocest
  • 147
  • 1
  • 2
  • 15
4
votes
3 answers

redis-cluster - add-node slave to existing cluster from remote machine hanging forever

I am trying to connect a cluster of 8 replicas on one address to an existing cluster on another address. The replica servers are all running in cluster mode. When I try to do either: ./redis-trib.rb add-node --slave REPLICA_IP:6380…
Christopher Reid
  • 4,318
  • 3
  • 35
  • 74
4
votes
3 answers

Possible to use pipelining with Redis cluster?

Currently, our Redis set up involves Jedis + sharding. Scaling up and down involves adding/removing shards manually which is a lot of operational work. We are also heavily dependent on pipelining since we are doing a lot of writes per second. Hence,…
uohzxela
  • 613
  • 4
  • 14
  • 28