I could cluster multiple copies of Tomcat on seperate machines with a simple load balancer on the front end? I'd ratehr not go that route yet though and see if I can get it so that single machine can handle up to 250 - 300 simultaneous requests.
Is there any point in clustering instances of Tomcat on the same machine?
My personal feeling about multiple instances of Tomcat on the same machine is that you're making things worse. First, you have to manage them all (working directories, log files, etc.), and then they fight each other for control of the processor. You also (probably) have to have a DB connection pool for both instances. That will multiple the number of open connections to the DB by (about) two. That loads the DB server down and slows down all the clients.
OTOH, if the VM is going to go down, then it's nice to have another one there as a backup. The user will use their session, but that's the least of your worries.
OTOH, if the user is losing their session, they may as well switch machines, not just Tomcat instances, so why not run the app on several machines? You'll get horizontal scalability that way, too. :) And hey, what if the OS goes down... you can't save any Tomcat instances, then?
How many machines are currently running Tomcat?
-chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
