Solved

How to isolate performance issue?

Posted on 2009-07-15
4
237 Views
Last Modified: 2012-05-07
I have an asp.net 3.5 web application running on Windows Server 2003.  There is one section that makes use of DHTML (for tabs and other dynamic features) plus .NET Charting.  On two Windows Server 2003 boxes, this particular section is very slow.  However, locally for devs, and on other 2003 boxes, it works fine.  

On one day, someone will see a specific performance issue in that section.  On the next day, another person won't.  However, there are consistent performance issues across all people.  Everyone is accessing through intranet.  These Server 2003 boxes are Terminal Servers.  There must be a configuration issue causing this, rather than anything actually in the code base right?

What is a good place to start in narrowing down potential issues and figuring out the problem?
0
Comment
Question by:brettr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:b_levitt
ID: 24863350
Because so far I've heard dhtml and charting I would start with an http proxy like fiddler to see which browser request is the culprit (asp.net file vs a resource file the html is requesting like the chart)

http://www.fiddler2.com/fiddler2/

Identify that and write back.
0
 

Author Comment

by:brettr
ID: 24864828
Using Fiddler, on one particular tab that takes the longest to load, I see only an aspx page in Fiddler for the request.  Whereas, all the other tabs also load PNGs and sometimes JS.  From this, I'd think this one tab should be the fastest, yet it is the slowest.

What else should I look at?
0
 
LVL 11

Accepted Solution

by:
b_levitt earned 500 total points
ID: 24865829
I mostly wanted to make sure the chart component wasn't the bottle neck.

What does this aspx page do for this tab?  Does it access the database?  Does it have any for/while loops?  Is it sending a large amount of data?

If it's an option to cut external traffic to one of these servers than you could remote debug and step each line of code, looking for long delays.  if that's not an option you could add trace lines (Trace.Write i think) and enable tracing on the page to try to isolate where the slow part is.
0
 

Author Comment

by:brettr
ID: 24886724
Thanks for the suggestions.  They point me in the right direction.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question