tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Multiple instances of Tomcat 7.0 on one server
Date Mon, 22 Jul 2013 18:09:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

To whom it mat concern,

On 7/19/13 1:37 PM, Tomcat Random wrote:
> We currently are setting a site that receives fairly heavy traffic
> (5000 simultaneous users). We have two physical servers.
> 
> As a general idea, is there performance to be gained by running
> multiple instances of Tomcat 7.0? For example, two instances on one
> physical server and two instances on the other physical server?
> Assume all are running the same webapp.

You are unlikely to see a performance benefit by running two (or more)
Tomcat instances on the same server.

There are other benefits, though. For instance, you can configure
Tomcat for load-balancing and then use a fronting server like httpd to
direct traffic to a subset of your instances in order to, for
instance, upgrade each instance individually with no (perceived)
downtime. You can of course do this with separate physical servers, too.

Separate Tomcat instances means that you can run separate Tomcat
versions and separate JVM versions in parallel. We find this very
valuable at $WORK and so we run each webapp in a separate JVM even
when multiple webapps are deployed on a single physical server.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJR7XVKAAoJEBzwKT+lPKRYaWgP/2ClDW8TF8bOCQPgisyDZ+JB
tufmVcz5TZnmenvT2Tk9W8Qf9a/f37Ttv3u4h4OPmoUZLc4XmsPsLjQcRSNN3p76
xd401Ngj7WhuVxL+KescDxO0HApG/TDTNbcGeMgLXpYorAaqlVQZW3ADoQ0+vJGY
KujBdlGYqmgoQETtd2ewqzn5OsLWiuNsgwnm9CiI1P658Ljaik/0Upr18rhP4uno
eSkAH/y6Ojxd0pqQIoyrKPoW7xbcX476VIBc7VabSSQwV2MmEBm02SaJ4eq+Ms0/
nCosx8nt6DDwzeWEI4dzC3eGpJZ9bZoclpfjQyLEvHkODkTmds54YRvuzzlwlKus
59s3lckIL+WOmPTrCv5Jam6ReyuB/aCWlRNVOEBiiBiB40SN+yNwm878m4ALWmfK
sr0zwMofJjFc/j3q3XCZzknvnga5MdBVaNYddOyWYcwILCK4ODrA6SxIkJ0X2Pah
0/MMQvkNYVN1HYm7z9IAKlN/SMoLiz+hmruCv/xnYpZKO0dxiX34fP++nnJFdpa3
gfu1U+7HJFWeY3xtBePDuoyVYhxK4tP3WKbG+gRr3d56k7mb8XkHqSguhvl5VlvN
Y4h+VW1UOfem7swv8Y63ey9AykZamY/t+9dI9N88+hTDQCO4+UB/uEQn5ks5qsx6
qJvHUTt6zYIVhus6DiWj
=F6ZA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message