Knowing Your Limits Jason Fish #bweb11
Who should be here? Designer Developer Administer a website Own a sites content Market a site Manage someone who does the above Use the
What am I going to tell you? Mixable What problem we faced How we found a solution What we fixed Give you in tools to do the
What technology did we use? ASP.NET MVC 2.0 SQL Server 2008 R2 Memcached jQuery API – Facebook – Twitter –
What problem did we ? External content Images Videos Profile pictures Web service calls Get student courses Get faculty courses Get Facebook data
What could we do? What would you do? Cache queries Just-in-time loading of data Push processing to the
Was that enough, or right? No baseline No idea on content Did we focus on the wrong
Again, what could we do? Load Test – process of putting demand on a system or device and measuring its response. – en.wikipedia.org/wiki/Load_test
How do we do that here? Load Runner – Licensing – Huge learning curve – Intensely time consuming Why do we have it then? – Blackboard –
Well now what? LoadStorm – General Electric – Wall Street Journal – Nokia – Woot Free for 25 users Very little learning curve No per user license
So how does it
Build the Test – The
Build the Test – The
Run the test within 5
Yay
Yay Key Points Average Response Time Errors Peak Requests Per Second
Final
What’s going on
There’s
Mixable
Mixable
Mixable
Mixable
Why such a big change? Implement Caching – Queries – Images Utilize CDN’s – jQuery Image thumbnailing Code Optimization – C# –
What else do I need to know? Servers need to be validated Admins should be notified – Web Server – Database Server Only Run on
So, why are you here? Give you access to LoadStorm for FREE me
Session surveys