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.

650 questions
9
votes
1 answer

AWS ElastiCache for Redis Engine CPU Utilization metrics, how to interpret?

We are using AWS ElastiCache for Redis for our application, and we need some help in understanding the metrics. During high load, we saw a CPU utilization of 30%, But Engine CPU Utilization was showing almost 80%. Could someone please elaborate on…
techy
  • 261
  • 2
  • 11
9
votes
1 answer

AWS Ultra Low Latency Read/Write Data Store: EFS vs Dynamodb DAX vs ElastiCache

My web application requires extremely low-latency read/write of small data blobs (<10KB) that can be stored as key-value pairs. I am considering DynamoDB (with DAX) and EFS and ElastiCache. AWS claims that they all offer low latency but I cannot…
9
votes
2 answers

AWS Lambda connection timeout to Elasticache

I am trying to make Serverless work with Elasticache. I wrote a custom CloudFormation file based on serverless-examples/serverless-infrastructure repo. I managed to put Elasticache and Lambda in one subnet (checked with the cli). I retrieve the host…
9
votes
1 answer

using StackExchange.Redis with ElastiCache

I plan to use the ConnectionMultiplexer.Connect("server1:6379,server2:6379") syntax, with the addressses:port number combination of each of the node in an ElastiCache replication group (in AWS terms). Will the library handle dead/unresponsive nodes,…
nirw
  • 215
  • 2
  • 9
9
votes
1 answer

AWS Elasticache - increase memcached item size limit

Im using the memcached module on AWS Elasticache in my python Flask app (with Flask-Cache) When i try to set a file that is less than 1MB i need to repeatedly access to the cache, i have no issues. But when the file size increases more than a MB…
8
votes
3 answers

AWS VPC Lambda Function keeps losing internet access

Hope someone can help enlighten me on this issue. I am currently working on a lambda function that utilizes the cloud watch scheduler to check various devices and it is using elasticache to maintain a simple database on the readings. My problem…
8
votes
3 answers

AWS Elasticache Timeout from EC2

I am getting connection timeout from EC2 trying to connect to AWS Elasticache. I launched a 1-node elasticache cluster I launched an EC2 instance, made sure availability zone was the same as the cluster, us-west-2b I did not create a new VPC. I see…
stampede76
  • 1,171
  • 2
  • 17
  • 32
8
votes
1 answer

Spring session on Redis - what is the failover when Redis is down

I am using Spring and Spring Security and want to use spring-session-data-redis with RedisHttpSessionConfiguration to enable storing session IDs on redis (so clients wont loose their sessions when webapp fails and switched over to another…
Berethor
  • 261
  • 1
  • 11
8
votes
1 answer

Is Amazon's ElastiCache that expensive?

I had an ElastiCache redis running on Amazon and forgot to turn it off after testing for a month. And today, they charged me USD230. Since this is my first time using Amazon and not even using a lot of memory, I'm just wondering if it's that…
moeseth
  • 1,667
  • 2
  • 20
  • 39
8
votes
0 answers

redis getaddrinfo ENOTFOUND - node.js , redis connection

Hi im trying to connect to redis from node.js which is successful, now i hosted my node.js server app on amazon ec2 instance and redis on amazon elastic cache instance the connection to redis is succesful but once in a while i'm getting the below…
8
votes
2 answers

Why should I use Simple Queue Service (SQS) over ElastiCache on AWS

SQS seems really easy to use but has some message size restrictions, e.g. 256 KB message size (really, really small). On the other hand, ElasticCache seems to be more high-end? I am not sure if this assumptions are right - please correct me. I am…
nikk
  • 2,159
  • 3
  • 26
  • 46
7
votes
1 answer

Setting Up Amazon ElastiCache w/ spymemcached in Java

I haven't been able to find a good tutorial on Memcached on Amazon Cloudand I'm very new to this whole caching thing. I am trying to use memcached through Amazon's ElastiCache service and with a spymemcached client to actually make the memcached…
Craig
  • 1,207
  • 3
  • 16
  • 28
7
votes
1 answer

Has Anyone Gotten Hibernate to Use Elasticache as its 2nd Level Cache?

I found some threads saying this was doable, but did not find specific instructions or config information. I want to do this from Beanstalk as well: the app should get deployed to beanstalk with a config that points hibernate to the elasticache…
Rob
  • 10,529
  • 6
  • 34
  • 54
7
votes
3 answers

How can an app on EC2 autodiscover ElastiCache instances?

Say I have a webapp running on some number of load-balanced EC2 servers, storing and retrieving metadata from SimpleDB with larger chunks of data stored on S3 (due to the whole 1 KB limitation of SimpleDB). Since S3 is pretty high latency and I…
Ty W
  • 6,406
  • 4
  • 26
  • 34
7
votes
2 answers

What is the difference between AWS ElastiCache Cluster and AWS ElastiCache Replication Group?

On terraform/cloudformation documentation there are two different resources to create an ElastiCache Redis instance: aws_elasticache_cluster (https://www.terraform.io/docs/providers/aws/r/elasticache_cluster.html) aws_elasticache_replication_group…
1 2
3
43 44