JBoss AS 5 Performance Tuning.

Build faster, more efficient enterprise Java applications.

Saved in:
Bibliographic Details
Main Author: Marchioni, Francesco
Format: eBook
Language:English
Published: Birmingham : Packt Pub., 2010.
Subjects:
Online Access:Click for online access
Table of Contents:
  • JBoss AS 5 Performance Tuning; JBoss AS 5 Performance Tuning; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Errata; Piracy; Questions; 1. Performance Tuning Concepts; Preface; What you will get from this book?; What is performance?; Scalability: the other side of performance; The tuning process; Tuning in the software development cycle.
  • Building the performance testEstablish a baseline; Collect data; How long should data collection last?; Analyze data; Configure and test again; Tuning Java Enterprise applications; Areas of tuning; Summary; 2. Installing the Tools for Tuning; Welcome to scientific tuning; The rationale behind the choice of the tools; Profiling the Java Virtual Machine; Installing the JVM; Installing VisualVM; Connecting to a local server; Connecting to a remote server; Monitoring your server; The Monitor tab; The Threads tab; The Profiler tab; Collecting snapshots; Extending VisualVM.
  • Profiling your applications with Eclipse Test and Performance Tools Platform (TPTP) ProjectInstalling the TPTP suite; Updating Eclipse; How to profile an application; Going beyond the basics of TPTP; Load testing your application with JMeter; Building a Test Plan; Step 1: Create a Thread Group; Step 2: Create a Sampler; Step 3: Create a Listener; Making your test plan a bit more realistic; How to create a complex Test Plan; Running JMeter as a shell; Operating system tools and commands; Windows users; Unix users; Dealing with low CPU utilization; Dealing with high CPU utilization.
  • Dealing with high resource contentionDealing with high disk utilization; Summary; 3. Tuning the Java Virtual Machine; The starting point; Choosing the JVM settings; Setting the correct heap size; The correct amount of memory to grant your application; Step # 1: Finding the maximum heap ( -Xmx); Step # 2: Finding the initial heap size ( -Xms); I cannot allocate enough memory for the JVM!; Where do I configure JVM settings in JBoss AS?; Sizing the garbage collector generations; Which is the correct ratio between the young and old generations?; The garbage collector algorithms.
  • Choosing the right garbage collector for your applicationThe G1 garbage collector; Debugging garbage collection; Making good use of the memory; Avoid creating large Java objects; Handling 'Out of Memory' errors; Finding the memory leak in your code; A practical example; Application description; Setting up a test bed; Benchmark aftermath; Consideration #1; Consideration #2; Action; Further optimization; Summary; 4. Tuning the JBoss AS; From release 4.x to 5.x, and on; Comparing server releases; Creating a custom application server configuration; JBoss AS pools; The System thread pool.