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

Coldfusion 2016 API Manager not coming up after restart

I'm running api manager on linux machine. I did restart and now it's not coming up again. I am keep getting following error related to redis server. I did restart several times but still same error. All Add-on is locally installed in the same…
Ronnie Kumar
  • 635
  • 5
  • 18
0
votes
1 answer

What is the difference of "redis client list" with "connected client from info"

I am checking the actually connected clients from Redis. Which one should tell me the truth? I know "redis-cli client list" can give me more info. However, The total sum of this is different from the value in connected clients in (redis-cli info).…
James Xu
  • 115
  • 1
  • 12
0
votes
0 answers

Unable to get some keys in redis

I have loaded my redis instance with an RDB file. I can see all the keys loaded from the count. But i am not able to get some of the keys which are in the list. Its redirecting to some slots and showing nill. Please help. xxx.xxx.xxx.xxx:11212> GET…
0
votes
1 answer

How to load RDB to a redis cluster

I need to load a dump.rdb file to a redis cluster instance. How to do it? While I am keeping in data directory and trying to start the instance alone (say 11211) is flushing my rdb and new rdb file is written. Even by turning the appendonly to no.
0
votes
1 answer

SUM of last 24 hour scores within a specific range in a sorted set (Redis)

Is there a way to calculate the SUM of scores saved under 24 hour respecting performance of the Redis server ? (For around 1Million new rows added per day) What is the right format to use in order to store timestamp and score of users using sorted…
0
votes
0 answers

Will redis-sentinel support end?

I am currently using redis-py, and redis-sentinel. I heard that redis-sentinel support will end, is that true? Will only redis-cluster be supported in the future?
TA Hyouno
  • 377
  • 1
  • 2
  • 8
0
votes
2 answers

Can 'zpopmax' be used with redis-py-cluster?

I'm trying to use zpopmax with a sorted set in python rediscluster (repo), but the very simple program below fails with AttributeError. Question: How can I implement zpopmax with rediscluster? If it's really not implemented, I'll have to use both…
Dan Pittsley
  • 143
  • 7
0
votes
1 answer

Naming current Redis master (run in Docker) in Python

How to make Python failover to Redis slave if master is down? With current configuration, Sentinels elect a new master, but Python writes stop. I assume I should not use redis-master as is in docker-compose.yml file; what are the alternatives? In…
user11992940
0
votes
1 answer

Whether redis scan will scan data inserted after scan operation started?

I am using the redis scan to iterate over the key in my redis DB.This is the code i am using #example :1 start_cursor=0 r=redis.StrictRedis(host='localhost',port=6379) cur, keys = r.scan(cursor=start_cursor, match='*',…
Jebaseelan Ravi
  • 697
  • 8
  • 22
0
votes
1 answer

How to connect Vertx RedisClient in cluster mode with Elasticache

I am using Vertx Redis client from the package io.vertx.rxjava.redis.RedisClient to connect to Elasticache Redis. It does connect but shows an error, io.vertx.redis.client.impl.types.ErrorType: MOVED 4985 xxx.xxx.xxx.xxx:63791 After reading about…
mux032
  • 65
  • 2
  • 8
0
votes
1 answer

'(error) ERR Error running script (call to ...)' when using --eval for LUA script

I am getting an error message when running this command: redis-cli --eval myscript.lua myzset 3 "one" Error message: (error) ERR Error running script (call to f_9c623c243d74e75a4fe64de7a6826b47f8d7 d400): @user_script:1: @user_script: 1: Lua…
Cliff Anger
  • 195
  • 2
  • 11
0
votes
2 answers

How to setup max memory for a redis5.0.5 cluster

I have a redis cluster with 4 servers with 24 GB memory each. Each server has a master and a slave instance running. Cluster topology: (A-->B means A is slave of B) server2 slave-->server1 master server3 slave-->server2 master server4…
Tushar
  • 1,117
  • 1
  • 10
  • 25
0
votes
2 answers

Redis Cluster Client doesn't work with Redis cluster on GKE

My setup has a K8S Redis cluster with 8 nodes and 32 pods across them and a load balancer service on top. I am using a Redis cluster client to access this cluster using the load balancer's external IP. However, when handling queries, as part of…
user1474341
  • 125
  • 1
  • 12
0
votes
1 answer

Lettuce Redis library strong consistency using ReadFrom

In my service I am trying to ensure strong consistency using ReadFrom method of Lettuce client. I am writing and then performing a read. In the client configuration, I have set ReadFrom to SLAVE_PREFFERED. Lettuce documentation says in…
Shubham Jain
  • 392
  • 1
  • 3
  • 15
0
votes
1 answer

Redis 4 systemd Sentinel config file not writable

I have installed latest Redis 4(4.0.14) version.I am trying to setup a 3 node Redis sentinel. I changed my sentinel config file , when I try to run /usr/bin/redis-sentinel /etc/redis-sentinel.conf I could start redis sentinel however If i start…
Leo Prince
  • 940
  • 2
  • 14
  • 33