Solved

Tomcat 7 Production Tuning

Posted on 2014-10-20
3
335 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

776 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