> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Re: Performance tricks with multiple tomcat instances > > so with 4 tomcats I should reduce the number of gc threads to 2 per vm > and with 2 tomcats to 4 for vm to have the same number of threads as > with single tomcat, and hope that shorter gc runs will increase > overall performance?
You'll have to try it - this is all very application dependent. > What do you think, is it adviseable to have multiple tomcat/jvm > instance, or is the problem just that the cpu's doesn't scale? The bottlenecks are usually not in the app server itself, but tend to be in the actual app or auxiliary resources such as a data base. If you do have external scaling issues (e.g., database locking), multiple Tomcat instances won't help. Adding Tomcat instances may increase overhead if the now distributed app has to coordinate with its peers. But you really can't predict without detailed knowledge of the app and its resource usage patterns. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]