You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jake Paine <ja...@hotmail.com> on 2000/10/03 07:05:29 UTC

Scaling Monster Servlet App

I have a servlet based TomCat application
with loads so high a single VM cannot handle it.

Is it possible to start say, 5 VM's on 10 different physical
hosts, all running exactly the same servlet application code and
have the web server load balance across all these VM's?

Any ideas?


JP

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Re: Scaling Monster Servlet App

Posted by James Cook <ji...@iname.com>.
Sure it's possible. Although running 5VMs on 10 machines may be the hard part!
Unless of course you mean 5VMs per machine...

Scaling is achieved in this case by load balancing. Read the appropriate how-to
for the webserver that is fronting your servlets. For example, the Apache-Tomcat
howto can be found here:
http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-tomcat/src/doc/mod
_jk-howto.html

jim

----- Original Message -----
From: "Jake Paine" <ja...@hotmail.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, October 03, 2000 1:05 AM
Subject: Scaling Monster Servlet App


>
> I have a servlet based TomCat application
> with loads so high a single VM cannot handle it.
>
> Is it possible to start say, 5 VM's on 10 different physical
> hosts, all running exactly the same servlet application code and
> have the web server load balance across all these VM's?
>
> Any ideas?
>
>
> JP
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>


RE: Scaling Monster Servlet App

Posted by Paul FitzPatrick <cp...@fitzpatrick.cc>.
I believe so. Using the jk stuff to link to the web server, you would need
to define your multiple servers in the wrokers.properties.  Then you can
specify in uriworkermap.properties that for a given uri pattern any of those
servers will support it.  (There is a small amount of documentation to this
effect in the setup instructions for jk).  I am not familiar with what load
balancing algorithm is followed, though.

-----Original Message-----
From: Jake Paine [mailto:jakepaine@hotmail.com]
Sent: Tuesday, October 03, 2000 1:05 AM
To: tomcat-user@jakarta.apache.org
Subject: Scaling Monster Servlet App



I have a servlet based TomCat application
with loads so high a single VM cannot handle it.

Is it possible to start say, 5 VM's on 10 different physical
hosts, all running exactly the same servlet application code and
have the web server load balance across all these VM's?

Any ideas?


JP

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.