« Previous Next »

Thread: Speeding Up Response

Last post 10-28-2009 8:27 PM by Rovastar. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-28-2009, 5:36 PM

    Speeding Up Response

    Hi all,

     

    This is my first post and i've tried searching for it but the search functionality just doesn't seem to work. =\

    So here it is:

    I've been reading up on IIS7 running ASP.NET apps for good reason. Reasons are to increase reliability as well as performance. The particular ASP application we're running is DotNetNuke, i'm not sure if IIS7 should be configured uniquely to handle it but so far we've been running DNN on:

    • its own application pool which sports the following configuration
    1. Integrated pipeline mode
    2. Default of a 1000 queue length
    3. Default Idle Time-out of 20
    4. One (1) Worker Process
    5. Recycling at Regular Time Interval 29hrs
    6. Recycling at Specific Times 0300hrs

    Currently I'm pushing for us to allocate time to view the logs created by IIS on traffic so that we can pull figures out from the charts created which could help us with

    • Keeping these DNN sites alive so they don't have to recompile on request after there's been a long period of inactivity (Time-out)
    • Increasing the response speed of the site. Our monitoring tools recorded three (3) performance violations in an hour. It was to pick out response times of more than three (3) seconds. This knowledge coupled with the IIS Stats could give us a business reason to drive more visitors in.

    I've read that increasing Worker Processes would assist in response time and have read a few testimonials that showed evidence of it obtaining remarkable results and so have increased Worker Processes to 2 for trials.

    In the meantime, I've read that InProc session states would not be maintained as each W3WP has it's own boundaries and does not share sessions. Will using ASP.NET's ViewState be affected in any way? In the future, another application that will be deployed, will use simple Sessions. Will that break?

    I was hoping to obtain a cleaner site, closer to opening times, so was hoping to recycle at about 7am instead of 3am. Would that help stability at all?

    In DNN, there is a KeepAlive.aspx file which refreshes every now and then. The aim was to connect to that page and let it refresh to keep the site alive. It has worked in keeping the site alive and the payload returned is extremely small, which is a plus! Couple this with traffic stats from IIS and we should have an answer as to how long to adjust keep-alive.

    Are there any side-effects of increasing keep-alive? I'm guessing that keeping the connection alive for too long would reduce the availability of connections to new visitors?

    Now that you know my story...

    How should we go about increasing stability and performance?

    • Worker Processes
    • Worker Threads - Can we adjust this??
    • Recycling Times
    Thanks Experts!!!!
    Administrator of Drift Garage Singapore - http://www.driftgarage.net
    Owner of TunedForDrift - http://www.tunedfordrift.com
  • 10-28-2009, 7:34 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,412

    Re: Speeding Up Response

    For DNN performance tuning, you must ask DNN experts.

    You can try their forum,

    http://www.dotnetnuke.com/tabid/795/Default.aspx

    Or see if they sell support contracts.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-28-2009, 8:27 PM In reply to

    Re: Speeding Up Response

    The search is shocking on this forum so not your fault there.

    karbonphyber:

    This is my first post and i've tried searching for it but the search functionality just doesn't seem to work. =\

     

    The search is shocking on this forum so not your fault there.

    A few pointers.

    Use fixed times for recycling all you need to do is have them off peak.

    Recycling app pools helps sites but a well programmed site shouldn't really need to recycle admin do it to keep things clean. 

    Those who say that increasing the number of worker process will increase performance are idiots.

    If anything decreasing the crazy high IIS http keepalive default of 120 will improve performance.

    You need to look at how long the rolling average of the client is online. You do not need have these alive when the client has left. Normally something like 15-30 seconds is likely to be much better.

    Any app need to be stress tested with what you think will be average and peak traffic to obtain more optimal performance.

    Can you explain how a site was slow to respond? Are are just looking at the time-taken fields in the IIS logs are more?

Page 1 of 1 (3 items)
Microsoft Communities