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
12
votes
2 answers

Connect to AWS ElastiCache with In-Transit Encryption + Auth from client other than redis-cli+stunnel

I'm trying to use a Ruby redis client and either one of two NodeJS clients (node_redis or ioredis) to connect to an Amazon ElastiCache cluster with in-transit encryption and auth enabled and am having issues. For all three clients, as soon as I…
Lance Whatley
  • 1,950
  • 9
  • 13
12
votes
2 answers

AWS Elasticache -- How to flush node from console?

I have a number of Elasticache nodes running and would like to clear them. I know it's possible to do this programmatically but I'd like to use the AWS console instead. How can I flush an Elasticache node using only the AWS console?
Billy Blob Snortin
  • 831
  • 3
  • 8
  • 16
12
votes
4 answers

Can I use Amazon Elasticache on Heroku?

I am currently using Heroku's Memcached in a Rails 3 app and would like to move over to Elasticache because the pricing is much more favorable. Is this possible? Is the configuration relatively straightforward? Is there anything that I should be…
alpheus
  • 919
  • 5
  • 14
  • 34
12
votes
1 answer

memcached-session-manager on AWS

I've got a website running on Amazon Web Services that is deployed using Elastic Beanstalk and runs on a minimum of 2 EC2 micro instances. An auto scaling policy is in place, so that it can scale up and scale down depending on the the traffic in the…
11
votes
2 answers

How to connect AWS Elasticache Redis cluster to Spring Boot app?

I have Spring Boot app which connects to Redis cluster, using Jedis Connection Factory: RedisClusterConfiguration redisClusterConfiguration = new…
11
votes
2 answers

redis-cli connection to Amazon ElastiCache Redis cluster hangs up

I have installed and compiled Redis from source and am attempting to connect to an Amazon ElastiCache (Redis) cluster. I can connect to the default localhost with no problem, but attempting to connect to an AWS endpoint causes what seems to be an…
Brad Solomon
  • 29,156
  • 20
  • 104
  • 175
11
votes
2 answers

Connect to AWS ElastiCache with In-Transit Encryption

ElastiCache with encryption uses TLS to communicate with redis client, yet as I've seen redis clients in all languages (ioredis, predis, go-redis) require a pem file when configuring the client to us TLS. How can I connect to Elasticache with…
Nick Ginanto
  • 26,414
  • 39
  • 123
  • 214
11
votes
2 answers

Is it possible to stop nodes in AWS ElastiCache cluster

I have an AWS account which is used for development. Because the developers are in one timezone, we switch off the resources after hours to conserve usage. Is it possible to temporarily switch off nodes in elasticache cluster? all i found in cli…
zaitsman
  • 7,571
  • 4
  • 35
  • 64
11
votes
3 answers

How to calculate redis memory used percentage on ElastiCache

I want to monitor my redis cache cluster on ElastiCache. From AWS/Elasticache i am able to get metrics like FreeableMemory and BytesUsedForCache. If i am not wrong BytesUsedForCache is the memory used by cluster(assuming there is only one node in…
Rahul Kumar
  • 141
  • 1
  • 5
10
votes
1 answer

Redis: How is "mem_fragmentation_ratio" impacting the performance?

Here it is my question for you: How is "mem_fragmentation_rateo" impacting the performance in Redis? I did some investigation in stackoverflow and in redis.io, but I couldn't really find a clear explanation about my question. As also explained in…
dadosnake
  • 101
  • 4
10
votes
2 answers

How to connect elasticache and dynamoDb from aws-lambda without using NAT Gateway

I need to connect dynamoDb and elasticache from aws-lambda (otherthan using NAT Gateway). ElastiCache provides essential caching methods along with help in making the Lambda state-ful. The concern is that for Lambda to work nice with DynamoDB it…
10
votes
2 answers

How to set Memcached retrieval timeout in Django

How do you change the retrieval timeout for the Memcached/Elasticache caching backend in Django? I'm using Amazon's Elasticache for caching content in Django, and I'm frequently seeing errors like: File…
Cerin
  • 50,711
  • 81
  • 269
  • 459
10
votes
3 answers

The current connections count keeps increasing in my Elasticache Redis node

I am using Jedis in a tomcat web app to connect to an Elascticache Redis node. The app is used by hundreds of users in day time. I am not sure of this is normal or not, but whenever I check the current connections count with cloudwatch metrics, I…
addonis1990
  • 421
  • 4
  • 16
10
votes
1 answer

Is Amazon EC Redis an effective caching solution or not?

As you may have noticed Amazon has announced a new feature for its own ElasticCache product, which is supporting Redis. We are currently using one EC2 instance for our Redis (just queuing for now) and we've decided to use Redis for other upcoming…
Maziyar
  • 1,813
  • 2
  • 17
  • 36
9
votes
2 answers

ioredis - ClusterAllFailedError: Failed to refresh slots cache

I'm dealing with a ClusterAllFailedError: Failed to refresh slots cache. issue from ioredis and Elasticache. This is my clustering config const clusterOptions = { enableReadyCheck: true, retryDelayOnClusterDown: 300, …
Cyberomin
  • 335
  • 1
  • 7
  • 21
1
2
3
43 44