Turning Your Website Performance to 11

  • 1,241 views
Uploaded on

Talk presented at Confoo 2011 about performance, technologies, when to optimize, and some broad ideas about how to go about it.

Talk presented at Confoo 2011 about performance, technologies, when to optimize, and some broad ideas about how to go about it.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,241
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
26
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Turning your web performance to 11
    Newman Scott Hunter
    http://driftlogic.net - @nshunter – scott@driftlogic.net
  • 2.
  • 3. Faster websites make more money.
  • 4. Source: http://www.slideshare.net/bitcurrent/impact-of-web-latency-on-conversion-rates
  • 5. Loading Times @ 4 Seconds,
    75% of users will not choose to return to the site.
    Source: http://www.eugeneloj.com/2006/12/the_user_attent.html
  • 6. Perception of Performance
    User Happyness
    Time
    @ 100 ms
    “Okay, I did something.”
    .
    .
    .
    @ 1000 ms
    “Okay, I’m waiting for it to load”
    @ 10000 ms
    “This site is F-ing SLOW.”
    Source: http://www.useit.com/papers/responsetime.html
  • 7. Do I have a problem?
  • 8. Assessing Performance
    Firebug
  • 9.
  • 10. Assessing Performance
    http://webpagetest.org
  • 11.
  • 12.
  • 13. Site’s Slow
    Problem?
  • 14. Where’s the Problem?
    Front End
    • Images
    • 15. CSS / Javascript / HTML
    • 16. Flash / Video / Rich Media
    • 17. Headers / Cookies
    Back End
    • PHP / Python / Ruby / Java / etc.
    • 18. Database
    • 19. Caching
    • 20. Asset Service
  • Front End Issues
    First Stop: Firebug
    • Do we need everything on this page?
    • 21. Video
    • 22. Flash
    • 23. Multiple Images
    • 24. AJAX / Extraneous JS
    Kongregate Front Page: 1.2 MB
    VS
    Kongregate Game Page: 5.3 MB
  • 25. Front End Issues
    http://developer.yahoo.com/yslow/
    http://code.google.com/speed/page-speed/
  • 26.
  • 27.
  • 28. Apache Header Fix
  • 29. Back End Problems
  • 30. How do I know if I’m overloaded?
  • 31. Overloaded Server
  • 32. Munin Network Monitoring
  • 33. Monitoring Services
    Open Source Free!
    http://munin-monitoring.org/
    Not Free! But Awesome.
    http://cloudkick.com
  • 34. How do I FIND my problem / bottleneck ?
  • 35. Application Layer Monitoring
  • 36. Fixing Problems
    Problem
    High Load / Multiple Assets / Large Database / etc..
    Solution
    Pay your way out.
    • More hardware
    • 37. Switch from Cloud to Physical
    • 38. Integrate a CDN
    • 39. Increase Pipe
  • Fixing Problems
    Problem
    Multiple Queries / Large Datasets / Multiple Large Assets
    Solution
    Add Additional Caching
    Application Layer
    Presentation Layer
    CDN
  • 40. Fixing Problems
    Problem
    Slow Search / Large Search Dataset
    Solution
    Use a Search Appliance
  • 41. Fixing Problems
    Problem
    Code Efficiency / Application Size / Language Issues
    Solution
    Code Refactoring
    Change Runtime Environment / Application Server
    Rewrite
  • 42. Chasing the Unicorn
  • 43. Thank You
    Newman Scott Hunter
    http://driftlogic.net - @nshunter – scott @driftlogic.net