Skip to content

[FEA] Shuffle keys using hash instead of roundrobin #350

Closed

Description

@jiashuy

Is your feature request related to a problem? Please describe.
When we shuffle keys on different ranks, we now use the roundrobin method. If the user generated keys conform to a certain special pattern, it will cause an imbalance in the number of keys received by different ranks, and the rank with the highest number of received keys will become a bottleneck.

Describe the solution you'd like
We will first hash the key, and then shuffle the hashed_key through roundrobin to improve load balancing through hashing

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context, code examples, or references to existing implementations about the feature request here.


By submitting this issue, you agree to follow our code of conduct and our contributing guidelines.

Activity

  1. shijieliu commented on Apr 28, 2026

    @shijieliu
    Collaborator

    resolved in #367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions