Solved

Tomcat 7 Production Tuning

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux boot cd to do hardware report on PC? 3 100
SSH in linux 9 94
simple bash script needed to unpack tar.gz 4 62
ossec: how to extend rules 1002 and 1003 2 46
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.
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 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…
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.
Suggested Courses

751 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