Skip to content

Add weights to consistent_hash algorithm #4549

Description

@mustafa1024m

Hi,
I have multiple parent servers, but they are not similar in size, I want to assign weight to each server in the consistent_hash algorithm and I couldn't find it in parent.config nor anywhere else.
I could find traces to weights in the code.
https://github.com/apache/trafficserver/blob/master/proxy/ParentConsistentHash.cc

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions