Solved

Tomcat 7 Production Tuning

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

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 61

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now