apache / incubator-horaedb-meta

Meta service of HoraeDB cluster.

Home Page:https://horaedb.apache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimize the hash algorithm to make the distribution of shards and tables more even

ZuLiangWang opened this issue · comments

Description
We currently use a simple version of consistent hashing as the core algorithm of the scheduling strategy. It cannot guarantee the uniform distribution of tables and shards. We need to optimize this basic version to make the scheduling strategy more perfect.

Proposal
Optimize the hash algorithm to make the distribution of shards and tables more even.

Additional context