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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南