Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. This servlet container software powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
Now, we all know that the Internet is a great resource for information. But it is sometimes too much to wade through hundreds of web pages looking for tips about Tomcat performance. So Monitis has done it for you! Below are some of the more useful tips found in various places on the Internet.
Tip #1 – Precompile Java Server Pages
Tip #2 – Set Development to “False”
Tip #3 – Set genStringAsCharArray to “True”
Tip #4 – Set modificationTestInterval Higher
Tip #5 – Set trimSpaces to “True”
Tip #6 – Replace Dynamic Pages With Static Pages
Tip #7 – Cache Pages
Tip #8 – Use a Profiler
Tip #9 – Find the Bottlenecks
Tip #10 – Understand the Application’s Connection Usage Patterns
Tip #11 – Use Connection Pooling
Tip #12 – Set an Appropriate Maximum for Number of Threads Per Connector
Tip #13 – Set an Appropriate Value for maxKeepAliveRequests
Tip #14 – Set Timeout and KeepAliveTimeout As Low As Possible
Tip #15 – Identify Memory Leaks
Tip #16 – Beware of Redeployment Memory Leaks
Tip #17 – Cache Static Content in the Client Web Browser
Tip #18 – Use HTTP Rather Than HTTPS
These tips for Tomcat, like our other series of blog advice and tips on critical and/or frequently used applications, will help you optimize your time. Who wants to figure out the ins and outs of an application from the get go? Don’t you have more important things to do?