SlideShare a Scribd company logo
5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVEDWeb Performance Monitoring TalesThe Internet, A Series of Tubes…Mehdi Daoudi – CEO Catchpoint Systems – mehdi@catchpoint.com
We all want to make web sites load faster!Performance is the 5th P of the Marketing Mix, Performance is a Business Differentiator!Bad performance: Not good for businessNot good for brandsNot good for end usersNot good for IT5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED2Welcome and Thank you!
WPO Best PracticesCATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED3Low Effort:Reduce # HTTP requests if possible 
Use a CDN (Edgecast, Cotendo, Akamai, Cdnetworks, NetDNA)
Domain Sharding
HTTP 1.1 Keep Alives (and make sure it is working!)
Gzip CSS and JS
Audit your CDN, make sure the right headers are in place at your origin server!
Audit your Web front end servers to ensure Gziping, Keep Alives
Caching : Expire Headers / Public for CDN to ensure Cache-ability
Remove ETAGS
Chunked transfer encoding	Medium Effort:CSS @ the Top
JS at the bottom
Minify JS and CSS
Optimize images
CSS SpriteMore Complex:Outclip, ControlJS… Asynchronously loading JS / Lazy LoadingWPO Applied5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED4
WPO Applied – It works!!!5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED5
Using a CDN improves East Coast Times5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED6Introduction of CDN
80 / 20 Rule5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED7Steve Souders:“80% of the end-user response time is spent on the front-end. Start there.”Well when things go wrong it’s more like 20 / 80!
Monitoring5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED8DB monitoringRUMExternal MonitoringInternal MonitoringNetwork
Monitoring5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED9
Collection of Plumbing Tales5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED10
My site is down … HELP!!!!5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED11100 % Downtime
My site is down … HELP!!!!5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED12Varnish issuing 302 to cyber-drain100 % Downtime
Clogged Internet Tube? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED13
Clogged Internet Tube? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED14Latency increase
Clogged Internet Tube? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED15Latency Increase by 100 ms
What !@&(&@# is happening?5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED1620 % Packet loss
DNS huh? What is DNS? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED17Adserving company has performance & discrepancies issues… DNS Provider Change
DNS huh? What is DNS? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS  RESERVED18Adserving company has performance & discrepancies issues… Moved to another DNS provider! DNS Provider Change

More Related Content

PDF
Catchpoint Presents at Under the Radar 2013
PPTX
NY Web Perf Meetup: Peeling the Web Performance Onion
PPTX
Asp.net exception reporter
PDF
Managing and Monitoring Application Performance
PPTX
AP Takeover Attacks
PPTX
Exploiting MS15-034 In PowerShell
PPTX
WebSockets On Fire
Catchpoint Presents at Under the Radar 2013
NY Web Perf Meetup: Peeling the Web Performance Onion
Asp.net exception reporter
Managing and Monitoring Application Performance
AP Takeover Attacks
Exploiting MS15-034 In PowerShell
WebSockets On Fire

Viewers also liked (20)

PPTX
Where There's Smoke: Stories From DevOps Firefighters
PPTX
Mastering Disasters - Velocity Ignite 2013 New York
PDF
Webműves Kelemen tanácsai, avagy mi kell a PHP falába?
PPTX
Linkedin
PPT
Evaluasi
PPTX
Presentazione retica 2012
PDF
By the Numbers - Book Summit 2013 - Toronto
PPTX
Octubre[1]
PPTX
Seminário "Ajuste Fiscal e os Direitos Sociais"
PPTX
Internet bijak
PDF
Looa-productenmatrix
PDF
Energy
PPTX
1r projecte curs 15-16
DOC
Gramatica resumo
DOCX
España
PPTX
Summer at Cal Lutheran
PPSX
Turkey
PDF
GH and American Legacy Foundation
PPT
Razvoj i prezentacija na proekt
PPT
About the word "Nigthmare"
Where There's Smoke: Stories From DevOps Firefighters
Mastering Disasters - Velocity Ignite 2013 New York
Webműves Kelemen tanácsai, avagy mi kell a PHP falába?
Linkedin
Evaluasi
Presentazione retica 2012
By the Numbers - Book Summit 2013 - Toronto
Octubre[1]
Seminário "Ajuste Fiscal e os Direitos Sociais"
Internet bijak
Looa-productenmatrix
Energy
1r projecte curs 15-16
Gramatica resumo
España
Summer at Cal Lutheran
Turkey
GH and American Legacy Foundation
Razvoj i prezentacija na proekt
About the word "Nigthmare"
Ad

Similar to Web Performance Monitoring Tales (20)

PPTX
DevOps monitoring: Feedback loops in enterprise environments
PDF
Real World Problem Solving Using Application Performance Management 10
PPTX
Developer To Architect
PPTX
PDF
STATUS UPDATE OF COLO PROJECT XIAOWEI YANG, HUAWEI AND WILL AULD, INTEL
PDF
New Relic Infrastructure - New Integrations For Smarter and Faster Cloud Adop...
PPTX
Ejecución de sizer para SimpliVity Partners
PDF
Presentazione SimpliVity @ VMUGIT UserCon 2015
PDF
Building A System That Never Stops [FutureStack16 NYC]
PDF
iperfTZ: Understanding Network Bottlenecks for TrustZone-based Applications
PPTX
Advanced Strategies for Testing Responsive Web
PDF
Using containerization to enable your microservice architecture
PDF
The impact of IOT - exchange cala - 2015
PPTX
Kafka at Peak Performance
PDF
XPDS13: Performance Optimization on Xen-based Android Device - Jack Ren, Inte...
PDF
The Cloud Native Journey
PPT
How to Plan for Line Controls and Integration
PDF
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
PPTX
Gain Meaningful Insights to Production by Associating Multiple Data Sources
PDF
Maitrisez l'évolution de vos infrastructures avec ViPR SRM & Controller
 
DevOps monitoring: Feedback loops in enterprise environments
Real World Problem Solving Using Application Performance Management 10
Developer To Architect
STATUS UPDATE OF COLO PROJECT XIAOWEI YANG, HUAWEI AND WILL AULD, INTEL
New Relic Infrastructure - New Integrations For Smarter and Faster Cloud Adop...
Ejecución de sizer para SimpliVity Partners
Presentazione SimpliVity @ VMUGIT UserCon 2015
Building A System That Never Stops [FutureStack16 NYC]
iperfTZ: Understanding Network Bottlenecks for TrustZone-based Applications
Advanced Strategies for Testing Responsive Web
Using containerization to enable your microservice architecture
The impact of IOT - exchange cala - 2015
Kafka at Peak Performance
XPDS13: Performance Optimization on Xen-based Android Device - Jack Ren, Inte...
The Cloud Native Journey
How to Plan for Line Controls and Integration
HTTP colon slash slash: end of the road? @ CakeFest 2013 in San Francisco
Gain Meaningful Insights to Production by Associating Multiple Data Sources
Maitrisez l'évolution de vos infrastructures avec ViPR SRM & Controller
 
Ad

Recently uploaded (20)

PPTX
cloud_computing_Infrastucture_as_cloud_p
PPT
Teaching material agriculture food technology
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
cloud_computing_Infrastucture_as_cloud_p
Teaching material agriculture food technology
TLE Review Electricity (Electricity).pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
A Presentation on Artificial Intelligence
Diabetes mellitus diagnosis method based random forest with bat algorithm
Reach Out and Touch Someone: Haptics and Empathic Computing
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation_ Review paper, used for researhc scholars
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
A comparative study of natural language inference in Swahili using monolingua...
Network Security Unit 5.pdf for BCA BBA.
Heart disease approach using modified random forest and particle swarm optimi...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Programs and apps: productivity, graphics, security and other tools
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Digital-Transformation-Roadmap-for-Companies.pptx

Web Performance Monitoring Tales

  • 1. 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVEDWeb Performance Monitoring TalesThe Internet, A Series of Tubes…Mehdi Daoudi – CEO Catchpoint Systems – mehdi@catchpoint.com
  • 2. We all want to make web sites load faster!Performance is the 5th P of the Marketing Mix, Performance is a Business Differentiator!Bad performance: Not good for businessNot good for brandsNot good for end usersNot good for IT5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED2Welcome and Thank you!
  • 3. WPO Best PracticesCATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED3Low Effort:Reduce # HTTP requests if possible 
  • 4. Use a CDN (Edgecast, Cotendo, Akamai, Cdnetworks, NetDNA)
  • 6. HTTP 1.1 Keep Alives (and make sure it is working!)
  • 8. Audit your CDN, make sure the right headers are in place at your origin server!
  • 9. Audit your Web front end servers to ensure Gziping, Keep Alives
  • 10. Caching : Expire Headers / Public for CDN to ensure Cache-ability
  • 12. Chunked transfer encoding Medium Effort:CSS @ the Top
  • 13. JS at the bottom
  • 16. CSS SpriteMore Complex:Outclip, ControlJS… Asynchronously loading JS / Lazy LoadingWPO Applied5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED4
  • 17. WPO Applied – It works!!!5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED5
  • 18. Using a CDN improves East Coast Times5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED6Introduction of CDN
  • 19. 80 / 20 Rule5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED7Steve Souders:“80% of the end-user response time is spent on the front-end. Start there.”Well when things go wrong it’s more like 20 / 80!
  • 20. Monitoring5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED8DB monitoringRUMExternal MonitoringInternal MonitoringNetwork
  • 21. Monitoring5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED9
  • 22. Collection of Plumbing Tales5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED10
  • 23. My site is down … HELP!!!!5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED11100 % Downtime
  • 24. My site is down … HELP!!!!5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED12Varnish issuing 302 to cyber-drain100 % Downtime
  • 25. Clogged Internet Tube? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED13
  • 26. Clogged Internet Tube? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED14Latency increase
  • 27. Clogged Internet Tube? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED15Latency Increase by 100 ms
  • 28. What !@&(&@# is happening?5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED1620 % Packet loss
  • 29. DNS huh? What is DNS? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED17Adserving company has performance & discrepancies issues… DNS Provider Change
  • 30. DNS huh? What is DNS? 5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED18Adserving company has performance & discrepancies issues… Moved to another DNS provider! DNS Provider Change
  • 31. Midnight call with Customer…Houston we have a problem!5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED19New Load Balancer Config – Loss of Stickiness
  • 32. Impossible… I can not have downtime5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED20CDN handing over Dead NS server
  • 33. Web Site Performance X2. Why?5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED21
  • 34. Oops … bad httpd.conf file5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED22Apache configuration!No More Keep Alives
  • 35. Why am I seeing spikes…?let’s see under the hood…5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED23
  • 36. Why am I seeing spikes…?let’s see under the hood…5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED24Database Slownessimpacts user experience
  • 37. External Monitoring5/18/11CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED25Simulates End User activityMeasures the end to end transactionContinuous, 24x7Detect anomaliesTrack performance degradations / improvements over timeMeasures every Component
  • 38. Monitoring Best PracticesCATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED26Monitor VS Measure:Monitor: High Frequency (Up / Down)
  • 39. Measure: High Fidelity (30-60 Minutes / Browser based or good Emulation)Monitor every Component:Setup monitoring for every key provider / hostname
  • 40. DNS
  • 42. if Multiple datacenters, monitor them individuallyBaseline very often, track improvement or degradationKeep an eye on performance during critical business hours (Volume)Review Daily / WeeklyAlerts on % Delta
  • 43. CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED27Toolbox
  • 44. ToolboxCATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED28StandaloneChrome – Developer tool
  • 45. IE 9 – Developer tool
  • 48. Yslow
  • 54. Google Page speed (http://pagespeed.googlelabs.com/)
  • 55. Closing the LoopCATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED29Rule #1: You can't improve what you can't measure. Monitor Action Plan  Optimize Monitor… do it againRule #2:It isn’t over till it’s over. And it’s never over.
  • 56. CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED30THANK YOU.http://blog.catchpoint.com@catchpoint