Skip to content

Add weights to consistent_hash algorithm #4549

@mustafa1024m

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions