
jesus at omniti
Nov 13, 2002, 8:15 AM
Views: 834
Permalink
|
On Wednesday, Nov 13, 2002, at 08:05 US/Eastern, Gary Sewell wrote: > When the cpu on www1 is at 75% capacity i want to push the requests to That type of load-balancing isn't balancing at all. It sounds like you want a bucket pour over. That seems like a really poor approach to the problem. So, if the www2 machine has a load of 100 and the www1 machine has a load of .75, you still want to pass it back? Why? So, if you _really_ want to do this you will need to write your own candidacy function in C. otherwise, use: Backhand byLoad 1 That will choose the www2 machine only if it's load is less that www1's load - 1. -- Theo Schlossnagle Principal Consultant OmniTI Computer Consulting, Inc. -- http://www.omniti.com/ Phone: +1 410 872 4910 x201 Fax: +1 410 872 4911 1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984 2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7 ----------------------------------------------------------- -- Presenting at ApacheCon -- -- November 18th, 2002 -- -- Las Vegas, Nevada -- -- Backhand: understanding and building HA/LB clusters -- -- http://apachecon.com/2002/US/ -- -- -- -- Learn all there is to know about high availability -- -- internet systems and load balancing techniques -- -- focusing on applications driven by the Apache web -- -- server! -- -----------------------------------------------------------
|