Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?
Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?
- Subject: Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?
- From: Chuck Hill <email@hidden>
- Date: Wed, 26 May 2010 07:24:11 -0700
On May 26, 2010, at 7:19 AM, Ricardo J. Parada wrote:
On May 26, 2010, at 10:10 AM, Chuck Hill wrote:
Apart from that, I dimly remember the host and port setting
also influenced the load distribution.
For Round Robin, it follows the instance order of
configuration. If you configure all the instances on Server A,
then the ones on Server B, then C, it will load up Server A
first. You need to interleave the configurations. Is that what
you were thinking of?
Yeah right. One trick was to number the instances not
<host><port> but <port><host>.
Interesting idea. I thought it went by instance number.
It does. You just help with the numbering to assure it round
robins by-server first. Assume you use ports 1-3 on servers 4-5.
The numbering is then 14,15,16,24 etc. So next number goes to next
server.
Devious!
So selecting round robin distributes by instance ID?
Yes.
So that's why one has to number them like this in order to get by-
server first?
Or just configure them in the order you want the distribution to
follow (add instance 1 on server A, add instance 2 on server B, add
instance 3 on Server C, add instance 4 on server A...). Anjo's way
might be easier when setting up a lot of instances and servers.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: Chuck Hill <email@hidden>) |
| >Re: Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: Anjo Krank <email@hidden>) |
| >Re: Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: Chuck Hill <email@hidden>) |
| >Re: Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: Anjo Krank <email@hidden>) |
| >Re: Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: Chuck Hill <email@hidden>) |
| >Re: Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: Anjo Krank <email@hidden>) |
| >Re: Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: Chuck Hill <email@hidden>) |
| >Re: Snow Leopard, Apache 2.2, Skewed Load Balancing? (From: "Ricardo J. Parada" <email@hidden>) |