Accelerate SharePoint 2007 and 2010 websites and intranets mike iem - aptimize
1. Presented to you by Epok and Aptimize Accelerate SharePoint 2007 and 2010 Websites and Intranets Mike Iem Business Manager Aptimize mike.iem@aptimize.com Ed Robinson CEO Aptimize
2. About Epok Oscar Fuster – VP of Marketing Leader in SharePoint Extranet Market Headquartered in Bethesda, MD Epok Edition for Microsoft SharePoint Enterprise Customers include: Financial Services Government/Military Pharmaceutical Health Care Legal
3. About Aptimize Ed Robinson, CEO and Founder Leader in IIS, SharePoint, and Linux Performance Headquartered in Wellington, New Zealand SharePoint Accelerator Customers include Google, Microsoft, Northrop Grumman, Raytheon, Ingram Micro and many others
4. Agenda SharePoint Server Specific Performance You have 7 seconds Performance Methodology Top 10 Tips for Website Speed Quick Reference Case Study: sharepoint.microsoft.com Resources
5. Top SharePoint Server Perf Killers Indexing/Crawling Backup (SQL & Tape) Profile Import Users - Inefficient views (Throttling in 2010 helps) Timer Jobs – i.e. User Sync for large #s of Users Poor Storage Configuration STSADM Backup/Restore (Replace with third party or 2010 unattached recovery) Large List Operations Delete/Update Network Saturation/Congestion such as Streaming Video Misconfigured Network Joel Oleson SharePoint Server Performance Presentation at: http://www.aptimize.com/blog/webinar-sharepoint-admins
6. You Have 7 Seconds You have seven seconds to make an impact Engage interest, or leave forever Slower sites loose customers google.com 100 ms delay = 20% less searches shopzilla.com: 25% reduction in load time 7%-12% revenue increase findsomeone.co.nz 25% reduction in load time 13% more clicks per visitor Google recently announced that speed will affect search rankings Fortune 500 Speeds http://www.aptimize.com/Upload/docs/fortune.pdf#zoom=75
13. How Fast Is Your Website? FREE tool: www.webpagetest.org Waterfall diagram shows server/browser processing 20% Server processing 80% Browser processing
14. DEMO: measurement tools Webpage Test - www.Wepagetest.orgFiddler – www.fiddler2.com Aptimize Site Analyzer Tool – email mike.iem@aptimize.com
16. 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 Goal: Server processing < 1 second
17. 2. Far-Future Expires Reduce repeat-view load times 50%+ Browser caches resources Doesn’t check again until expiry Reduces HTTP requests 90% Challenge: Refreshing changes Code: Add This HTTP Header to eachresource Expires:Wed, 13 Oct 2010 04:02:35 GMT
18. 3. Gzip Compression Reduce first view load time 30%-40% Reduces size: HTML JavaScript StyleSheets No effect on images: (JPEG, PNG, GIF) Check for HTTP request header Accept-Encoding: gzip, deflate
19. 4. Optimize JavaScript Reduce load time 7%-10% Merge JavaScript files into single file Shrink JavaScript Remove comments Remove whitespace Challenges: Preserving functionality Maintenance
20. 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
21. 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
22. 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
23. 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 Solution: Load at the end of page Load in an iframe
24. 9. Flash and Silverlight Don’t use Flash on home page Silverlight on home page Both add Load time Start render time LOADING… 15%
25. 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
29. Merge Files - Results Before After 50% reduction Load times reduced 20%. On the Web, Less is More
30. Rule 3: Increase Caching Cache static resources on browser to speed up repeat views Before After Repeat view load time reduced from 4.5 to 1.9 seconds
31. Silverlight + Flash Use JavaScript instead Pay attention to size Remove references Compress images Don’t embed videos
33. SharePoint.microsoft.com Challenge Improve performance for microsoft.com site High traffic, no downtime Applied Methodology Used 10 techniques Results > 50% reduction in load time "The improvement in page loading time is tremendous." Tony Tai, Product Manager, Microsoft Corporation
56. Aptimize Website Accelerator Test your speed now www.webpagetest.org Site Analyzer Tool email mike.iem@aptimize.com Aptimize Blog http://www.aptimize.com/blog Twitter http://twitter.com/aptimize Spoint.me (SharePoint Social Network) http://spoint.me/groups/sharepoint-performance/ Mike Iem – 425-605-4148 USA Contact: mike.iem@aptimize.com Outside USA: aaron.bellingham@aptimize.com Presentation: www.slideshare.net/aptimize
59. Required Slide Contact Information: Oscar Fuster Epok Inc oscar.fuster@epok.net 301-768-8454 Mike Iem Aptimize Mike.iem@aptimize.com 425-605-4148
Notes de l'éditeur
Compression is the most important thingThree thingsGzip compression
HTTP requests reduced 52% from 94 to 45
Repeat view reduced 58%
The resultsBefore optimization, the website load times were:• 10.5 seconds for domestic visitors• 13.3 seconds for international visitors• 1.7 MB in page sizeAfter optimization, the load times:• Reduced 43% to 5.9 seconds for domestic visitors• Reduced 54% to 6.1 seconds for international visitors• Reduced page size 49% to 0.9 MB• The “start render” (time people see a blank page before it draws) was reduced by halfPageTest results are here, less requests mean faster websites:Original: http://www.webpagetest.org/result/100329_7690d16f562a8416aa7532262c6f2fe7/Aptimized: http://www.webpagetest.org/result/100329_ef769ed36dddf0e7801627e4ac44dd6c/