Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-08-31 Thread Rainer Jung
Hi there, mod_jk for example uses such aging, but only for the non busyness case. busyness is meant to show the number of currently in-flight requests, so aging isn't a good fit there. Old load numbers are never part of busyness. But busyness is the mode that is most sensitive to the numer

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-08-31 Thread Jim Jagielski
IIRC, the goal of having an "aging" function was to handle this exact kind of thing, where values could be normalized over a long period of time so that old entries that may skew results are not weighted as heavily as new ones. > On Aug 30, 2023, at 11:19 AM, jean-frederic clere wrote: > >

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-08-31 Thread Jim Jagielski
Isn't the call to find the best balancer mutex protected? > On Aug 31, 2023, at 7:44 AM, jean-frederic clere wrote: > > On 8/30/23 17:33, Rainer Jung wrote: >> Hi JFC, >> I have not checked ur current code, but the topic reminds me of our history >> in mod_jk land. There we switched the

Re: balancers bybusyness, bytraffic and byrequest thread/process safe issues

2023-08-31 Thread jean-frederic clere
On 8/30/23 17:33, Rainer Jung wrote: Hi JFC, I have not checked ur current code, but the topic reminds me of our history in mod_jk land. There we switched the counters to atomics were available. The other problematic part could be how to handle process local counters versus global counters.