Questions tagged [elastic-cache]

51 questions
6
votes
2 answers

Redis Client ignoring configuration options set on it and trying to connect to default ip 127.0.01

In AWS i am using ElastiCache Redis server and using node as backEnd and "promise-redis" package this is how i am tried to do to connect to my redis server endpoint client = redis.createClient({ host: '**my redis primary endpoint**', …
Andrew Naem
  • 162
  • 12
4
votes
1 answer

AWS Redis cluster mode - what is the difference between Auto-failover and Multi-AZ flag?

I couldn't find the answer anywhere, and the description field when hovering are identical for me: "Status of Multi-AZ Automatic Failover. If enabled, in case of primary node loss, failover to a read replica will happen automatically" "Status of…
hanzo
  • 53
  • 3
3
votes
1 answer

Redis connection in broken state: connection timeout exceeded. It might have been processed Nodejs + Async-redis

Am trying to connect to AWS redis elastic cache, but i keep getting this error all the time. I am not sure what i am doing wrong here, any help is greatly appreciated. Here's my code async function testRedis(){ try{ const asyncRedis =…
user3172208
  • 91
  • 1
  • 5
2
votes
1 answer

I want to connect to Elasticcache for redis in which cluster mode is enabled. I want to connect it from golang (go-redis pkg)

In Golang,Go redis has 2 clients, redis.NewClient and redis.NewClusterClient. I am not sure which one to use for connecting to elasticcache for redis. I want to use the client which will only connect to one endoint of cluster and that enpoint will…
2
votes
0 answers

Socket timeout in redis after migrating elastic redis cluster from cache.t2.micro to cache.t2.small

My application immediately started facing socket timeout error after I migrated my elastic cache cluster on aws from cache.t2.micro to cache.t2.small. Which ultimately lead to Could not get a resource from the pool exceptions. This lead to…
2
votes
0 answers

How to connect elastic cache Redis to Nestjs Application

I want to establish a connection with Redis to Nestjs I have searched a lot but I can not figure it out. i establish a connection with my localhost Redis with Nestjs with CacheModule like this CacheModule.register({ store: redisStore, host:…
2
votes
0 answers

if it is possible to capture events in elasticache (redis) such as deletion of registers?

I want to know if there is way to capture when a register is deleted from redis on AWS Elasticache. I searched that there is a way of send notification when a cluster of redis is deleted but I dont want that. Someone knows…
david vargas
  • 163
  • 1
  • 2
  • 7
2
votes
1 answer

AWS elastic cache Redis cluster wide TTL

I am looking for a some property to be set in the cloud formation template for setting a cluster wide TTL, I am not sure if it is possible by cfn, or is there any another way to achieve this.
Arpit
  • 521
  • 2
  • 8
  • 22
1
vote
0 answers

How to set TTL for DNS cache in Lettuce/Redis Connection in Springboot 3

Our production system experienced a Redis connection timeout due to an outdated IP address returned by DNS lookup after Amazon AWS performed a system update on Elastic Cache cluster. To prevent this issue from happening again in the future and to…
1
vote
1 answer

Redis [ Exception : mget - all keys must map to the same key slot ]

I am trying to get multiple values from Redis using Python . Using method redisClient.keys("UniqueID*") method to get list of keys that match pattern such as "UniqueID10", "UniqueID11", "UniqueID13" while passing the list of keys to method…
1
vote
1 answer

How to Implement AWS Redis Session in Angular app

I want to implement AWS redis session in Angular app to store login token in session key that can be used across pods, I am using sessionStorage currently but need to use AWS redis session Can anyone please suggest how to do that?
tiya
  • 117
  • 1
  • 3
  • 14
1
vote
1 answer

How to access Memcache from AWS Lambda?

I have difficulty in connecting my Lambda with AWS Memcache. I'm using the below code snippet, I don't see any error logs and the function is getting timed out. Can you suggest me what went wrong ? const MemcachePlus =…
1
vote
1 answer

phpredis returns "Couldn't map cluster keyspace using any provided seed" error

phpredis returns "Couldn't map cluster keyspace using any provided seed" error when trying to connect to AWS ElasticCache for Redis cluster with tls/ssl turned on. Everything is working fine if the AWS ElasticCache for Redis cluster has no tls/ssl…
Vivek Bani
  • 3,703
  • 1
  • 9
  • 18
1
vote
1 answer

Sort redis hash maps based on string field

I'm trying to implement query functionality for my AWS redis cluster. I have stored all my data as hash maps and also created SortedSet for each of the indexed fields. Whenever a query is received we query SortedSet to find ids. The querying may…
1
vote
1 answer

Spring data redis with lettuce client and AWS elasticcache

I have lettuce client with springboot 2.3.9.RELEASE to connect AWS redis elasticcache master/slave. I'am able to write and read but a error is thrown every 5000ms The service works fine for my pourpose but I want to remove the error or how to know…
1
2 3 4