Why Redis Cluster Has 16384 Hash Slots?

Asked 2 years ago, Updated 2 years ago, 109 views

Why is the number of hash slots in the Redis cluster 16384?I would like to know why it is 16384 instead of changing the number of hash slots.Numerically, 16x1024 seems to be some kind of upper limit...

redis

2022-09-30 21:40

1 Answers

There was an issue that asked the author about the content.

Therefore, the number of hash slots of 16,000 can handle 1000 master nodes and is small enough to propagate the slot configuration in raw form.
Note that small clusters are difficult to compress.
why redis-cluster use16384 slots?·Issue#2576·antirez/redis


2022-09-30 21:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.