Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Speed

 
Isaac Ferguson
Ranch Hand
Posts: 841
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a website which as a whole works well , but when I press a specific button it takes 12 sec

What way could I discover what is happening?

Thanks
 
harshvardhan ojha
Ranch Hand
Posts: 157
1
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need to do root cause analysis, usually i follow these steps

1. use some browser tools like firebug and yslow to make sure that there is no network latency in sending this request to my server.
2. take server's heap snapshot and if required heap and thread dump to know overheads.
3. at last you need to improve your logging level to understand which layer of application took how much time(aop).
4. make sure data needed by application is available, if not like coming from SOA or DB, quantify the delay.

also observe application behavior in different env or different servers.

hope this was useful.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are plenty of measurement tools such as JAMON - open source and free.

Bill
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Identify where the delay happens.

1. Use the page speed plugin to identify delays in HTTP calls and the number of calls made.
2. Use a JVM profiler to identify delays caused by application code.
3. Analyze metrics from your persistence layer (say a database) to quantify IO delays.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic