Request hangs in browser
-
I have an ASP.net\AJAX 4.0 forms application that is having a performance issue. The app is hosted on go daddy shared hosting servers. Intermittently (about half the time) a page request hangs for a significant amount of time. I have run lots of tracing on it and found that the hangup is happening before the request even gets to the server. I have setup ASP.net tracing to spit out a timestamp gathered during the application.begin_request event. An example of a typical scenario I am observing is that I request a page at 00 seconds and get the response at 30 seconds. ASP.net tracing tells me that application.begin_request (via the timestamp) started at 27 seconds and the entire page cycle took less than 3 seconds to complete. I also traced with the Internet Explorer 9 F12 debug feature and if I look at the timings tab (in detail view) I observe that all of the hangup time is occuring in what Internet Explorer is calling the "Start" event - the description is "The time from when the request was initially created to when the request is sent". So my question is, does anybody know what would cause requests to intermittently get held up in the browser like that? It does not happen in development (only from hosted site) and occurs from multiple types of browsers and multiple PCs - so it is not isolated to a particular browser environment.
-
I have an ASP.net\AJAX 4.0 forms application that is having a performance issue. The app is hosted on go daddy shared hosting servers. Intermittently (about half the time) a page request hangs for a significant amount of time. I have run lots of tracing on it and found that the hangup is happening before the request even gets to the server. I have setup ASP.net tracing to spit out a timestamp gathered during the application.begin_request event. An example of a typical scenario I am observing is that I request a page at 00 seconds and get the response at 30 seconds. ASP.net tracing tells me that application.begin_request (via the timestamp) started at 27 seconds and the entire page cycle took less than 3 seconds to complete. I also traced with the Internet Explorer 9 F12 debug feature and if I look at the timings tab (in detail view) I observe that all of the hangup time is occuring in what Internet Explorer is calling the "Start" event - the description is "The time from when the request was initially created to when the request is sent". So my question is, does anybody know what would cause requests to intermittently get held up in the browser like that? It does not happen in development (only from hosted site) and occurs from multiple types of browsers and multiple PCs - so it is not isolated to a particular browser environment.
i am not much in tracing issues, but why not use pagemethods for AJAX calls they are built to remove slow AJAX problems; try reading it here http://blogs.microsoft.co.il/blogs/gilf/archive/2008/10/04/asp-net-ajax-pagemethods.aspx[^] and also here http://stackoverflow.com/questions/9555203/updatepanel-vs-page-methods[^] have a nice coding. regards Alok Sharma
-
i am not much in tracing issues, but why not use pagemethods for AJAX calls they are built to remove slow AJAX problems; try reading it here http://blogs.microsoft.co.il/blogs/gilf/archive/2008/10/04/asp-net-ajax-pagemethods.aspx[^] and also here http://stackoverflow.com/questions/9555203/updatepanel-vs-page-methods[^] have a nice coding. regards Alok Sharma
Those are good reads as I was not familiar with that but unfortunately to use those would require a lot of code re-writing. I am confident that this latency is not from AJAX. I have run tracing in fiddler, dynaTrace, and IE and in all cases the tools report a responsive site in all ways other that this strange random latency in the pre-request state. I really need to simply identify what is going on during the browser start\wait period on the random page requests that experience latency. However it seems that there is no information about anyone having a similar situation anywhere on the web.