Solved

thread blocked causing slow website

Posted on 2008-10-18
2
240 Views
Last Modified: 2012-06-22
we were asked to host this website but when we switched it live iti was really really slow on a powerful infrastructure which manages to deal with much much more traffic.

we have hd a quick look in to this using ants profiler and saw that initially just to load the homepage there was some thread blocking going on which was taking an age.

what seems to happen is when you hit the homepage it looks as if the website is trying to load - the progress bar crawls to about 10% and then jumps back to 0% and then the weebsite loads with the eprogress bar jumping to 100%. Weird...

We were asked to host it on .net 3.5 sp1

attached shows a trace of one user hitting the website's homepage.
experts.jpg
0
Comment
Question by:martinnolan
2 Comments
 
LVL 51

Accepted Solution

by:
tedbilly earned 500 total points
Comment Utility
I notice that within the code that is blocking there are calls to a DAL (Data Access Layer)  That's usually a prime candidate for blocking.
0
 
LVL 1

Author Closing Comment

by:martinnolan
Comment Utility
it ended up being a none compiled regular expression but the DAL added to our argument that the issue was with the code and I think part of the regular expression in question was in the DAL.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now