4 ms·
How does it work ? Is it sharding different keys to different Redis instances ?
by Fiahil 5y ago
How does it work ? Is it sharding different keys to different Redis instances ?
- doyoubi 5y agoYes! It uses exactly the same slot model in the official Redis Cluster. Each key will first calculate its slot number by a hashing function. Then try to find out the instance with this corresponding slot. So this solution is compatible with the existing Redis Cluster clients from the community.
- Fiahil 5y agoMakes perfect sense :) This allow scaling without impacting the consistency guarantees of redis !