osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61140] Add hot spares to load balancers


https://bz.apache.org/bugzilla/show_bug.cgi?id=61140

Jim Riggs <jim@xxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35023|0                           |1
        is obsolete|                            |

--- Comment #4 from Jim Riggs <jim@xxxxxxxx> ---
Created attachment 35024
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35024&action=edit
callback patch

- use a callback and baton to the lbmethod in
  ap_proxy_balancer_get_best_worker() (previously
  ap_proxy_balancer_usable_workers()) so that we can find the best worker in
  flight while iterating rather than returning an array of usable workers that
  has to then in turn be iterated

- consider a draining worker unusable and suitable for replacement by a spare

(I continue to push these to my fork on github, so visual diff/PR can still be
seen @ https://github.com/jhriggs/httpd/pull/1/files.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx