Permalink to this page: https://cwiki.apache.org/confluence/x/oColBg
Preface
This is about Tomcat performance.
\[thread\] \[http://marc.theaimsgroup.com/?t=104455383100002&r=1&w=2 \]unmigrated-wiki-markup\[thread\] \[http://marc.theaimsgroup.com/?t=103598885300001&r=1Wiki Markup - &w=2 \] \\
Other (non-exhaustive) notes:
...
- Stress test your webapp. You can do this via \[http://jakarta.apache.org/jmeter/ JMeter\], \[http://www.joedog.org/siege/ siege\], \[http://httpd.apache.org/test/flood/ flood\], and other tools. Google is your friend.
- Tweak your UNIX box! Look at ulimit and kernel parameters.
- Bad design will hurt performance.unmigrated-wiki-markup
- Look at \[http://java.quest.com/jprobe/jprobe.shtml JProbe\], or \[http://www.borland.com/optimizeit/ OptimizeIt\], or other profiling tools. Lots of people recommend these tools . This is not an endorsement for them, I just notice other people like them. \\
Questions
Wiki Markup \[#Q1 Is Tomcat faster than serving static HTML pages than Apache httpd?\]
Wiki Markup \[#Q2 Is there an application-specific comparison between Tomcat and Resin or other containers?\]
Wiki Markup \[#Q3 Is there a comprehensive, up-to-date, detailed benchmark comparing various servlet containers, including Tomcat?\]
...
- for Java.
Questions
- Is Tomcat faster than serving static HTML pages than Apache httpd?
- How do I configure apache tomcat connectors for a heavy load site?
- How do I make Tomcat start up faster?
Answers
Anchor | ||||
---|---|---|---|---|
|
...
Yes depending on how you tune it. And NO depending on how you tune it. Anything less starts a religious war. We recommend performing your own benchmarks and \[http://marc.theaimsgroup.com/?l=tomcat-user&m=106036177509367&w=2 see for yourself\].
Is there an application-specific comparison between Tomcat and Resin or other containers?
Wiki Markup |
---|
\[http://raibledesigns.com/page/rd?anchor=resin_slower_than_tomcat_fails Here's\] one comparing recent versions of Resin and Tomcat running \[http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse AppFuse\]. |
Is there a comprehensive, up-to-date, detailed benchmark comparing various servlet containers, including Tomcat?
Anchor | ||||
---|---|---|---|---|
|
The following excellent article was written by Mladen Turk. He is a Developer and Consultant for JBoss Inc in Europe, where he is responsible for native integration. He is a long time commiter for Jakarta Tomcat Connectors, Apache Httpd and Apache Portable Runtime projects.
Fronting Tomcat with Apache or IIS - Best Practices
Anchor | ||||
---|---|---|---|---|
|
See HowTo FasterStartUp Yes. Here's the most comprehensive and objective one we've found to date: \[http://www.webperformanceinc.com/library/ServletReport/ Web Performance, Inc.'s comparison\]. Wiki Markup