Re: parent.config documentation questions

2016-11-07 Thread John Rushford
Miles, The weight is part of the consistent hash feature added to parent selection in TS-2996. I suppose they Did not wish to change the behavior of the round robin methods when consistent has was added. For round robin=true a client will always get the same parent. If the parent cannot be r

Re: parent.config documentation questions

2016-11-05 Thread James Peach
> On Nov 3, 2016, at 3:09 PM, John Rushford wrote: > > Miles, > > The weight parameter was added as part of the consistent hash feature added > to parent selection with TS-2996. It was never intended for the other > round robin strategies. > > yes, for round robin = true, a client will always

Re: parent.config documentation questions

2016-11-03 Thread John Rushford
Miles, The weight parameter was added as part of the consistent hash feature added to parent selection with TS-2996. It was never intended for the other round robin strategies. yes, for round robin = true, a client will always get the same parent until that parent fails and is marked down. When

Re: parent.config documentation questions

2016-11-03 Thread Miles Libbey
On Wed, Nov 2, 2016 at 10:40 AM, John Rushford wrote: > Miles, > > The weight is only used for round_robin = consistent_hash. It is ignored for > all other strategies. > In the consistent hash strategy, weight defaults to 1 and it’s a multiplier > to the number of replicas of > A parent inserte

Re: parent.config documentation questions

2016-11-03 Thread Rushford, John
Hi Eric, I can't think of any reason to use .990 over 1.0. John From: Eric Friedrich (efriedri) Sent: Wednesday, November 2, 2016 6:46 PM To: dev@trafficserver.apache.org Subject: Re: parent.config documentation questions Thanks John- In Tr

Re: parent.config documentation questions

2016-11-02 Thread Eric Friedrich (efriedri)
Thanks John- In Traffic Control we use a weight of .990. Is there any reason to use this value instead of a 1.0 weight? —Eric > On Nov 2, 2016, at 1:40 PM, John Rushford wrote: > > Miles, > > The weight is only used for round_robin = consistent_hash. It is ignored for > all other strateg

Re: parent.config documentation questions

2016-11-02 Thread John Rushford
Miles, The weight is only used for round_robin = consistent_hash. It is ignored for all other strategies. In the consistent hash strategy, weight defaults to 1 and it’s a multiplier to the number of replicas of A parent inserted alon the hash ring. Round_robin=true returns a parent from an arr

parent.config documentation questions

2016-11-02 Thread Miles Libbey
Hey folks- I'd like to update the parent.config documentation to include the weightings feature -- there is an example that shows it, but no text that describes it. So, I have some questions :) - I assume that if someone includes a weight for each parent, the round robin=true turns into weighted