*
The moose likes Performance and the fly likes Technical question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Technical question" Watch "Technical question" New topic
Author

Technical question

prasad chowdary
Greenhorn

Joined: Feb 18, 2012
Posts: 18
hi experts,

How do improve the performance of an Application.




Thanks in advance.
Sudheer Bhat
Ranch Hand

Joined: Feb 22, 2011
Posts: 75
By setting fast=true ?

There isn't defined set of rules to improve the performance of the application. Few generic comments:
1. Define what is the expected response time of your application.
2. Once you have defined 1 check if you have good enough hardware to support it.
3. Both 1 and 2 are satisfactory, yet application is slow, then check for any network latency issues.
4. 1, 2 and 3 seems to be doing okay, then instrument your application to determine where exactly the time is spent. Is it the database, is it the middle tier code, is it something else?
5. Once you have determined the bottleneck, then work to resolve it.
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

In the future, please UseAMeaningfulSubjectLine.(⇐click)
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

I understood, you are asking about profiling tools in java. JProfile using this profiler tool we can estimate the usage of memory, the usage of particular instructions, or frequency and duration of function calls. The most common use of profiling information is to aid program optimization.


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
 
Don't get me started about those stupid light bulbs.
 
subject: Technical question