Skip to content

Distribution is not uniform #10

@paulmach

Description

@paulmach

Please see strava/go.serversets#7 for more details. That library uses a vendored version of this consistent hash library. What I'm seeing is a distribution like:

  58856 - 10.0.16.69:11211
  18389 - 10.0.22.188:11211
  22755 - 10.0.26.214:11211

(count - server for 10k random strings)

This uneven distribution is what we're seeing in production so I don't think it's an issue with the random key generation. Have you guys encountered this before? Am I using the code wrong?

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