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
12
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
  • 31,090
  • 47
  • 134
  • 244
12
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
  • 121
  • 1
  • 4
12
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…
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
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…
11
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
  • 489
  • 1
  • 6
  • 17
11
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,627
  • 5
  • 30
  • 51
10
votes
2 answers

Accessing ElastiCache from EKS Cluster

I have set up an EKS cluster and I am trying to connect application pod to ElastiCache endpoint. I put both in same VPC and configured in/out security groups for them. Unfortunately while trying to telnet from pod to cache endpoint, it says…
admly
  • 319
  • 2
  • 10
10
votes
2 answers

Setting up a NAT gateway with VPC using Serverless framework

I'm trying to use the serverless framework to create a Lambda function that can access an Elasticache cluster, as well as call out to the internet. I've got as far as configuring serverless.yml to create the Lambda function, create the Elasticache…
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

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
  • 343
  • 2
  • 13
10
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
  • 225
  • 2
  • 10
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
  • 60,957
  • 96
  • 316
  • 522
10
votes
1 answer

aws elasticache redis set and get

I am new to AWS-SDK and I am running an node.js application on an EC2 instance. I am trying to use ElastiCache-Redis in the node.js application. However, I can not find the API of ElastiCache to make basic Redis calls. The url below did not provide…
windchime
  • 1,253
  • 16
  • 37
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,913
  • 2
  • 18
  • 37
1 2
3
58 59