In J2EE environment, there are some common Code related or Application server related problems. It include :
Code related problems :
~~~~~~~~~~~~~~~~~~
1. Slow Methods
a. Consistently Slow Methods
b. Intermittently Slow Methods
2. Synchronization Problems
3. Memory Problems
4. Coding Practices, such as using exceptions as a means to transfer control in the applications
Application server configuration problems :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. JDBC Connection Pool size
2. JVM Heap size
3. Thread Pool size
Code related problems :
~~~~~~~~~~~~~~~~~~
1. Slow Methods
a. Consistently Slow Methods
b. Intermittently Slow Methods
2. Synchronization Problems
3. Memory Problems
4. Coding Practices, such as using exceptions as a means to transfer control in the applications
Application server configuration problems :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. JDBC Connection Pool size
2. JVM Heap size
3. Thread Pool size
4 comments:
It would be better when somebody says a problem and gives a solution for that too!!
In this case when code related problems are discussed points sharing best coding practices would help developers!!
Good post.
munna,
i will give a small example on memory leak and how to diagnose this,
if u want to find memory leak prob in unix os ...u can use vmstat....command.... there u need to find freememory counter.... if the free memory value is gradually decreasing u can say this is because of memory leak, (wily intrscope is the best tool to find these kind of problems... there u can observe native memory... if the native memory utilization is increasing gradually u can say this is bcz of memory leak prob... and also u can observe all jvm process will stop because of this problem...)
hi ,
for Performance Analysis for Java Websites” book ....visit www.testingtips4u.blogspot.com
thanks,
raghu
Post a Comment