-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yawar,

On 8/21/2010 8:59 AM, Yawar Khan wrote:
> Guys, is tomcat stable enough to host large scale production
> applications getting 1500+ hits everyday?

Certainly.

1500 hits/day is nothing. You could do that on a smartphone.

Our daily average for August so far is 26869 hits (which isn't much /at
all/) and Tomcat 5.5.x isn't batting an eyelash at that. We run with a
measly 10 database connections in our pool, too. Mean response time (on
the server, so there's no network time taken into account) for all
requests over the last 6 months or so is 135ms (weighted average...
unweighted average is 154ms).

That's with an old version of Tomcat, run through Apache httpd/mod_jk,
using the blocking I/O AJP connector, using a 3GHz quad-core CPU with a
heap size of a mere 500MiB (I thought we were using 192MiB, but it looks
like I forgot to constrain the heap size the last time I launched the JVM).

The JVM has never crashed in the 7 years we've been running this webapp
(it's actually 4 webapps, running in 4 separate JVMs), nor has Tomcat.
The only unexpected downtime we've ever had was when we busted the heap
once long ago (when we were running under a 64MiB heap) and that was
because we had a poor capacity plan, not because of Java/Tomcat.

> and as much concurrent database connections.

1500 database connections might be a lot to configure. Remember that
you'll likely get those 1500+ hits during a 24-hour period (or even an
8-hour period) and not all at once. You probably need far fewer database
connections than you think you do.

> I know alot depends on the applications architecture but just how
> good is tomcat?

Really effing good.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx1LEgACgkQ9CaO5/Lv0PD6rACglH6ICeQl4hpKctAaC9UZiFUN
djIAn2DzK0AvMsC+hedrInR8SfCpud6a
=XWVz
-----END PGP SIGNATURE-----

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

Reply via email to