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. App too slow :-/

App too slow :-/

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminhostingperformance
4 Posts 4 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
    Matt Cavanagh
    wrote on last edited by
    #1

    Ive created a pretty big ASP.NET app which does financial calculations and the like. It worked fine all the way through development. What I failed to try during dev though was what would happen with more than one set of values. It breaks down to a treacle like speed. Now up till now, the dedicated server that I tested it on, ran it MUCH faster than running it in VS2008. But then it all changed, and now its slow as hell. Its a set of 5 AJAX update panels which each run according to what you press. Now as far as I can tell, the code is executing pretty speedily, but what slows it all down is the transfer of that to the client browser(maybe why it runs faster locally?). So, is it possible that every time one of my updatepanels(all set to conditional with children as triggers) is updating, that it is also resending all the data in the others? Thanks. P.S. I know this is very vague, but theres far too many factors to be able to post one block of code :-/

    Strive to be humble enough to take advice, and confident enough to do something about it.

    N W A 3 Replies Last reply
    0
    • M Matt Cavanagh

      Ive created a pretty big ASP.NET app which does financial calculations and the like. It worked fine all the way through development. What I failed to try during dev though was what would happen with more than one set of values. It breaks down to a treacle like speed. Now up till now, the dedicated server that I tested it on, ran it MUCH faster than running it in VS2008. But then it all changed, and now its slow as hell. Its a set of 5 AJAX update panels which each run according to what you press. Now as far as I can tell, the code is executing pretty speedily, but what slows it all down is the transfer of that to the client browser(maybe why it runs faster locally?). So, is it possible that every time one of my updatepanels(all set to conditional with children as triggers) is updating, that it is also resending all the data in the others? Thanks. P.S. I know this is very vague, but theres far too many factors to be able to post one block of code :-/

      Strive to be humble enough to take advice, and confident enough to do something about it.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      If you are using the Microsoft AJAX UpdatePanel, or any derived from it, then yes, it is sending far to much data in the postback. Although only the one portion of the page is being refreshed, it still follows the typical page lifecycle, to a certain extent at least. You can try using PageMethods or other more direct Ajax methods.


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • M Matt Cavanagh

        Ive created a pretty big ASP.NET app which does financial calculations and the like. It worked fine all the way through development. What I failed to try during dev though was what would happen with more than one set of values. It breaks down to a treacle like speed. Now up till now, the dedicated server that I tested it on, ran it MUCH faster than running it in VS2008. But then it all changed, and now its slow as hell. Its a set of 5 AJAX update panels which each run according to what you press. Now as far as I can tell, the code is executing pretty speedily, but what slows it all down is the transfer of that to the client browser(maybe why it runs faster locally?). So, is it possible that every time one of my updatepanels(all set to conditional with children as triggers) is updating, that it is also resending all the data in the others? Thanks. P.S. I know this is very vague, but theres far too many factors to be able to post one block of code :-/

        Strive to be humble enough to take advice, and confident enough to do something about it.

        W Offline
        W Offline
        wilsonmanmcp
        wrote on last edited by
        #3

        I think if you use updatepanel everything else in the page will need to send back to the server doesn't matter they are in the same update panel or not. use web service to refresh data will be better?

        Still a newbie.. learning

        1 Reply Last reply
        0
        • M Matt Cavanagh

          Ive created a pretty big ASP.NET app which does financial calculations and the like. It worked fine all the way through development. What I failed to try during dev though was what would happen with more than one set of values. It breaks down to a treacle like speed. Now up till now, the dedicated server that I tested it on, ran it MUCH faster than running it in VS2008. But then it all changed, and now its slow as hell. Its a set of 5 AJAX update panels which each run according to what you press. Now as far as I can tell, the code is executing pretty speedily, but what slows it all down is the transfer of that to the client browser(maybe why it runs faster locally?). So, is it possible that every time one of my updatepanels(all set to conditional with children as triggers) is updating, that it is also resending all the data in the others? Thanks. P.S. I know this is very vague, but theres far too many factors to be able to post one block of code :-/

          Strive to be humble enough to take advice, and confident enough to do something about it.

          A Offline
          A Offline
          Anurag Gandhi
          wrote on last edited by
          #4

          You may wish to check all the criteria which might have slowed down your application. Following link should help you: Performance Strategies for Enterprise Web Site Development[^] ASP.NET Best Practices for High Performance Applications[^] 10 ASP.NET Performance and Scalability Secrets[^] Moreover, I would suggest try not to use too many update panels. Reloading the page instead will be better.

          Anurag Gandhi. http://www.gandhisoft.com Life is a computer program and every one is the programmer of his own life.

          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