Questions tagged [amazon-elasticache]

Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. Amazon ElastiCache improves the performance of web applications by allowing you to retrieve information from a fast, managed, in-memory caching system. The service simplifies and offloads the management, monitoring and operation of in-memory cache environments, enabling your engineering resources to focus on developing applications.

Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory cache in the cloud. Amazon ElastiCache improves the performance of web applications by allowing you to retrieve information from a fast, managed, in-memory caching system, instead of relying entirely on slower disk-based databases. The service simplifies and offloads the management, monitoring and operation of in-memory cache environments, enabling your engineering resources to focus on developing applications. Using Amazon ElastiCache, you can not only improve load and response times to user actions and queries, but also reduce the cost associated with scaling web applications.

Amazon ElastiCache automates common administrative tasks required to operate a distributed cache environment. Using Amazon ElastiCache, you can add a caching layer to your application architecture in a matter of minutes via a few clicks of the AWS Management Console. Once a cache cluster is provisioned, Amazon ElastiCache automatically detects and replaces failed cache nodes, providing a resilient system that mitigates the risk of overloaded databases, which slow website and application load times. Through integration with Amazon CloudWatch monitoring, Amazon ElastiCache provides enhanced visibility into key performance metrics associated with your cache nodes. Amazon ElastiCache is protocol-compliant with Memcached, a widely adopted memory object caching system, so code, applications, and popular tools that you use today with your existing Memcached environments will work seamlessly with the service. As with all Amazon Web Services, there are no up-front investments required, and you pay only for the resources you use.

876 questions
0
votes
0 answers

Amazon ElastiCache High Availability

I am using Amazon ElastiCache for Redis. I am not using Redis for caching, but storing very important key which is used in every transaction hitting to my server. So if ElastiCache instance fails I can't wait for 3-6 minutes to start another…
0
votes
1 answer

Amazon ElasticCache for Redis with Node.js server

I am using Redis in my Node.js application. I don't use it for caching and I don't want to. I want my data in the Redis to be persistent at any point. Also my every call to redis write to the disk. Is it helpful to use the Amazon elastic cache in…
Viddesh
  • 441
  • 5
  • 18
0
votes
1 answer

Redis cache lru start softlimit

I know redis can be used as LRU cache, but is there softlimit flag, where we can state after specific criteria is reached "redis will start cleaning LRU items". Actually I'm getting OOM errors on redis, I've set redis to LRU cache, but it hits OOM…
Sumit Murari
  • 1,597
  • 3
  • 28
  • 43
0
votes
1 answer

Elasticache with Redis - Client sdks

I have a web farm in amazon and one of my sites need some caching. I am considering the use of Elasticache redis. Can anyone shed some ligth on how I would connect and interact with this cache? I have read about several client sdks like…
Lars Anundskås
  • 1,345
  • 10
  • 24
0
votes
1 answer

Uneven cache hits

I have integrated twemproxy into web layer and I have 6 Elasticache(1 master , 5 read replicas) I am getting issue that the all replicas have same keys everything is same but cache hits on one replica is way more than others and I performed several…
Rohit
  • 27
  • 7
0
votes
1 answer

Elasticache redis cache miss but key is present.

I am using aws elasticache for caching some files using redis. I am able to connect to the cache and see the keys using keys *. However when I try the following input_text = Rails.cache.fetch("#{input_data_file_name}") do some code fetching file…
Ayush Lodha
  • 181
  • 3
  • 14
0
votes
0 answers

JedisConnectionFactory fails to connect to Elasticache even though redis-cli ping is successful

I'm running Java/Tomcat project in Elastic Beanstalk. I've setup an Elasticache group in the same vpc. Currently, just testing with a single EC2 instance. The app is Spring Boot with spring-boot-starter-redis. It tries to ping Redis with…
jiggy
  • 3,828
  • 1
  • 25
  • 40
0
votes
1 answer

How to connect to a elasticache AWS memcache and retrieve a record in java? I cant find any code examples online

I am looking through the aws documentation and searched on google but I can't find any documentation that says how to do this with the java sdk. Can someone share any code that they have or point me to some code examples which shows how to dothis?
Kamal
  • 560
  • 1
  • 5
  • 14
0
votes
1 answer

"client not initialized" error when using SSMCache with AWS elasticache autodiscovery

I am using Spring cache with AWS elasticache provider. I get this warning: WARN c.g.code.ssm.spring.SSMCache - An error has occurred for cache defaultCache and key java.lang.IllegalStateException: Client is not initialized at…
0
votes
1 answer

How to cache a String coming from Amazon S3 in ElastiCache?

I need to fetch some string resources from Amazon S3 in a concurrent multithreaded environment. I would like to implement caching using Amazon ElastiCache. In essence I would like to implement a method like that: String getSomething(key) { …
0
votes
1 answer

Compress session data to be stored in ElastiCache with Redis as an ASP.NET Session Store

We are using ElastiCache with Redis as an ASP.NET Session Store like here - https://blogs.aws.amazon.com/net/post/TxMREMF0459SXT/ElastiCache-as-an-ASP-NET-Session-Store. We are storing lot of data in Session and we would like to know if we can…
0
votes
1 answer

AWS Elasticache use with Periodic Tasks

I am trying to use ElastiCache with a Spring app that is supposed to be deployed as a worker application in a worker environment on AWS. The app has a a cron job which should run every 5 minutes and update some data on ElastiCache. The cron.yaml is…
Syed
  • 340
  • 1
  • 3
  • 13
0
votes
1 answer

Amazon ElastiCache vs Ramfs in Linux

I am new to Amazon Web Services. I was reading about Amazon ElastiCache and wanted to clarify if it is like (may be more than that) using RAM filesystem in Linux where we use a portion of system memory as a file system. As I referred AWS…
Manny
  • 1,407
  • 2
  • 11
  • 15
0
votes
1 answer

Using Node.js global variables for Redis Endpoints

We are about to start using redis in elastic cache. I can save a config file with my endpoints, that's fine. But if we decide to add on another replica, and we are using elastic beanstalk, it means rebuilding the app on all the servers just to add…
CargoMeister
  • 4,199
  • 6
  • 27
  • 44
0
votes
1 answer

Memcache running out of memory for PHP sessions

I have a web tier in AWS running Nginx+PHP-fpm using memcache on ElastiCache for sessions. Over the last 6 months or so we've been experiencing a very strange issue where every so often perhaps 6 weeks or so the ElastiCache node runs out of memory…
talentedmrjones
  • 7,511
  • 1
  • 26
  • 26