What is the difference between consistent hash and hash slot?

read the algorithms of consistent hash and hash slot and articles on the network that introduce them both. It is said that consistent hash needs less data to migrate than traditional hash when deleting node or and adding nodes. There is no problem here.
however, the article also said that, hash slot can be seamlessly migrated in the face of deleting nodes or and adding nodes. I don"t understand that when, hash slot deletes nodes and or adds nodes, the corresponding hash slots have to be migrated to other server nodes. This is the same problem that consistent hash faces. How can hash slot be seamlessly switched without affecting client access?


https://www.cnblogs.com/abc-b.


Yes, you are right. In fact, when hash slot dynamically adds and deletes nodes, it also needs to do data migration on server

.
Menu