

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. Set up the Gradle Plugin for Azure Web Apps by adding the plugin to your build.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.

Here is a sample configuration in pom.xml:


Then you can deploy your Java app to Azure using the following command: mvn package azure-webapp:deploy This command adds a azure-webapp-maven-plugin plugin and related configuration by prompting you to select an existing Azure Web App or create a new one. With the Maven Plugin for Azure Web Apps, you can prepare your Maven Java project for Azure Web App easily with one command in your project root: mvn :azure-webapp-maven-plugin:2.2.0:config To show all supported Java versions, run the following command in the Cloud Shell: az webapp list-runtimes -os linux | grep "JAVA\|TOMCAT\|JBOSSEAP" To show the current Java version, run the following command in the Cloud Shell: az webapp config show -resource-group -name -query linuxFxVersion
