Clarity, Technology, and Solving Problems | PracticeThis.com
WP7 App with Key Windows Azure resources – Slides, Videos, How-To’s, and T-shooting – for quick consumption on the go.
Quick Resource Box
In the post Andreas provides a list of reasons for “Why do Load Testing Projects fail?” and that is:
I thought it’d be useful to compile quick checklist to help reduce the risk of being unprepared toward load testing effort. The checklist can be used by a PM [project manager] when estimating the efforts.
In the article Eric Lawrence, the author and the creator of the Fiddler tool, shares simple technique of adding custom rules that color outstanding request – be it improper caching or large payload.
I am using Fiddler v. 2.2.8.6. To add customer rules follow these steps:
static function OnBeforeResponse(oSession: Session)
// Flag files over 25KB if (oSession.responseBodyBytes.length > 25000) { oSession["ui-color"] = "red"; oSession["ui-bold"] = "true"; oSession["ui-customcolumn"] = "Large file"; }
// Mark files which do not have caching information if (!oSession.oResponse.headers.Exists("Expires") && !oSession.oResponse.headers.Exists("Cache-Control")) { oSession["ui-color"] = "purple"; oSession["ui-bold"] = "true"; oSession["ui-customcolumn"] = "Review Caching"; }
To test the Fiddler custom rules just navigate to the site you want to inspect. Here is what I get after navigating the home page of my blog:
Highlighting potential performance problems helps quickly focus on it and start improving. Notice the request #3 colored in red – it exceeds 25 KB limit. Request #8 does not have caching header defined for it – colored in purple. Notice also the comments in Custom column. I could go further and and fine tune it, for example filter out 404, etc.
Recent announcement from Google that it incorporates performance into ranking algorithm makes the performance a serious competitive advantage. I can easily imagine new breed Google performance consultants stealing a pie from SEO consultants. I guess it’d be a good move for any SEO consultant to get perf under their belt. Using Fiddler makes it really easy.
Getting bigger servers does not always help achieving better performance. In fact, in many cases it even won't help at all. This session is prescriptive. It dissects canonical web application with performance scalpel revealing performance killers and boosters in browser, IIS, and .net code. You take away from this session performance principles, guidelines, samples, and tools that will help you plan, build and test your next mission-critical application.
The slides have been uploaded to skidrive. Enjoy.