Derik Whittaker



Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at
Deeper in .Net (live) - Scaling Habits of ASP.Net

Speaker: Richard Campbell (yea, that Richard.  But no Carl :( )

The third session today deals with scaling a application.  Going from the 'make it work' stage to 'make it scale' stage in our developers and how we as developers progress from end to end.


  • Things we need to measure when talking about scaling
    • Capacity - number of active/concurrent users
    • Throughput - pageviews, request per second, transactions per second
    • Performance - load time (milliseconds)
  • Reviewed the basics on how to calculate performance
    R = (payload/bandwith) + RTT + ( AppTurns(RTT)/concurrent requests) + CS + Cc
    R == Response Time
    RTT == Round trip time
    Cs == Server side compute time
    Cc == Client compute time
  • Pointed out that many times our 'performance issues' are not always in the code. Sometimes we need to take a look at either bandwith or roundtrip information/stats.
  • Reviewed what 'server failure' typically looks like
    Memory consumption above 80%
    Processor consumption at 100%
    Request queues start to grow out of hand
    Page timeouts
    Sessions get lost
    People cannot access the site
  • Talked about the fallacy between 100% uptime vs 99% uptime.  99% should be the goal, not 100%
  • When over the topics of discussion when you have the 'the sky is falling' meeting after a site goes down.  The idea here is that developers should be ready to fully discuss the app from all aspects and the opps team needs to be ready to review the network setup/usage in great detail.
  • Made suggestion that if/when you move from one server to two, you might as well as move to three because the cost of two to three is simply the cost of hardware.  The move from one to two is very expensive.  May also want to separate the duties of the web servers.  Make one an image server ONLY.
  • Chatted about when using load balancers you need to be aware of what type of balancing you need, and what type will work best for you.  Sticky vs Round Robin vs WMI.

Till next time,

Posted 04-05-2008 3:04 PM by Derik Whittaker
Filed under:



Derik Whittaker wrote Deeper in .Net wrap up
on 04-06-2008 11:20 AM

Wow, yesterday was great. Myself and Jordan Martz make the trek up from Chicago land up to Brookfield

Sean Chambers wrote re: Deeper in .Net (live) - Scaling Habits of ASP.Net
on 04-06-2008 11:53 AM

this is one portion of .net development that I feel doesn't get enough posts on it. I think the average developer should know more about what to do in this situation. I would be very interested to see you expand and go more into detail about this topic. I think it would serve the community very well.

Community Blogs wrote April Links. If ScottGu can do it, I can do it as well :-)
on 04-09-2008 2:39 AM

Silverlight: Silverlight Roadmap questions Ashish Thapliyal Third Silverlight v1.0 Servicing Release

Al Pascual wrote April Links. If ScottGu can do it, I can do it as well :-)
on 05-25-2010 10:52 PM

April Links. If ScottGu can do it, I can do it as well :-)

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)