Developing Fast & ScalableServers For WordPressWordCamp ChicagoSaturday, July 30, 2011
✤   TJ Stein✤   (mt) Media Temple✤   Working with WordPress since 2005✤   @tj_stein
Going fast...✤   Measuring performance✤   Servers designed for WordPress✤   Performance: a sign of quality✤   Virtual Priv...
Uptime and performance areoften interpreted as signs of quality            to the end-user.
Going fast...✤   Measuring performance✤   Servers designed for WordPress✤   Performance: a sign of quality✤   Virtual Priv...
Nginx
“Apache is like Microsoft Word, it has a   million options but you only need six.Nginx does those six things, and it does ...
Nginx✤   As a load balancer...✤   As a proxy...✤   As a standalone web server...
Nginx Configuration Options✤   Gzip static assets (jpg, css, javascript)✤   Add expires headers✤   Use `try_ les` instead ...
PHP-FPM✤   Process management✤   Dynamic process spawning✤   Slow request log✤   No safe mode✤   Integrates easily with Ng...
PHP-FPM Configuration Options✤   Choose recent OS (Ubuntu 11.04)✤   Use Unix sockets, not TCP/IP✤   Set your timezone✤   E...
Opcode Caching with APC✤   Alternative PHP cache✤   Cache stored in memory✤   Easy to install✤   Other options: eAccelerat...
MySQL Configuration Options✤   Decouple MySQL & Nginx✤   Watch slow queries✤   MySQL Tuner & mysqlreport✤   Disable InnoDB
Varnish✤   Extremely fast✤   VCL can be tricky✤   reads, lots of threads✤   ESI - Edge Side Includes✤   php-varnish
Network Performance✤   Protects & accelerates    websites✤   Stats & reports✤   Always online✤   WordPress integration
Monitoring✤   Monit & Munin✤   Smart alerts✤   Historical graphs✤   Band-aid
Tips✤   Use what works best for you✤   Run your own benchmarks✤   Contribute to WordPress
Q&A✤   @tj_stein✤   github.com/bummercloud✤   tj@mediatemple.net
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Developing Fast & Scalable Servers For WordPress
Upcoming SlideShare
Loading in …5
×

Developing Fast & Scalable Servers For WordPress

1,697 views

Published on

“Developing Fast & Scalable Servers For WordPress” will focus on new technologies that power some of the Internet’s biggest WordPress-driven sites. Everything from alternative web servers to WordPress caching will be covered.

Published in: Technology, Business
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total views
1,697
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
0
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Developing Fast & Scalable Servers For WordPress

    1. 1. Developing Fast & ScalableServers For WordPressWordCamp ChicagoSaturday, July 30, 2011
    2. 2. ✤ TJ Stein✤ (mt) Media Temple✤ Working with WordPress since 2005✤ @tj_stein
    3. 3. Going fast...✤ Measuring performance✤ Servers designed for WordPress✤ Performance: a sign of quality✤ Virtual Private Servers✤ Responsibility vs. exibility
    4. 4. Uptime and performance areoften interpreted as signs of quality to the end-user.
    5. 5. Going fast...✤ Measuring performance✤ Servers designed for WordPress✤ Performance: a sign of quality✤ Virtual Private Servers✤ Responsibility vs. exibility
    6. 6. Nginx
    7. 7. “Apache is like Microsoft Word, it has a million options but you only need six.Nginx does those six things, and it does ve of them 50 times faster than Apache.” – Chris Lea
    8. 8. Nginx✤ As a load balancer...✤ As a proxy...✤ As a standalone web server...
    9. 9. Nginx Configuration Options✤ Gzip static assets (jpg, css, javascript)✤ Add expires headers✤ Use `try_ les` instead of `if`✤ Decrease keepalive_timeout✤ Set worker_processes to # of CPUs
    10. 10. PHP-FPM✤ Process management✤ Dynamic process spawning✤ Slow request log✤ No safe mode✤ Integrates easily with Nginx
    11. 11. PHP-FPM Configuration Options✤ Choose recent OS (Ubuntu 11.04)✤ Use Unix sockets, not TCP/IP✤ Set your timezone✤ Enable slow request log
    12. 12. Opcode Caching with APC✤ Alternative PHP cache✤ Cache stored in memory✤ Easy to install✤ Other options: eAccelerator & Xcache
    13. 13. MySQL Configuration Options✤ Decouple MySQL & Nginx✤ Watch slow queries✤ MySQL Tuner & mysqlreport✤ Disable InnoDB
    14. 14. Varnish✤ Extremely fast✤ VCL can be tricky✤ reads, lots of threads✤ ESI - Edge Side Includes✤ php-varnish
    15. 15. Network Performance✤ Protects & accelerates websites✤ Stats & reports✤ Always online✤ WordPress integration
    16. 16. Monitoring✤ Monit & Munin✤ Smart alerts✤ Historical graphs✤ Band-aid
    17. 17. Tips✤ Use what works best for you✤ Run your own benchmarks✤ Contribute to WordPress
    18. 18. Q&A✤ @tj_stein✤ github.com/bummercloud✤ tj@mediatemple.net

    ×