Your SlideShare is downloading. ×
0
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
High Performance WordPress
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

High Performance WordPress

23,664

Published on

High performance WordPress presentation from WordCamp 2007 by Barry Abrahamson and Matt Mullenweg

High performance WordPress presentation from WordCamp 2007 by Barry Abrahamson and Matt Mullenweg

Published in: Technology
5 Comments
27 Likes
Statistics
Notes
No Downloads
Views
Total Views
23,664
On Slideshare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
535
Comments
5
Likes
27
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. High Performance WordPress Barry Abrahamson Matt Mullenweg July 22, 2007 WordCamp 2007 – San Francisco, CA
  • 2. The Problem
    • Serve as many users as possible with a reasonable amount of resources
  • 3. Un-tuned LAMP Stack
    • Linux, Apache 2, PHP 4 or 5, MySQL 4.1 or 5.0
    • 8 requests/sec
    • 691,200 pageviews/day
    • Enough for > 99% WP installations
  • 4. Alternative PHP Cache (APC)
    • http://pecl.php.net/package/APC
    • 12 requests/second
    • 1,036,800 pageviews/day
    • 50% performance increase
  • 5. WP-Cache
    • http://mnm.uib.es/gallir/wp-cache-2/
    • 300 requests/sec
    • 25,920,000 pageviews/day
    • 25x increase!!!!!
    • Possible gotcha
      • http://markjaquith.wordpress.com/2006/02/13/adventures-with-wp-cache2-apc/
  • 6. Apache Alternatives
    • High concurrency
    • Majority (90%) of requests on a page are static
    • Litespeed, lighttpd, apache + fcgi, proxy
  • 7. PHP 5 – Just for fun
    • Same as PHP 4 without APC
    • Same as PHP 4 with APC 3.0.14
    • Using APC from CVS, PHP5 is 15% faster than PHP4
  • 8. When one isn’t enough
    • Move the database to a second server (or 50)
    • HyperDB
    • Load balancing
  • 9. HyperDB
  • 10. Load Balancing
    • Hardware or software?
    • Pound
      • http://www.apsis.ch/pound/
    • Thousands of requests/sec
    • Layer 7
  • 11. Caching
    • Memcache
      • http:// www.danga.com/memcached /
    • Varnish
      • http:// varnish.linpro.no
    • WP-Cache alternatives
  • 12. WordPress.com
    • Over 1.2 million blogs
    • 10+ million pageviews/day (dynamic)
    • 40+ million hits/day (static + dynamic)
    • 7,000+ database queries/second
    • 80,000+ memcache calls/second
    • http://wordpress.com/stats/
  • 13. Questions

×