Solved

Tomcat 7 Production Tuning

Posted on 2014-10-20
3
415 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How To Reduce Deployment Times With Pre-Baked AMIs

Even if we can't include all the files in the base image, we can sometimes include some of the larger files that we would otherwise have to download, and we can also sometimes remove the most time-consuming steps. This can help a lot with reducing deployment times.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

632 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