Presented to you by Epok and Aptimize<br />Accelerate SharePoint 2007 and 2010 Websites and Intranets<br />Mike Iem<br />B...
About Epok<br />Oscar Fuster – VP of Marketing<br />Leader in SharePoint Extranet Market<br />Headquartered in Bethesda, M...
About Aptimize<br />Ed Robinson, CEO and Founder<br />Leader in IIS, SharePoint, and Linux Performance<br />Headquartered ...
Agenda<br />SharePoint Server Specific Performance<br />You have 7 seconds<br />Performance Methodology<br />Top 10 Tips f...
Top SharePoint Server Perf Killers<br />Indexing/Crawling<br />Backup (SQL & Tape)<br />Profile Import<br />Users - Ineffi...
You Have 7 Seconds<br />You have seven seconds to make an impact<br />Engage interest, or leave forever<br />Slower sites ...
Performance Methodology<br />Methodology<br />Goal: 7 seconds or less<br />Measure<br />Improve<br />Measure<br />What can...
Understanding Website Speed<br />Waterfall Diagram<br />Breaks down page load<br />Shows everything to load the page<br />...
Sample Waterfall Diagram<br />Server vs. Client time<br />
Sample Waterfall Diagram<br />Server vs. Client time<br />
Sample Waterfall Diagram<br />Server vs. Client time<br />
Sample Waterfall Diagram<br />Server vs. Client time<br />
How Fast Is Your Website?<br />FREE tool: www.webpagetest.org<br />Waterfall diagram shows server/browser processing<br />...
DEMO: measurement tools<br />Webpage Test - www.Wepagetest.orgFiddler – www.fiddler2.com<br />Aptimize Site Analyzer Tool ...
Top 10 Tips<br />
1: Hardware + Platform<br />Buy good hardware<br />Dedicated SQL Server<br />Web Cluster<br />SCSI RAID<br />Lots of RAM<b...
2. Far-Future Expires<br />Reduce repeat-view load times 50%+ <br />Browser caches resources<br />Doesn’t check again unti...
3. Gzip Compression<br />Reduce first view load time 30%-40%<br />Reduces size:<br />HTML<br />JavaScript<br />StyleSheets...
4. Optimize JavaScript <br />Reduce load time 7%-10%<br />Merge JavaScript files into single file<br />Shrink JavaScript<b...
5. Optimize StyleSheets<br />Reduce start render up to 75%<br />Merge StyleSheets into single file<br />Shrink CSS in Styl...
6. Image Sprites<br />Reduce load 5%-15%<br />Merge images into multi-image sprite<br />Change HTML to use sprite<br />HTT...
7. Image Inlining<br />Reduce load times 1%-10%<br />Base64 encode CSS background images<br />Embed encoded data into CSS ...
8. Reduce external references<br />Reduce ads and syndication<br />Ads <br />YouTube videos<br />Links to external sites<b...
9. Flash and Silverlight<br />Don’t use<br />Flash on home page<br />Silverlight on home page<br />Both add<br />Load time...
10. Security<br />Use Kerberos instead of NTLM<br />Reduces HTTP 401 network traffic <br />Requires extra configuration i...
TOP 3 Rules<br />
Rule 1: Compress Everything<br />Load times reduced 30%. On the Web, Smaller is Better.<br />
Rule 2: Merge Files<br />
Merge Files - Results<br />Before<br />After<br />50% reduction<br />Load times reduced 20%. On the Web, Less is More<br />
Rule 3: Increase Caching<br />Cache static resources on browser to speed up repeat views<br />Before<br />After<br />Repea...
Silverlight + Flash<br />Use JavaScript instead<br />Pay attention to size<br />Remove references<br />Compress images<br ...
Case Studysharepoint.microsoft.com<br />
SharePoint.microsoft.com<br />Challenge<br />Improve performance for microsoft.com site<br />High traffic, no downtime<br ...
SharePoint.Microsoft.com<br />Aptimize<br />First View<br />Repeat View<br />Aptimize<br />
Aptimize Website Accelerator<br />Aptimize software automates best practices for browser load times<br />35<br />
WAX Feature Summary<br />36<br />JavaScript<br /><ul><li> Remove duplicate files
 Minify and shrink
 Gzip compress
 Merge into fewer files
 Reorder for faster loading</li></ul>Caching<br /><ul><li> Server caching
ETag removal
Upcoming SlideShare
Loading in …5
×

Accelerate SharePoint 2007 and 2010 websites and intranets mike iem - aptimize

