ElastiCache for Redis load distribution

2

We are using ElastiCache for Redis with cluster mode disabled, scaled up for all 5 nodes using cache.m6g.large, connecting to the reader endpoint of the cluster from a multi-instance Node.js application running in ECS. Application instances seem to be assigned to reader nodes randomly, resulting a random distribution of load between the nodes. This works out as an even distribution sometimes, some other times one or two nodes cap out at 100% engine CPU utilization (crashing our application) while others run idle. Please advise, how should we distribute connections evenly at all times?

已提问 2 年前424 查看次数
1 回答
0

Have you ever figured out what was causing this problem with distributing reads?

Piotr
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则