You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Miles Libbey (JIRA)" <ji...@apache.org> on 2016/11/09 17:23:58 UTC

[jira] [Created] (TS-5048) parent.config: add weighting to other selection strategies

Miles Libbey created TS-5048:
--------------------------------

             Summary: parent.config: add weighting to other selection strategies
                 Key: TS-5048
                 URL: https://issues.apache.org/jira/browse/TS-5048
             Project: Traffic Server
          Issue Type: Bug
          Components: Parent Proxy
            Reporter: Miles Libbey


The consistent_hash selection strategy allows for a weighting of the parents. So, a config like,
parent="p1.x.com:80|2,p2.x.com:80|1" round_robin=consistent_hash
would have p1 placed in the ring twice as many times as p1, and thus should received 2x more URIs as p1. (Note that traffic associated with URIs can vary considerably, so this weighting can be randomly associated with traffic levels).

This weighting should be extended to the round robin selection strategies (strict|true)-- weighted round robin is a common load balancing strategy. In these cases, the weightings would likely cause selection to cycle amongst the parents such that each target would roughly end up with N/(sum of Ns) % of the total traffic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)