Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Request hangs in browser

Request hangs in browser

Scheduled Pinned Locked Moved ASP.NET
questionworkspacecsharpcssasp-net
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mrc2503
    wrote on last edited by
    #1

    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.

    A 1 Reply Last reply
    0
    • M mrc2503

      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.

      A Offline
      A Offline
      Alok Sharma ji
      wrote on last edited by
      #2

      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

      M 1 Reply Last reply
      0
      • A Alok Sharma ji

        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

        M Offline
        M Offline
        mrc2503
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups