Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LDNWebPerf April 2016 - Andrew Neilson

LDNWebPerf April 2016 - Andrew Neilson

How PerfOps revolutionized performance at Marks & Spencer

More Decks by London Web Performance Group

Other Decks in Technology

Transcript

  1. March 2014: M&S.com begins transition to agile M&S.com launches Feb

    2014 Mar 2014 Good news… DevOps key to enabling success for continuous integration Agile transition commences
  2. April 2014: Head up Performance Engineering M&S.com launches Feb 2014

    Mar 2014 Apr 2014 Move to Performance Engineering Agile transition commences
  3. April 2014: Head up Performance Engineering M&S.com launches Feb 2014

    Mar 2014 Apr 2014 Move to Performance Engineering Shape performance for .com Agile transition commences
  4. Summer 2014: Performance Engineering as-is M&S.com launches Feb 2014 Mar

    2014 Apr 2014 May - Sep 2014 Move to Performance Engineering Prepare for Peak 2014 Agile transition commences Ready for Peak 2014
  5. End of September 2014: Performance Engineering ensures M&S.com website should

    be stable for Peak! M&S.com launches Feb 2014 Mar 2014 Apr 2014 May - Sep 2014 Move to Performance Engineering Prepare for Peak 2014 Agile transition commences Go for Peak 2014
  6. End of September 2014: Performance Engineering ensures M&S.com website should

    be stable for Peak! M&S.com launches Feb 2014 Mar 2014 Apr 2014 May - Sep 2014 Move to Performance Engineering Prepare for Peak 2014 Agile transition commences Go for Peak 2014 but…
  7. Transition to agile performance capability pending A full end to

    end view of web performance was required Need more insight into speeds our customer was experiencing?
  8. 1. What does performance mean for a .com business? 2.

    How does traditional performance engineering become agile? Research Oct 2014
  9. Speed is key to meet customer expectations and therefore… Speed

    is key to generating revenue opportunities
  10. A

  11. A B

  12. Browser CDN Request Render Page A B Web Server Web

    Application Order Management Response Generate Response
  13. Browser CDN Request Render Page A B Web Server Web

    Application Order Management Response Generate Response NFR NFR
  14. Browser CDN Request Render Page A B Web Server Web

    Application Order Management Response Generate Response Parent Transaction Child Transaction
  15. Start Render or First Paint? How quickly do we engage

    our customers? What is the definition of B?
  16. What is the definition of B? Something bespoke? User timing

    & custom metrics! Steve Souders: https://speedcurve.com/blog/user-timing-and-custom-metrics/
  17. Browser CDN Request Response Generate Response Render Page A B

    ~90% offload Real User Measurements Synthetic Measurements
  18. Browser CDN Request Render Page A B Web Server Web

    Application Order Management Response Generate Response ~10% calls to origin
  19. Browser CDN Request Render Page A B Web Server Web

    Application Order Management Response Generate Response APM ~10% calls to origin
  20. Browser CDN Request Render Page A B Web Server Web

    Application Order Management Response Generate Response ~10% calls to origin
  21. Store Device Integration Request Process Response A B Backend System

    1 Not just a .com opportunity! Backend System 1 Backend System 2 Message Process Message A B
  22. We must test A to B through delivery DevOps tools

    / processes enable us to validate build on build release on release
  23. We must test A to B through delivery DevOps tools

    / processes enable us to validate build on build release on release Enforce one basic DoD: never get slower!
  24. Design Build Test Analysis Automated performance test capability Product Idea

    V&P Test Optimisation recommendations from PerfOps back-log (analysis & diagnostics)
  25. Design Build Test Analysis Product Idea V&P Test Automated page

    speed test capability Automated performance test capability Automated performance budget test capability Optimisation recommendations from PerfOps back-log (analysis & diagnostics)
  26. Design Build Test Analysis Product Idea V&P Test Future plans…

    Performance by Design including UX guidelines Automated page speed test capability Automated performance test capability Automated performance budget test capability Optimisation recommendations from PerfOps back-log (analysis & diagnostics)
  27. Design Build Test Analysis Product Idea V&P Test Automated page

    speed test capability Automated performance test capability Automated performance budget test capability ? Future plans… Performance by Design including UX guidelines Optimisation recommendations from PerfOps back-log (analysis & diagnostics)
  28. Checkpoint:  What to measure  How to monitor what

    we measure  How to test what we measure
  29. How do we action what we measure? Our next challenges…

    We have insight, who else needs it?
  30. Our next challenges… What will they do with this insight?

    We have insight, who else needs it? How do we action what we measure?
  31. Basic diagnostics can identify plenty of low hanging fruit Use

    of waterfalls to identify optimisations
  32. Simple but powerful ways to communicate how good we are

    (or not) Competitor benchmarking & analysis
  33. Lots of insight but how do we get everyone to

    buy into it? We had a breakthrough!
  34. PerfOps contacted to see if we could help Majority of

    feedback called out “site is slow”
  35. If we turned off third party content we be 50%

    faster This does not help the business Third party content must be and can be controlled
  36. Request map visualisation brings to life the impact… and improvements!

    Request maps by Simon Hearne: http://requestmap.webperf.tools/
  37. Speed must be a priority Impact to speed must be

    monitored Optimisations can also be made by Business not just IT
  38. Maturing Site Speed Analytics There are a lot of studies

    available that highlight why speed is important to retailers in particular. Doing your own study is much more interesting!
  39. • Correlation to single page visits and customer satisfaction •

    How speeds influence SEO and Marketing • Impact v benefit of personalisation and third party tags • Identifying what we cannot control Site Speed Analytics
  40. Site Speed Analytics Product List Product List The colour of

    the boxes denotes the relative page load whilst the size denotes the weight of the page. M&S has decreased in size and page load, whilst competitors show no improvement A B C D D C A B
  41. Optimisations based on metric driven decisions Business focused metrics ensure

    optimisation priority M&S.com is now 37% faster than it was 8 months ago Site Speed Analytics
  42. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests The PerfOps Journey…
  43. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log The PerfOps Journey…
  44. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement The PerfOps Journey…
  45. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement The PerfOps Journey…
  46. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement Front-end diagnostics The PerfOps Journey…
  47. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement Front-end diagnostics More Optimisation Back log The PerfOps Journey…
  48. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement Front-end diagnostics More Optimisation Back log Site Speed Dashboards The PerfOps Journey…
  49. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement Front-end diagnostics More Optimisation Back log Site Speed Dashboards Third party Governance The PerfOps Journey…
  50. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement Front-end diagnostics Third party Governance More Optimisation Back log Site Speed Dashboards Site Speed Consultancy The PerfOps Journey…
  51. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement Front-end diagnostics Third party Governance More Optimisation Back log Site Speed Dashboards Site Speed Consultancy Speed Forums The PerfOps Journey…
  52. VP Testing Back-end monitoring Optimisation Back logs Back-end diagnostics Automated

    VP Automated Speed Tests Automated Budget Tests More Optimisation Back log Real User Measurement Synthetic Measurement Front-end diagnostics Third party Governance More Optimisation Back log Site Speed Dashboards Site Speed Consultancy Performance Transactions Speed Forums The PerfOps Journey…
  53. What next… Performance by Design Business Guidelines Site Speed Analytics

    Mature Capability Performance Budgets Performance must be everywhere