LaVOZs

The World’s Largest Online Community for Developers

'; ElastiCache not utilizing read only replica - LavOzs.Com

I have a simple Redis ElastiCache cluster (cluster mode disabled) with a master node and a read only replica.

When throwing traffic at the server, i.e. from redis-benchmark, it seems all GET traffic goes only to the master node, while the RO replica gets zero GET traffic (cache hit/miss and GetTypeCommands are all 0).

Anyone has insights on why this is happening? I expected the traffic would be distributed between the two nodes.

older question but I am answering since I am just learning this myself...

I thought that the purpose was to balance the load between master and slave, but that is not the case. The slave exists so that it can be promoted to master if master fails for any reason.

further reading: https://redis.io/topics/replication

Related
Amazon Elasticache Failover
How to calculate redis memory used percentage on ElastiCache
Enable cluster mode on AWS ElastiCache Redis cluster
How do I configure Redisson to read from Elasticache slave nodes
AWS Elasticache Redis as SignalR Backplane
Can you dynamically resize an ElastiCache cluster with (cluster mode enabled)?
How to read from redis read replica with cluster mode disabled?
Terraform: ElastiCache Redis cluster with specified availability zones?