Translate

Thursday, November 22, 2012

J2EE PERFORMANCE TUNING



J2EE PERFORMANCE TUNING

  
Enterprise performance problems tend to come about frequently from four main areas:

•Databases
•Web servers
•Application servers and
•Network

Common database problems are:

•Insufficient indexing
•Fragmented databases
•Out-of-date statistics and
•Faulty application design

Solutions include:

•Tuning the index, compacting the database, updating the database, and rewriting the application so the database server controls the query process

•Common web server problems:

•Poor design algorithms
•Incorrect configurations
•Poorly written code
•Memory problems and
•Overloaded CPUs

  
Common application server problems:

•Poor cache management
•Un-optimized database queries
•Incorrect software configuration and
•Poor concurrent handling of client requests

Monitor:

•JVM heap size
•Request-response times
•JDBC requests and Transaction boundaries
•Bean life cycles
•Cache sizes
•CPU utilization
•Stack traces
•GC pauses and
•Network bandwidth

•Page display should be as fast as possible.
•Use simple pages with static layouts where possible
•Work with the browser‘s capabilities
•High performance applications need clustering and load balancing


No comments: