Tomcat Logo

Apache Tomcat

Apache Logo

Links

Contents

Tomcat FAQ

Performance and Monitoring

Printer Friendly Version
print-friendly
version
Preface

This is about Tomcat performance.

Other (non-exhaustive) notes:
  • Stress test your webapp. You can do this via JMeter, siege, flood, and other tools. Google is your friend.
  • Tweak your UNIX box! Look at ulimit and kernel parameters.
  • Bad design will hurt performance.
  • Look at JProbe, or 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
  • Is Tomcat faster than serving static HTML pages than apache?
  • Is there an application-specific comparison between Tomcat and Resin or other containers?
  • Is there a comprehensive, up-to-date, detailed benchmark comparing various servlet containers, including Tomcat?
  • Answers
    Is Tomcat faster than serving static HTML pages than apache?
    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 see for yourself.

    Is there an application-specific comparison between Tomcat and Resin or other containers?
    Here's one comparing recent versions of Resin and Tomcat running AppFuse.

    Is there a comprehensive, up-to-date, detailed benchmark comparing various servlet containers, including Tomcat?
    Yes. Here's the most comprehensive and objective one we've found to date: Web Performance, Inc.'s comparison.


    Google
    Search the Tomcat FAQ

    Copyright © 1999-2005, Apache Software Foundation