Questions tagged [elastic-cache]

51 questions
0
votes
1 answer

How can I benefit from cache when one element is effected by specific user situation

We have a page that lists products for an e-commerce platform, which updates every 30 minutes and we cache it for 30 minutes as it gets a lot of views. However there is a "buy" button on it, and if a user has already bought it needs to change from…
Hossj
  • 318
  • 2
  • 11
0
votes
1 answer

Is there a way to disable command 'keys *' in Redis?

I'm using AWS elastic cache Redis. I saw that Warning: consider KEYS as a command that should only be used in production environments with extreme care in Redis Documentation. If I want to disable the 'key' command, Is there a way to disable command…
bbuljj
  • 93
  • 6
0
votes
1 answer

Elastic cache clustered one node CPU spikes on one node alone

Adding elastic cache Redis AWS into a java service. Elastic cache is configured to clustered mode. Client used - Redisson. Symptom There are times in the POC where the CPU spikes and only in a single nodes in the cluster. When reading this…
0
votes
0 answers

Caching documents for distributed processing in AWS

We've a set of microservices for document processing. One of the service will generate a document from template, another will convert to PDF and another one will save to database and so on. The microservices communicates through messages using…
VJAI
  • 32,167
  • 23
  • 102
  • 164
0
votes
1 answer

ElastiCache and DynamoDB

not able to get my Redis cluster and DynamoDB working together in the same lambda, if I comment any one other work fine, but together they will give timeout, and Cloudwatch simply does not log anything, ex dyamodb.get_item(), redis.get() keep on…
0
votes
0 answers

Performance of a cluster Redis with Elastic Cache

I am making performance tests with a Redis Cluster mode enable ( AWS Elastic Cache - default.redis6.x.cluster.on ). cluster. And monitoring with datadog . For the test we made a application who make juste a set and get on Redis. We make some threads…
0
votes
0 answers

How do you configure Laravel (7) with Elasticcache / Redis

I'm getting CROSSSLOT Keys in request don't hash to the same slot in a Laravel App when using Redis (ElasticCache). It's not clear where theses keys should be defined, or if Laravel/PHP will even support this. For instance in the…
ChronoFish
  • 3,589
  • 5
  • 27
  • 38
0
votes
0 answers

pulumi import of AWS Elastic Cache cluster is failing with error "resource does not exist"

I have a few AWS Elastic Clusters and I am trying to import them to Pulumi. The issue is that pulumi import returned error for most of my clusters. Only a few of them were able to be detected by pulumi. Here is the example admin-gateway and…
0
votes
0 answers

Add all the items for an attribute in DynamoDb to ElasticCache or Aws memory db for fast lookup

I would appreciate some insights if this is a good/bad design choice. I have a Dynamodb with an attribute of which all of which have to be fetched for an access pattern. Instead of doing a parallel scan, would it be OK to write through in elastic…
0
votes
1 answer

How to connect to elastic cache in rails

I am looking for a way to connect the rails application to elastic cache for storing the cache. For testing purpose I try to test with redis-cli which is working fine. Is there any library or documentation available to connect to elastic cache. I…
Aniket Tiwari
  • 3,561
  • 4
  • 21
  • 61
0
votes
2 answers

AWS Elastic Cache Redis Cluster `MOVED XXXXX ip:6379` error

I am trying to connect to AWS Elastic Cache Redis Cluster and i keep getting this I am still getting the Error MOVED 12218 ip:6379 Following is the code https://www.npmjs.com/package/redis - redis: ^4.0.1 import {createClient} from "redis"; const…
Rajan Shah
  • 95
  • 1
  • 2
  • 10
0
votes
0 answers

How to avoid redis queu lose if a redis task ends

I have a service running always one task which loads a docker Redis image. This service runs in an ECS. Now my question is: Given this configuration, if the Redis task ends, it will load a new Redis task. However, I understand the queu Redis has…
0
votes
1 answer

Redis key storing wrong date as a value

When trying in local redis key storing correct date from db but when I run on my dev environment the redis key storing a wrong dates. (Initially picking data from db if hashkey does not exist.) eg. In both cases keys are unique. Hashmap is being…
Piyush
  • 23
  • 5
0
votes
1 answer

Slow reading (4s) from ElasticCache/Memcached with Elastic Beanstalk

I have a problem understanding the interaction between ElasticCache and ElasticBeanstalk. I have created a Memcached cluster in ElasticCache (cache.t3.medium 1 node). ElasticBeanstalk is based on PHP 8.0 running on 64bit Amazon Linux 2/3.3.12. To…
0
votes
1 answer

StackExchange.Redis.RedisTimeoutException occuring Frequently

we are using Elastic cache redis that aws provides in our .Net Core application and when we perform the below operation sometimes we are getting the below TimeoutException after sometime can someone please help me to solve this attaching exception…