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
7
votes
1 answer

Proxy API with Circuit Breaker on AWS lambda

I'm building an API that will act as a proxy to n underlying API's that all do the same thing. It will use circuit breaker pattern to determine when one of the underlying API's is unavailable, therefore the proxy API will have state. One solution…
7
votes
1 answer

AWS cloudformation : how to properly create a redis cache cluster

I want to create an elasticache instance using redis. I think that I should use it "cluster mode disabled" because everything will fit into one server. In order to not have a SPOF, I want to create a read replica that will be promoted by AWS in case…
Bruno
  • 1,088
  • 1
  • 13
  • 31
7
votes
2 answers

Amazon Elasticache Failover

We have been using AWS Elasticache for about 6 months now without any issues. Every night we have a Java app that runs which will flush DB 0 of our redis cache and then repopulate it with updated data. However we had 3 instances between July 31 and…
DarrenCibis
  • 865
  • 10
  • 25
7
votes
1 answer

Sustainable Solution To Configuring Rails, Sidekiq, Redis All On AWS Elastic Beanstalk

AWS Elastic Beanstalk rails app that needs a sidekiq worker processes running alongside Puma/Passenger. Getting the sidekiq process to run has resulted in hours failed attempts. Also, getting the rails app and sidekiq to talk to my AWS ElastiCache…
7
votes
2 answers

ElastiCache Maintenance Window Availability

We are planning to use ElastiCache (Redis) instead of our own redis cluster. However, the "maintenance window" setting creates some questions, If I use a multi-az replicated cluster, will elasticache failover to available replicas during maintenance…
Ekin Koc
  • 2,996
  • 20
  • 24
7
votes
2 answers

How to configure eviction (time to live) on Amazon AWS Elasticache Redis + Spring Data

I'm working on a project where we use Spring Data Cache abstraction along with AWS Elasticache Redis and I would like to know how to configure the eviction time of the objects on the cache. There's not too much official documentation on how to…
rugobal
  • 98
  • 1
  • 7
7
votes
3 answers

Amazon ElasticCache Autodiscovery - Client is not initialized

I am trying to test Amazon's new Memcached client with AutoDiscovery. I have one memcached node which I am able to connect to using XMemcached 1.3.5 as well as a standard SpyMemcached library. I am following the instructions here:…
Moemars
  • 4,692
  • 3
  • 27
  • 30
6
votes
1 answer

Finding AWS ElastiCache endpoints with Java

I'm trying to programmatically get a list of ElastiCache endpoints from my Java app using the latest Java AWS SDK. Things don't seem to be working - I can find a valid CacheCluster, but then when I list its nodes, it's empty. Here's my…
Sander Smith
  • 1,371
  • 4
  • 20
  • 30
6
votes
1 answer

Unable to connect to AWS ElastiCache clusters using Membase client lib for memcached

I am having problems with get/set to an ElastiCache cluster from my EC2 instance. I am getting - SEVERE: net.spy.memcached.OperationTimeoutException: Timeout waiting for value - error. When I am trying to get or set a value. I used the same code on…
Chantz
  • 5,883
  • 10
  • 56
  • 79
6
votes
1 answer

How do I install RediSearch into AWS ElastiCache or Amazon MemoryDB?

Is it possible to install RediSearch (Redis Module) either in AWS ElastiCache or MemoryDB? Creating inverted indexing manually can be a real pain and it would be nice to have this feature available in AWS. I've found a possible workaround to install…
6
votes
3 answers

Unable to copy Elasticache backup

I have followed those instructions step by step: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html However I have the following error: An error occurred (InvalidParameterValue) when calling the CopySnapshot…
Matteo
  • 2,256
  • 26
  • 42
6
votes
1 answer

io.lettuce.core.RedisCommandTimeoutException: Command timed out

io.lettuce.core.RedisCommandTimeoutException: Command timed out after 10 second(s) at io.lettuce.core.ExceptionFactory.createTimeoutException(ExceptionFactory.java:51) ~[lettuce-core-5.1.6.RELEASE.jar:?] at…
Lakshmi Kanth
  • 101
  • 1
  • 3
6
votes
1 answer

How to add a Redis AUTH token to a ElastiCache via a CloudFormation template?

I'm setting up a new Redis ElastiCache stack and need help adding an AUTH token as an added layer of security. What is the parameter that I should add when using a CloudFormation template to deploy the stack? I haven't been able to find any…
Damian Perera
  • 86
  • 1
  • 9
6
votes
2 answers

Predis with laravel 5.5 "No connections available in the pool in Aggregate/RedisCluster.php:337 "

I've setup redis-cluster on Amazon ElastiCache for cache, using Laravel 5.5 and Predis package, I get the following error. Predis\ClientException: No connections available in the pool in…
Zeshan
  • 2,496
  • 3
  • 21
  • 26
6
votes
0 answers

Is there a way to enable latency-monitor-threshold in Redis on AWS (ElastiCache)?

I would like to enable redis latency monitor for our managed Redis instances in AWS. These are the official details on latency monitor from Redis: https://redis.io/topics/latency-monitor Unfortunately, I cannot see the latency-monitor-threshold…
Marius
  • 61
  • 2