ASP.NET application performance issue
-
In my application I have a bulky .aspx page, it has UdatePanels and on every post back through UpdatePanel it performs complex calculations on server as well as renders almost 50 controls again at UI. I am facing following performance issues with my application 1. Application works fine on all other pages but on above mentioned page it’s very slow and often gives timeout exception. 2. On similar page if there are 3-4 concurrent user then ASP.NET worker process starts using almost 100% of CPU. (considering the RAM on server is 2GB) 3. I am creating and maintaining a session object on this page which fetches values form database and it’s size is around 500 KB, it's compusary for application and cannot be avoided. I have tried a lot but couldn’t found the performance bottleneck; can anybody please suggest how can I fine tune applications performance for given page?
-
In my application I have a bulky .aspx page, it has UdatePanels and on every post back through UpdatePanel it performs complex calculations on server as well as renders almost 50 controls again at UI. I am facing following performance issues with my application 1. Application works fine on all other pages but on above mentioned page it’s very slow and often gives timeout exception. 2. On similar page if there are 3-4 concurrent user then ASP.NET worker process starts using almost 100% of CPU. (considering the RAM on server is 2GB) 3. I am creating and maintaining a session object on this page which fetches values form database and it’s size is around 500 KB, it's compusary for application and cannot be avoided. I have tried a lot but couldn’t found the performance bottleneck; can anybody please suggest how can I fine tune applications performance for given page?
Do you realy need all 50 controls on page, or you coud use as wizzard? Did you disabled debug mode in Web.Config? Did you used publish site in Visual Studio? Did you configure iss? I Think it is in General Tab a combo box, Currently i cant accsess to my computer where i have iss.
-
In my application I have a bulky .aspx page, it has UdatePanels and on every post back through UpdatePanel it performs complex calculations on server as well as renders almost 50 controls again at UI. I am facing following performance issues with my application 1. Application works fine on all other pages but on above mentioned page it’s very slow and often gives timeout exception. 2. On similar page if there are 3-4 concurrent user then ASP.NET worker process starts using almost 100% of CPU. (considering the RAM on server is 2GB) 3. I am creating and maintaining a session object on this page which fetches values form database and it’s size is around 500 KB, it's compusary for application and cannot be avoided. I have tried a lot but couldn’t found the performance bottleneck; can anybody please suggest how can I fine tune applications performance for given page?
Mukesh Kumar Gupta wrote:
complex calculations on server as well as renders almost 50 controls again at UI
Well, I would say this is a clue. Why do you need to re-render 50 controls? Just update the ones necessary, or reduce the number of controls on the page. I would reconsider the 500KB session object also.
only two letters away from being an asset