280 likes | 418 Views
Knowing Your Limits. Jason Fish Informatics @ jasondfish #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 internet. @ jasondfish. What am I going to tell you?. Mixable
E N D
Knowing Your Limits Jason Fish Informatics @jasondfish #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 internet @jasondfish
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 same @jasondfish
www.purdue.edu/mixable @jasondfish
What technology did we use? • ASP.NET MVC 2.0 • SQL Server 2008 R2 • Memcached • jQuery • API • Facebook • Twitter • Dropbox @jasondfish
What problem did we face? ? • External content • Images • Videos • Profile pictures • Web service calls • Get student courses • Get faculty courses • Get Facebook data @jasondfish
What could we do? • What would you do? • Cache queries • Just-in-time loading of data • Push processing to the user @jasondfish
Was that enough, or right? • No baseline • No idea on content • Did we focus on the wrong things? @jasondfish
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 @jasondfish
How do we do that here? • Load Runner • Licensing • Huge learning curve • Intensely time consuming • Why do we have it then? • Blackboard • Banner @jasondfish
Well now what? • LoadStorm • General Electric • Wall Street Journal • Nokia • Woot • Free for 25 users • Very little learning curve • No per user license fee @jasondfish
So how does it work? @jasondfish
Build the Test – The Setup @jasondfish
Build the Test – The Scenario @jasondfish
Run the test within 5 minutes @jasondfish
Yay charts! @jasondfish
Yay numbers! • Key Points • Average Response Time • Errors • Peak Requests Per Second @jasondfish
Final Charts @jasondfish
What’s going on here? @jasondfish
There’s More! @jasondfish
Mixable Results @jasondfish
Mixable Charts @jasondfish
Mixable Charts @jasondfish
Mixable Charts @jasondfish
Why such a big change? • Implement Caching • Queries • Images • Utilize CDN’s • jQuery • Image thumbnailing • Code Optimization • C# • Queries @jasondfish
What else do I need to know? • Servers need to be validated • Admins should be notified • Web Server • Database Server • Only Run on Dev/QA @jasondfish
So, why are you here? • Give you access to LoadStorm for FREE • Email me at jfish@purdue.edu @jasondfish
Session surveys http://www.itap.purdue.edu/boilerweb/survey