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

Active -Active Cross-Region Redis Replication

AWS introduces Cross-Region Replication this year for an Active - Passive setup (Global DataStore). That means that there is a primary Redis-Cluster for Read/Write and a Secondary cluster for Reads. In my case, we want to use Active - Active Redis…
sakal
  • 275
  • 5
  • 17
4
votes
2 answers

Terraform: ElastiCache Redis cluster with specified availability zones?

I use this Terraform example to create an ElastiCache Redis cluster (clustered mode enabled): https://www.terraform.io/docs/providers/aws/r/elasticache_replication_group.html#redis-cluster-mode-enabled resource "aws_elasticache_replication_group"…
ptkvsk
  • 2,096
  • 1
  • 25
  • 47
4
votes
1 answer

Resque error: DirtyExit - Child process received unhandled signal

My background jobs are all failing with the following error Resque::DirtyExit Child process received unhandled signal. After I restart the server they work for some minutes and then start failing. If I run the single jobs from Resque-schedule, they…
Egli
  • 49
  • 3
4
votes
1 answer

Lettuce client configuration to connect to aws redis elasticache

I have aws redis elastic cache configured in cluster mode enabled and I have one primary and one replica (both in separate availability zones). I am using Spring RedisTemplate along with LettuceClientConfiguration but getting below error when I try…
4
votes
2 answers

How to infer reader endpoint address from aws_elasticache_replication_group with cluster mode disbaled

I am new to terraform and aws. I have a requirement for provisioning elasticache redis with cluster mode disabled. I have gone through the documentation of aws_elasticache_replication_group resource and it specifies primary_endpoint_address as the…
user3244615
  • 330
  • 1
  • 15
4
votes
1 answer

How to access Cognito functions and Elasticache from the same AWS lambda function?

I am trying to write AWS lambda function which gets user from AWS Cognito using AWS.CognitoIdentityServiceProvider.adminGetUser and then stores some data into AWS Elasticache (Redis). The parts work fine separately, but not together, as it seems…
4
votes
3 answers

"Couldn't Get Slot Allocation" Error On AWS ElastiCach (Redis) using Node.js

I was able to connect to Amazon ElastiCache (Redis) using Node.js libraries, which are redis and redis-clustr without any error. But get couldn't get slot allocation error whenever I tried to set key and value pair in Node.js app running on Amazon…
Cocest
  • 147
  • 1
  • 2
  • 15
4
votes
2 answers

Transition from JedisPool to JedisCluster

My Application uses ElastiCache on AWS for caching purposes. Our current set up uses a basic Redis Cluster with no sharding or failover. We need to now move to a Clustered Redis Elastic Cache with sharding, failover etc enabled. Creating a new…
Pranav Kapoor
  • 1,171
  • 3
  • 13
  • 32
4
votes
0 answers

Debugging Redisson Subscribe Timeouts

I am using Redisson 3.8.2 to connect to a replicated AWS elasticache, after a while of operation my client frequently gets timeout exceptions trying to subscribe to topics. I've checked the load on AWS and the load on my client, AWS is barely above…
Draconas
  • 185
  • 1
  • 8
4
votes
1 answer

AWS Elatic Memcache logs piling up in Application server

I am implemented Elastic Memcahce in Java and deployed on WildFly application server with the below code, When i deployed on AWS, some how getting non stop loggers as below which eating my server log size. Can some one please help me is something…
Chandrahasan
  • 1,991
  • 24
  • 26
4
votes
2 answers

AWS Elasticache Redis as SignalR Backplane

Has anybody tried to connect AWS Elasticache Redis (cluster mode disabled) to use with SignalR? I see there are some serious configuration issues and limitations with AWS Redis. 1) We are trying to use Redis as a backplane for signalr,…
4
votes
0 answers

Accessing redis from a docker container

Simple question - I hope. I am trying to communicate to a redis instance running on Amazon elastic cache from a docker container on an amazon ec2 machine. I can connect without problems to the redis instance from the ec2 machine host (which would…
Andrew L
  • 95
  • 8
4
votes
4 answers

How do you configure Spinnaker to use an ElastiCache redis cluster?

Following the instructions here, I am attempting to configure Spinnaker to use an ElastiCache redis cluster, with cluster mode enabled. Spinnaker: 1.40.2 Halyard: 0.35 Cloud driver provider: k8s (1.7.4) Cloud: AWS I have an ElastiCache Redis…
GreenKiwi
  • 1,025
  • 13
  • 28
4
votes
1 answer

Testing Elasticache and Serverless AWS Lambda locally

I'm using serverless to create a lambda function using the nodejs template. To connect to my Elasticache Redis I setup a VPC and added the Security Group and Subnet Ids, as well as the region to my lambda serverless.yml. I deployed it and…
4
votes
1 answer

Elasticache session_start(): Failed to create session ID

I'm trying to store PHP7 $_SESSION['...'] information (from an ElasticBeanstalk app) in a centralized Memcached cluster via AWS Elasticache. Here are the steps I am taking: Note the ElasticBeanstalk's security group In the AWS console, navigate to…