

Performance tuning must be done at every layer: the operating system, JVM, Tomcat container, and at the application code level All in all, a holistic approach must be taken for Tomcat performance tuning. Even bottlenecks in the application code can result in “Tomcat is slow” complaints.

Likewise, the JVM runs on an operating system and it is important to have the best possible operating system configuration to achieve the highest performance possible. So, a poorly configured JVM will compromise performance. After all, Tomcat runs on top of a Java virtual machine (JVM). This blog post documents our learnings on best practices that you should employ when deploying Tomcat in production.Ī Holistic Approach is Needed for Tuning Tomcat PerformanceĪ first step to achieving high performance is to recognize that tuning the Tomcat application server alone is not sufficient. Over the years, we have discovered several tips and tricks for configuring Tomcat to achieve the highest level of scalability possible. Often the default settings provided are non-optimal.Īt eG Innovations, our eG Enterprise IT performance monitoring solution uses Apache Tomcat as the web server. The performance that an application server delivers is often dependent on how well it is configured. This requires that Apache Tomcat be configured to handle the maximum load possible and yet provide the best response time to users. Production environments must be high performing. While over 100,000 websites rely on Tomcat as a web server, a Plumbr survey of Java application servers showed that over 60% of websites that use Java technology relied on Apache Tomcat to host the business logic. This guide is everything we know about tuning Apache Tomcat for maximum performance.Īpache Tomcat, developed by the Apache Software Foundation, is an open source Java servlet container that also functions as a web server. Get Maximum Performance from Apache TomcatĪ question we often get asked by customers is: what Tomcat performance tuning can they do to improve the overall performance.
