I have been working on stress testing a Java web application (JSP+Tomcat6+Struts2+Hibernate+mysql) and well the results I was getting wasn't something to brag about! So I upgraded the tomcat version to 7, and wow! the requests/sec I got was 5 times better than before.
So enlighten me, is there this much difference between tomcat6 and tomcat7's performance? or there is something wrong with my configuration and stuff?
Tomcat 8 requires Java 7 or later, while you can run Tomcat 7 on Java 6. This is the biggest difference between Tomcat 7 and Tomcat 8. Other differences include: Tomcat 8 can use Apache Portable Runtime, which provides better scalability and performance.
While the main differences between 9. x.x and 10. x.x are not entirely significant, there are some notable differences between the two. The servlet jumps up to 5.0 from 4, JSP jumps up from 2.3 to 3.0, EL goes from 3.0 to 4.0, JWS from 1.1 to 2.0, and JASPIC 1.1 to 2.0.
There isn't a lot of difference between Tomcat 8.5 and 9.0: the former started as a fork of the first pre-release versions of Tomcat 9.0. Since the big changes in Java EE Servlet API came with version 3.0 (which is supported by Tomcat 7.0) I don't foresee any major problems with the migration to a newer Tomcat release.
Tomcat7 is a service application for running Tomcat 7 as a Windows service. Tomcat monitor application. Tomcat7w is a GUI application for monitoring and configuring Tomcat services. The available command line options are: //ES//
The Tomcat "Which Version" page includes a high level overview of the differences between different Tomcat versions. The section for Tomcat 7.x does not claim massive performance increases for Tomcat 7.x versus Tomcat 6.x. A Google search didn't offer any clear evidence either.
I'd be inclined to think that a 5-fold throughput improvement is either:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With