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
6
votes
3 answers

Error: Connection reset by peer while connecting to Elastic cache using stunnal method

I am using elastic cache single node shard redis 4.0 later version. I enabled In-Transit Encryption and gave redis auth token. I created one bastion host with stunnal using this link…
Shree Prakash
  • 2,052
  • 2
  • 22
  • 33
6
votes
1 answer

How to use put and get data from elasticache redis of AWS with golang

I tried to connect to elasticache to put data but I have not found a method to perform put the data. How can I put and get data on elasticache resdis of aws? my code mySession := getAWSSession() svc := elasticache.New(mySession) input :=…
6
votes
1 answer

High Redis latency in AWS (ElastiCache)

I'm trying to determine the cause of some high latency I'm seeing on my ElastiCache Redis node (cache.m3.medium). I gathered some data using the redis-cli latency test, running it from an EC2 instance in the same region/availability-zone as the…
Chris McBride
  • 173
  • 2
  • 8
6
votes
1 answer

AWS Lambda and Redis

I'm trying to write an AWS Lambda function which uses redis(on amazon elasticcache). The problem – I can't connect to redis. I use code like this 'use strict' function handler (data, context, cb) { const redis = require("redis") …
kharandziuk
  • 12,020
  • 17
  • 63
  • 121
6
votes
1 answer

Connect to ElastiCache cluster using Api Gateway

I need to communicate elasticache(Redis engine) using AWS API gateway. I successfully connected the ElastiCache from lambda function in the same VPC. I cant connect from outside VPC. So I tried to create an API gateway, and select integration type…
6
votes
1 answer

high cpu in redis 2.8 (elasticache) cache.r3.large

looking for some help in ElasticCache We're using ElasticCache Redis to run a Resque based Qing system. this means it's a mix of sorted sets and Lists. at normal operation, everything is OK and we're seeing good response times & throughput. CPU…
Shlomi Hassan
  • 177
  • 1
  • 11
6
votes
1 answer

Elastic Cache stuck in creating state

I tried to create two Memcache cluster's in Elastic Cache Using Elastic Beanstalk in AWS. Both got stuck in the same state saying 'creating' for the past 3 hrs. Any help will be appreciated.
Karthik
  • 161
  • 1
  • 10
6
votes
1 answer

how to change maxmemory-policy of redis amazon elasticache in rails?

I am using redis-store gem to configure rails cache_store to use amazon elasticache redis. I want to set the eviction policy to allkeys-lru. However I am not able to find a way to do that from within rails.
Ayush Lodha
  • 181
  • 3
  • 14
6
votes
1 answer

Will Redis maxmemory-policy volatile-lru evict if nothing is past expired date?

I've a redis server set with a maxmemory-policy set to volatile-lru. The documentation indicate this will evict from the set of entries with expires set when memory limit has reached. In this case, does redis only evict items past their…
Ray
  • 40,256
  • 21
  • 101
  • 138
6
votes
2 answers

How many records can you insert in a redis instance?

I have a list of 100 million strings one on each line. The file size is 1.66 Gb. Each string is about 20 chars long. I started inserting the data into small instance and got max memory error. There were only 1million records inserted by…
6
votes
1 answer

How do you implement AWS Elasticache auto discovery for node.js

I'm a node noob and trying to understand how one would implement auto discovery in a node.js application. I'm going to use the cluster module and want each worker process to be kept up to date (and persistently connected to) the elasticache…
rynop
  • 50,086
  • 26
  • 101
  • 112
6
votes
2 answers

AWS DynamoDB Sessions with Elasticache PHP Sessions

I have a concept that I want to get peoples opinions on for running sessions in AWS with the redundancy of DynamoDB and the speed of Elasticache. PHP stores sessions in DynamoDB. When sessions are written to DynamoDB the values are also written to…
Adam
  • 19,932
  • 36
  • 124
  • 207
6
votes
3 answers

Using ElastiCache with RDS for improving read/write performance

I am using RDS on amazon with a MySQL interface. My application runs on EC2 nodes and read/update the database, but the number of reads and writes are too many and that reduces performance. Most of the time the number of connections exceed the…
saeideh
  • 161
  • 2
  • 6
5
votes
0 answers

How to connect to AWS ElastiCache using primary and reader endpoints

My application uses AWSElastiCache for session storage. Created a redis instance (Cluster Mode Disabled) with 1 primary and 2 replica nodes. I am using Lettuce as Redis client which is internal to Spring boot to connect with Redis. I am using…
5
votes
2 answers

AWS Elasticache - Redis Autoscaling

There is an redis instance been created in ElasticCache and this will be used to store and retrieve data as usual. Is there any max memory for this redis instance and how can that be checked? All I need is say example if the data size in redis…
Deekshith Hegde
  • 1,318
  • 2
  • 15
  • 27