• Save
Web Performance Monitoring Tales
Upcoming SlideShare
Loading in...5
×
 

Web Performance Monitoring Tales

on

  • 1,629 views

Catchpoint systems

Catchpoint systems
Web Performance Monitoring
WPO Overview
Monitoring Overview
When things go wrong on the internet

Statistics

Views

Total Views
1,629
Views on SlideShare
953
Embed Views
676

Actions

Likes
1
Downloads
2
Comments
0

7 Embeds 676

http://blog.catchpoint.com 650
http://www.linkedin.com 17
https://www.linkedin.com 4
url_unknown 2
http://translate.googleusercontent.com 1
http://www.thesearchengine.net 1
http://www.slashdocs.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Web Performance Monitoring Tales Web Performance Monitoring Tales Presentation Transcript

  • 5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    Web Performance Monitoring Tales
    The 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 business
    Not good for brands
    Not good for end users
    Not good for IT
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    2
    Welcome and Thank you!
  • WPO Best Practices
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    3
    Low 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 Sprite
    More Complex:
    • Outclip, ControlJS… Asynchronously loading JS / Lazy Loading
  • WPO Applied
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    4
  • WPO Applied – It works!!!
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    5
  • Using a CDN improves East Coast Times
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    6
    Introduction of CDN
  • 80 / 20 Rule
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    7
    Steve 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!
  • Monitoring
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    8
    DB monitoring
    RUM
    External Monitoring
    Internal Monitoring
    Network
  • Monitoring
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    9
  • Collection of Plumbing Tales
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    10
  • My site is down … HELP!!!!
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    11
    100 % Downtime
  • My site is down … HELP!!!!
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    12
    Varnish issuing 302 to cyber-drain
    100 % Downtime
  • Clogged Internet Tube?
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    13
  • Clogged Internet Tube?
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    14
    Latency increase
  • Clogged Internet Tube?
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    15
    Latency Increase by 100 ms
  • What !@&(&@# is happening?
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    16
    20 % Packet loss
  • DNS huh? What is DNS?
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    17
    Adserving company has performance & discrepancies issues…
    DNS Provider Change
  • DNS huh? What is DNS?
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    18
    Adserving company has performance & discrepancies issues… Moved to another DNS provider!
    DNS Provider Change
  • Midnight call with Customer…Houston we have a problem!
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    19
    New Load Balancer Config – Loss of Stickiness
  • Impossible… I can not have downtime
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    20
    CDN handing over Dead
    NS server
  • Web Site Performance X2. Why?
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    21
  • Oops … bad httpd.conf file
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    22
    Apache configuration!
    No More Keep Alives
  • Why am I seeing spikes…?let’s see under the hood…
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    23
  • Why am I seeing spikes…?let’s see under the hood…
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    24
    Database Slowness
    impacts user experience
  • External Monitoring
    5/18/11
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    25
    Simulates End User activity
    Measures the end to end transaction
    Continuous, 24x7
    Detect anomalies
    Track performance degradations / improvements over time
    Measures every Component
  • Monitoring Best Practices
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    26
    Monitor VS Measure:
    • Monitor: High Frequency (Up / Down)
    • Measure: High Fidelity (30-60 Minutes / Browser based or good Emulation)
    Monitor every Component:
    • Setup monitoring for every key provider / hostname
    • DNS
    • Origin servers
    • if Multiple datacenters, monitor them individually
    Baseline very often, track improvement or degradation
    Keep an eye on performance during critical business hours (Volume)
    Review Daily / Weekly
    Alerts on % Delta
  • CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    27
    Toolbox
  • Toolbox
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    28
    Standalone
    • Chrome – Developer tool
    • IE 9 – Developer tool
    • Fiddler
    • HTTPWatch
    • Yslow
    • Dynatrace
    • Wireshark
    • Firebug
    • Dig for DNS
    • MTR (Matt traceroute)
    Online:
    • WebPageTest
    • Google Page speed (http://pagespeed.googlelabs.com/)

  • Closing the Loop
    CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    29
    Rule #1:
    You can't improve what you can't measure.
    Monitor Action Plan  Optimize Monitor… do it again
    Rule #2:
    It isn’t over till it’s over.
    And it’s never over.
  • CATCHPOINT SYSTEMS . CONFIDENTIAL . © 2011 . ALL RIGHTS RESERVED
    30
    THANK YOU.
    http://blog.catchpoint.com
    @catchpoint