On May 25, 2010, at 3:42 PM, Anjo Krank wrote:

Am 25.05.2010 um 22:46 schrieb Chuck Hill:

Can you try "ab"? This should show things with more accurate numbers.

ab -n 500 http://whereever

What would that show relevant to the woadaptor load balancer choosing instances for requests without a woinst cookie or number in the URL? I'm confused.

It would create a number of sessions which, if all goes right, should be evenly distributed?

And, with the correct URL, it does and they are all balanced. So the skewing is some effect of my load testing.



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!

Thanks Anjo,
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to