Each time we send cluster nodes, redis regenerate the cluster nodes output strings by iterating through all nodes and check all 16384 slots for every node. Although each slots check takes only about 2 nanosecond. 16384 slot makes 32 microsecond. In a large cluster like 300 nodes in my case, it takes 10 milisecond, which affacts the whole system badly. My sugguestion is can we genarate the nodes strings every time it updates, and cache it, so that we can save a lot of time processing cluster nodes cmd.

Comment From: filipecosta90

@haorenfsa given #8541, and specifically the results on https://github.com/redis/redis/pull/8541#issuecomment-791896456 i believe we can close this issue.

Comment From: ShooterIT

hi @filipecosta90 @haorenfsa this problem is fixed by https://github.com/redis/redis/pull/8182