The maximum number of threads should also be tweaked to suit the application load profile. If the application has high CPU usage set the max threads lower as Tomcat will accept connections but the CPU will be unable to service them. If CPU utilisation is low this can be set higher. For the blocking io connector, maxThreads is the maximum number of concurrent connections that can be accepted, for the APR connector this is limited by available memory.
It is not possible to give any hard and fast rules when it comes to performance tuning though as it is highly dependent on your load profile, even in the case of a common load profile you will need to see what works in practice.
It is not possible to give any hard and fast rules when it comes to performance tuning though as it is highly dependent on your load profile, even in the case of a common load profile you will need to see what works in practice.
No comments:
Post a Comment
Please Provide your feedback here