File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes What are performace standards  for any web application or normal application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "What are performace standards  for any web application or normal application?" Watch "What are performace standards  for any web application or normal application?" New topic
Author

What are performace standards for any web application or normal application?

Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
Hi,

I don't have much idea on how to do performance tunes to the any application. Now I would like to get the solid knowledge on performance tuning.

Could any one tell me what are the standards of any web app and normal app ?.


Pl. provide good stuff on performance tuning.





Thanks
Praveen.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41819
    
  62
How did you determine that you need to tune your app? What are your performance requirements?

Start reading here: http://www.coderanch.com/how-to/java/PerformanceFaq


Ping & DNS - my free Android networking tools app
Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
Thanks a lot for your reply. But i did not get answer fully to my question.

Please help me out.


Thanks
Praveen
Mike Peters
Ranch Hand

Joined: Oct 10, 2009
Posts: 67

From your question I find it hard to give a useful response, but maybe the following link may help you: response time limits


Mike Peters
Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
Hi peter,

Very good stuff regarding the response time of the web app. Thanks a lot.

I am sure that response time is one of the main thing we need consider when you are tuning the web app. In addition too we need to consider many other things.

Could please direct me to that material.

Thanks
Praveen
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
For load testing you might use the HttpClient toolkit to emulate larger numbers of users.

If you are using Tomcat, try the management app to enable monitoring of Threads, memory, and errors.

Bill
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41819
    
  62
Praveen Kumar wrote:I am sure that response time is one of the main thing we need consider when you are tuning the web app. In addition too we need to consider many other things.

I think you're still missing the point. It's too early to talk about tuning an application if you don't even know what the goal is, and for that you (or more likely, product management) has to define what the performance requirements are. Mayne the application meets them all already, so there's nothing to do?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16057
    
  21

When the users start battering down the doors screaming that the app's too freaking slow or the servers catch fire because they're consuming resources like it's 2012, then you get out the performance tools, measure where the problems are, and address them. Premature optimization not only wastes resources, it makes the application harder to maintain. And more often than not, based on 20+ years of doing this for a living, the optimizations will be in the wrong place, so you'll end up having to measure and tune anyway. So might as well keep the app maintainable,


Customer surveys are for companies who didn't pay proper attention to begin with.
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 861
Your question is so broad that it is impossible to answer.

I recommend installing jamon in your dev, test and prod tiers so that you can capture data when you start to have performance issues (sql performance as well as ejb and page request performance). Having said that jamon can help you with much more than performance. It allows you to see when errors are occurring, if your testers are covering your code properly, how your users use your application and more. And it is easy to setup without changing your code.


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Dawn Charangat
Ranch Hand

Joined: Apr 26, 2007
Posts: 249
As people above have already mentioned, you need to identify what the performance goals are. Especially, in web application environment, you can get freeware tools like YSlow, PageSpeed etc or even go to "www.webpagetest.org" and see how your application is performing currently. Based on the resulting statistics, you can determine what to optimize and how much to optimize.

Without such starting points, I dont think anyone would be able to answer this question - as performance in itself is a very vast topic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What are performace standards for any web application or normal application?