Solved

Tomcat 7 Production Tuning

Posted on 2014-10-20
3
360 Views
Last Modified: 2014-10-24
We have a new application that will be deployed in production. We are using Tomcat 7. Is there a basics tuning parameters that needs to configured regardless of what kind of application we have.

For example can we increase maxThreads since by default its 200, set compression etc.

Also best practices to perform load test given we don't know how many users will be hitting the application. All we know max 4000 users but dont know if they all will hit the application same time during the day, or week.
0
Comment
Question by:dguy101
  • 2
3 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40393675
You mention apache webserver. Is it somewhere in picture?
Load test is a bit tricky as it had to be created when making application, and very complex to make after.
Do you use tomcat native connector?
0
 

Author Comment

by:dguy101
ID: 40396042
Its apache tomcat 7. We just http connector.

We will use jmeter to load test and also need to know best tomcat tuning practices. right now we have default tomcat settings.
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40396226
You can have psi probe https://code.google.com/p/psi-probe/ installed to monitor tomcat thread usage
Probably you can compress all text/* as google pagespeed says. Cache hinting is not in tomcat and has to be done inside WAR by setting headers.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fetching data from Multiple Linux Server using Shell Scripting 55 157
AWS Central Authentication 1 87
IP 10.0.1.2 / 255.0.0.0 61 56
web project error add remove 1 31
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question