Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: load-balancing

Mladen Turk

2005-03-08

Replies:

Sng Wee Jim wrote:
> I am load-balancing tomcat 5.0.28 using JK1.2/AJP1.3.
>
Cool ;)

>
>
> I noticed the loadbalancer virtual JK worker redirect requests to the tomcat instances in a round-robin fashion, without taking into account which tomcat
> has a higher number of active sessions.

You must note what jk version and web server you are using.
If using 1.2.8 you will have up to 20% load-presumption error if
using Apache prefork or worker mpm, because the load balancing data
is maintained per child process.

The 1.2.9 (not released yet, but will be this week I hope) has that
resolved using shared memory.

Regards,
Mladen

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.