If the slowness is caused 100% by load on your single machine then you may be able to 
reduce to response time although a tenfold increase is pretty optimistic. But a 
request time of this length I would look to your application as the primary culprit.

Does it have this response time for just a single request with 1 user on the system? 
If it does then clustering is unlikely to help you at all. With a load balancer or 
some other way of splitting the users clustering will reduce the number of users 
hitting a given machine and free up some processor and memory. It will not share the 
work of a single request accross multiple tomcats.

My advice would be to profile your application first, work out where it is spending 
its time and if the response is good in a single user scenario then perhaps experiment 
with clustering.

Ta
Matt

-----Original Message-----
From: Michael Cardon [mailto:[EMAIL PROTECTED]
Sent: 03 June 2004 01:10
To: Tomcat Users List
Subject: Tomcat 5 clustering


For the sake of this question, let me assume that I have an application
running on one instance of Tomcat that takes 10 seconds to complete a client
request.  If I cluster 10 machines together does it help with the
through-put, i.e. meaning it might take 1 second to complete the request
now, or does it just make the session redundant in case of failure.  Just
wondering about which setup would serve me the best and be the fastest for
our clients.

Thanks for any input on this.
Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to