1,865 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,865
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
51
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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/
  • Accelerate SharePoint 2007 and 2010 websites and intranets mike iem - aptimize

    1. 1. Presented to you by Epok and Aptimize<br />Accelerate SharePoint 2007 and 2010 Websites and Intranets<br />Mike Iem<br />Business Manager<br />Aptimize<br />mike.iem@aptimize.com<br />Ed Robinson<br />CEO<br />Aptimize<br />
    2. 2. About Epok<br />Oscar Fuster – VP of Marketing<br />Leader in SharePoint Extranet Market<br />Headquartered in Bethesda, MD<br />Epok Edition for Microsoft SharePoint <br />Enterprise Customers include:<br />Financial Services<br />Government/Military<br />Pharmaceutical<br />Health Care<br />Legal<br />
    3. 3. About Aptimize<br />Ed Robinson, CEO and Founder<br />Leader in IIS, SharePoint, and Linux Performance<br />Headquartered in Wellington, New Zealand<br />SharePoint Accelerator<br />Customers include Google, Microsoft, Northrop Grumman, Raytheon, Ingram Micro and many others<br />
    4. 4. Agenda<br />SharePoint Server Specific Performance<br />You have 7 seconds<br />Performance Methodology<br />Top 10 Tips for Website Speed<br />Quick Reference<br />Case Study: sharepoint.microsoft.com<br />Resources<br />
    5. 5. Top SharePoint Server Perf Killers<br />Indexing/Crawling<br />Backup (SQL & Tape)<br />Profile Import<br />Users - Inefficient views (Throttling in 2010 helps)<br />Timer Jobs – i.e. User Sync for large #s of Users<br />Poor Storage Configuration<br />STSADM Backup/Restore (Replace with third party or 2010 unattached recovery)<br />Large List Operations Delete/Update<br />Network Saturation/Congestion such as Streaming Video<br />Misconfigured Network<br />Joel Oleson SharePoint Server Performance Presentation at: http://www.aptimize.com/blog/webinar-sharepoint-admins<br />
    6. 6. You Have 7 Seconds<br />You have seven seconds to make an impact<br />Engage interest, or leave forever<br />Slower sites loose customers<br />google.com<br />100 ms delay = 20% less searches<br />shopzilla.com: <br />25% reduction in load time<br />7%-12% revenue increase<br />findsomeone.co.nz<br />25% reduction in load time<br />13% more clicks per visitor<br />Google recently announced that speed will affect search rankings<br />Fortune 500 Speeds http://www.aptimize.com/Upload/docs/fortune.pdf#zoom=75<br />
    7. 7. Performance Methodology<br />Methodology<br />Goal: 7 seconds or less<br />Measure<br />Improve<br />Measure<br />What can we change?<br />Hardware<br />Platform<br />Application<br />
    8. 8. Understanding Website Speed<br />Waterfall Diagram<br />Breaks down page load<br />Shows everything to load the page<br />Create diagram using<br />WebPageTest<br />Fiddler<br />
    9. 9. Sample Waterfall Diagram<br />Server vs. Client time<br />
    10. 10. Sample Waterfall Diagram<br />Server vs. Client time<br />
    11. 11. Sample Waterfall Diagram<br />Server vs. Client time<br />
    12. 12. Sample Waterfall Diagram<br />Server vs. Client time<br />
    13. 13. How Fast Is Your Website?<br />FREE tool: www.webpagetest.org<br />Waterfall diagram shows server/browser processing<br />20% Server processing<br />80% Browser processing<br />
    14. 14. DEMO: measurement tools<br />Webpage Test - www.Wepagetest.orgFiddler – www.fiddler2.com<br />Aptimize Site Analyzer Tool – email mike.iem@aptimize.com<br />
    15. 15. Top 10 Tips<br />
    16. 16. 1: Hardware + Platform<br />Buy good hardware<br />Dedicated SQL Server<br />Web Cluster<br />SCSI RAID<br />Lots of RAM<br />Multiple CPUs<br />SQL Server<br />Sizing + tuning + indexing<br />Blob cache<br />Warning: No secrets here<br />Goal: Server processing < 1 second<br />
    17. 17. 2. Far-Future Expires<br />Reduce repeat-view load times 50%+ <br />Browser caches resources<br />Doesn’t check again until expiry<br />Reduces HTTP requests 90%<br />Challenge: Refreshing changes<br />Code: Add This HTTP Header to eachresource<br />Expires:Wed, 13 Oct 2010 04:02:35 GMT<br />
    18. 18. 3. Gzip Compression<br />Reduce first view load time 30%-40%<br />Reduces size:<br />HTML<br />JavaScript<br />StyleSheets<br />No effect on images: (JPEG, PNG, GIF)<br />Check for HTTP request header<br />Accept-Encoding: gzip, deflate<br />
    19. 19. 4. Optimize JavaScript <br />Reduce load time 7%-10%<br />Merge JavaScript files into single file<br />Shrink JavaScript<br />Remove comments<br />Remove whitespace<br />Challenges:<br />Preserving functionality<br />Maintenance<br />
    20. 20. 5. Optimize StyleSheets<br />Reduce start render up to 75%<br />Merge StyleSheets into single file<br />Shrink CSS in StyleSheet<br />Place StyleSheet at beginning of HTML<br />Page render starts after all StyleSheets are loaded<br />Challenges:<br />Maintenance<br />
    21. 21. 6. Image Sprites<br />Reduce load 5%-15%<br />Merge images into multi-image sprite<br />Change HTML to use sprite<br />HTTP requests reduced<br />Challenges: <br />Maintaining the sprite<br />Changing HTML<br />
    22. 22. 7. Image Inlining<br />Reduce load times 1%-10%<br />Base64 encode CSS background images<br />Embed encoded data into CSS file<br />Reduces HTTP requests<br />Challenges<br />Maintainability<br />Browser compatibility<br />
    23. 23. 8. Reduce external references<br />Reduce ads and syndication<br />Ads <br />YouTube videos<br />Links to external sites<br />Each link opens a new connection<br />Each increases load time ≈ 0.5 seconds<br />Solution:<br />Load at the end of page<br />Load in an iframe<br />
    24. 24. 9. Flash and Silverlight<br />Don’t use<br />Flash on home page<br />Silverlight on home page<br />Both add<br />Load time<br />Start render time<br />LOADING… 15%<br />
    25. 25. 10. Security<br />Use Kerberos instead of NTLM<br />Reduces HTTP 401 network traffic <br />Requires extra configuration in AD <br />Only use SSL where you really need it<br />Consumes CPU cycles<br />Content not cacheable<br />
    26. 26. TOP 3 Rules<br />
    27. 27. Rule 1: Compress Everything<br />Load times reduced 30%. On the Web, Smaller is Better.<br />
    28. 28. Rule 2: Merge Files<br />
    29. 29. Merge Files - Results<br />Before<br />After<br />50% reduction<br />Load times reduced 20%. On the Web, Less is More<br />
    30. 30. Rule 3: Increase Caching<br />Cache static resources on browser to speed up repeat views<br />Before<br />After<br />Repeat view load time reduced from 4.5 to 1.9 seconds<br />
    31. 31. Silverlight + Flash<br />Use JavaScript instead<br />Pay attention to size<br />Remove references<br />Compress images<br />Don’t embed videos<br />
    32. 32. Case Studysharepoint.microsoft.com<br />
    33. 33. SharePoint.microsoft.com<br />Challenge<br />Improve performance for microsoft.com site<br />High traffic, no downtime<br />Applied Methodology<br />Used 10 techniques<br />Results<br />> 50% reduction in load time<br />"The improvement in page loading time is tremendous." <br />Tony Tai, Product Manager, Microsoft Corporation<br />
    34. 34. SharePoint.Microsoft.com<br />Aptimize<br />First View<br />Repeat View<br />Aptimize<br />
    35. 35. Aptimize Website Accelerator<br />Aptimize software automates best practices for browser load times<br />35<br />
    36. 36. WAX Feature Summary<br />36<br />JavaScript<br /><ul><li> Remove duplicate files
    37. 37. Minify and shrink
    38. 38. Gzip compress
    39. 39. Merge into fewer files
    40. 40. Reorder for faster loading</li></ul>Caching<br /><ul><li> Server caching
    41. 41. ETag removal
    42. 42. Add far future expires
    43. 43. URL auto versioning
    44. 44. Automatic refresh of caches</li></ul>StyleSheets<br /><ul><li> Remove duplicate files
    45. 45. Minify and shrink
    46. 46. Gzip compress
    47. 47. Merge into fewer files
    48. 48. Reorder for faster loading</li></ul>Browser<br /><ul><li> Browser specific optimizations
    49. 49. Search engine aware
    50. 50. Increase YSlow/PageSpeed grades</li></ul>Scalability<br /><ul><li> Single server or load balanced
    51. 51. Increases throughput 40%
    52. 52. Adds 2%-8% CPU load
    53. 53. “Do no harm” throttle</li></ul>Images<br /><ul><li> Resample large JPGs
    54. 54. Merge into spritesets
    55. 55. Inline CSS background images</li></li></ul><li>Next Steps<br />Website speed is front and center now<br />Faster Websites mean more business<br />Steps: <br />Measure your site now<br />Apply 10 steps<br />Measure your site<br />Get connected to blogs, Linked-in, Twitter<br />
    56. 56. Aptimize Website Accelerator<br />Test your speed now<br />www.webpagetest.org<br />Site Analyzer Tool <br />email mike.iem@aptimize.com<br />Aptimize Blog<br />http://www.aptimize.com/blog<br />Twitter<br />http://twitter.com/aptimize<br />Spoint.me (SharePoint Social Network)<br />http://spoint.me/groups/sharepoint-performance/<br />Mike Iem – 425-605-4148<br />USA Contact: mike.iem@aptimize.com  <br />Outside USA: aaron.bellingham@aptimize.com<br />Presentation: www.slideshare.net/aptimize<br />
    57. 57. Resources<br />
    58. 58. Question and Answer<br />
    59. 59. Required Slide<br />Contact Information:<br />Oscar Fuster<br />Epok Inc<br />oscar.fuster@epok.net<br />301-768-8454<br />Mike Iem<br />Aptimize<br />Mike.iem@aptimize.com<br />425-605-4148<br />

    ×