1 / 43

Mike Iem mike.iem@riverbed

Measuring and Understanding SharePoint Performance using Free Industry Standard Tools Americas Web Content Optimization Specialist. Mike Iem mike.iem@riverbed.com. In 2012 We Demand More…. 2. Dynamic Information. 1. Content Explosion. 3. Third Party Content. 5. Devices.

Download Presentation

Mike Iem mike.iem@riverbed

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Measuring and Understanding SharePoint Performance using Free Industry Standard ToolsAmericas Web Content Optimization Specialist Mike Iem mike.iem@riverbed.com

  2. In 2012 We Demand More… 2. Dynamic Information 1. Content Explosion 3. Third Party Content 5. Devices 4. Global Audience

  3. Benefits of a Faster Web Experience • April 2010, Google announces Pagespeed affects search results ranking • Increase page views • Visitors in the top 10% of site speed viewed 50% more pages than visitors in the bottom ten percentile. [Source: AOL] • Improve conversion rates • 5.51% Increase in cart size. [source: Watching Websites] • Increase revenue • 5 seconds in website speed means 10% revenue increase [source: Shopzilla]100 milliseconds improvement increased Amazon revenue by 1% for [source: Amazon] • Improve productivity • People can simply do more, faster

  4. Understanding Performance Server Network Client Server Tuning SQL Queries Offloading WAN Latency Topology/Distance Network Upgrades Browser Time Page Optimization # Roundtrips

  5. Server • Server hardware • Memory, Processor, Disk IOs • Offload servers using ADC(Application Delivery Controller) • Compression, SSL • Good data center design • Scale out, Scale Up • SQL Server tuning • Sizing + tuning + indexing • Blob cache • http://social.technet.microsoft.com/wiki/contents/articles/7926.sharepoint-2010-tips-for-dealing-with-performance-issues.aspx • Tool: SharePoint Developer Dashboard

  6. SharePoint Developer Dashboard – Server Time

  7. Demo SharePoint Developer Dashboard

  8. Network Latency • Users coming in from global offices • Bandwidth upgrades don’t fix “chattiness” • WAN Optimization solutions solve the bandwidth and latency constraints • File downloads are accelerated (especially for SharePoint) • Question: What is your network Latency? • You can easily test it with Ping • Standards– Intranet • Domestic US: <30ms healthy >50ms is an issue • Standards - Internet • Domestic US: 30ms, International: 150ms

  9. WAN Steelhead completes transaction locally Steelhead eliminates chattiness WAN Optimization Solution – Riverbed Steelhead Request Optimized WAN Transfer BRANCH OFFICE DATA CENTER The net effect is up to 20x faster file downloads

  10. Clients and Browsers • Web content is constantly growing • Multiple devices at use in the enterprise (BYOC) • Smartphones, tablets have varying browser characteristics • Last mile issues with 3G/Wireless connections

  11. Performance Measurement Tools

  12. Tools to measure Website Performance (all FREE) • Aptimizer Site Analyzer Tool • See what Stingray Aptimizer can do for your website • Sign up http://www.aptimize.com/how-to-buy/trial • Logon and go to downloads (the tool is at the bottom) • Testing Internet Sites from actual locations • www.webpagetest.org • Tool to see HTTP requests • www.fiddler2.com

  13. How Fast is your website ? www.webpagetest.org

  14. Fiddler www.fiddler2.com

  15. Riverbed Site Analyzer Tool Report (Prediction or Actual) http://www.aptimize.com/how-to-buy/trial

  16. Measure Your Webpage Performance • Google Page speed • https://developers.google.com/pagespeed/# • Page score should be > 90 out of 100 • Yahoo “Yslow” extension • http://developer.yahoo.com/performance/ • Webpagetest • https://webpagetest.org/ • Page grade should be “A” • Standard Page Load Times • Fortune 500 Internet load time average is 7 seconds domestic, 9.5 seconds international • Intranet load times < 4 seconds cold load, < 2 seconds repeat view

  17. DEMONSTRATIONS www.webpagetest.org Riverbed Site Analyzer Tool Fiddler

  18. Performance Rules For Developers

  19. Top 10 best practices to improve Web Performance • Hardware + Platform • Far-future expires • Gzip compression • Optimize JavaScript • Optimize Stylesheets • Image Sprites • Image inlining • Reduce external references • Flash and Silverlight • Authentication

  20. 1: Hardware + Platform • Buy good hardware • Dedicated SQL Server • Web Cluster • SCSI RAID • Lots of RAM • Multiple CPUs • SQL Server • Sizing + tuning + indexing • Blob cache Warning: No secrets here

  21. 2. Far-Future Expires Reduce repeat-view load times 50%+ • Browser caches resources • Doesn’t check again until expiry • Reduces HTTP requests 90% • Reduce 304 errors on repeat view • Challenge: • Refreshing changes Code: Add This HTTP Header to eachresource Expires:Wed, 18 April 2013 04:02:35 GMT

  22. 3. Gzip Compression Reduce first view load time 30%-40% • Reduces size: • HTML • JavaScript • StyleSheets • Challenge : • No effect on images: (JPEG, PNG, GIF) Check for HTTP request header Accept-Encoding: gzip, deflate

  23. Compress Everything Load times reduced 30%. On the Web, Smaller is Better. Convert big PNG files to JPEGs

  24. 4. Optimize JavaScript Reduce load time 7%-10% • Merge JavaScript files into single file • Shrink JavaScript • Remove comments • Remove whitespace • Challenges: • Preserving functionality • Maintenance

  25. 5. Optimize StyleSheets • Reduce start render up to 75% • Merge StyleSheets into single file • Shrink CSS in StyleSheet • Place StyleSheet at beginning of HTML • Page render starts after all StyleSheets are loaded • Challenges: • Maintenance

  26. 6. Image Sprites Reduce load 5%-15% • Merge images into multi-image sprite • Change HTML to use sprite • HTTP requests reduced • Challenges: • Maintaining the sprite • Changing HTML

  27. 6: Examples: Merge all like Resource Files

  28. 7. Image Inlining • Reduce load times 1%-10% • Base64 encode CSS background images • Embed encoded data into CSS file • Reduces HTTP requests • Challenges: • Maintainability • Browser compatibility

  29. 8. Reduce external references • Reduce ads and syndication • Ads • YouTube videos • Links to external sites • Each link opens a new connection • Each increases load time ≈ 0.5 seconds • Best practices • Load at the end of page • Load in an iframe

  30. 9. Flash and Silverlight • Don’t use • Flash on home page • Silverlight on home page • Both add • Load time • Start render time LOADING… 15%

  31. 10. Security • Use Kerberos instead of NTLM • Reduces HTTP 401 network traffic  • Requires extra configuration in AD  • Only use SSL where you really need it • Consumes CPU cycles • Content not cacheable

  32. All these Changes are DIY • Lot of resources for developers to do-it-yourself • Very resource intensive • Need to account for all types of device/browser combos HTML/CSS • Need additional testing to insure changes work for all users • Need to put equal emphasis on features and performance • These techniques don’t help with file downloads

  33. Justification – Whats the ROI of WCO?

  34. ROI Savings using Web Content Optimization Techniques • Use the simple spreadsheet to calculate the ROI Hourly Employee Cost: Employee Loaded cost is usually 2x Salary for Knowledge workers At 2,000 working hours per year and 100K Salary, this number should be $100 per hour

  35. ROI - Faster Websites Increase Returns • Internet and Intranet • Measure time saved • Measure data saved (Network costs) • Measure Productivity • Measure Revenue Increase

  36. What Is Riverbed Stingray Aptimizer? • Software product for web servers • Speeds up webpages • First view 33% - 50% reduction • Repeat view 70% - 90% reduction • Dynamic solution, runs in the background • Available for • Microsoft SharePoint intranets / websites • Any Microsoft Window Server IIS websites (ASP.net) • Any Linux / Solaris website (available Summer 2012) • Complements Riverbed products • Steelhead • Stingray Traffic Manager • Very quick to deploy, no development changes, set it and forget it

  37. How Stingray Aptimizer works BEFORE AFTER • 1. Install software: • Server Extension • SharePoint / Windows • Configuration in <1 hour • 3. Instant results: • Up to 90% faster load times • 50% less data traffic • Works with WAN opt, ADC, CDN • 2. Aptimizer dynamically: • Accelerates content • Reduces data size • Reduces http round-trips • Adaptively adjusts layout

  38. HTTP Waterfalls (First View - Cold Load) 34 Requests = 10 Seconds WAX = OFF http://www.webpagetest.org/result/120229_81_3D9DT/ WAX = ON http://www.webpagetest.org/result/120229_YN_3D9FG/ 67 Requests = 30 Seconds

  39. HTTP Waterfalls (Repeat View – Warm Load) 1 Request = 2.9 Seconds WAX = OFF http://www.webpagetest.org/result/120229_81_3D9DT/ WAX = ON http://www.webpagetest.org/result/120229_YN_3D9FG/ 40 Requests = 17 Seconds

  40. Aptimize On and Off

  41. Next steps • Test your Website • Make changes to your website and retest Or • Install Aptimizer to test servers and measure • Test at user locations with ready tools.

  42. Customers

  43. Thank You

More Related