advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Download the Code!
Partners & Affiliates
advertisement
advertisement
Average Rating: 3/5 | Rate this item | 2 users have rated this item.
 Print Print
 
Real-Time Tracking and Tuning for Busy Tomcat Servers
Learn a technique for configuring your Tomcat servers to handle heavy traffic while determining how appropriate your current configuration is for changing load demands. 

advertisement
pache Tomcat enjoys the reputation of being a small but very formidable servlet container capable of handling heavy production loads. Its most common role probably is as the application server for lightweight J2EE applications (servlets, plain old Java objects, and no EJBs). In such a role, it often handles significant production loads, for which these types of lightweight applications are best suited.



Tomcat's default installation, though, is configured to handle medium loads. Running an application on Tomcat in high-load environments requires further tuning. I recently worked on a project that presented this exact problem. We had to configure Tomcat servers to handle significant traffic (maximum sustained load was 1,450 requests per second generated by 150 or more unique, concurrent visitors, divided across 2–4 servers) and determine how appropriate Tomcat's configuration is for changing load demands such as traffic spikes and continuously increasing loads.

The key finding we discovered was that the configuration and size of Tomcat's resource pools had a significant effect on the overall scalability and performance of the server. Tomcat with properly configured resource pools is capable of handling heavy Web traffic with sustained performance. However, how do you know exactly what the appropriate size of these resource pools would be, as well as how to track their usage in real time? A pool that is too small obviously would be a bottleneck that directly affects the end user experience. A pool that is too large would consume vital system resources such as CPU and/or memory and potentially threaten the stability of the platform.

While trying to determine those crucial parameters and ratios, I developed an approach that helped us not only track and understand the most appropriate server capacity-related settings but also open the door to other similar real-time tracking and monitoring approaches. This article reviews the merits of my proposed technique and discusses the exact steps for implementing something similar in your applications.

Page 1 of 4


advertisement
  Next Page: Tomcat Resource Pools
Page 1: IntroductionPage 3: The Value of Tomcat Valves
Page 2: Tomcat Resource PoolsPage 4: How It Works
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES