How to Massively Scale WordPress


Published on

Session from Web 2.0 Expo in San Francisco on March 30, 2011.

Published in: Technology
  • Be the first to comment

How to Massively Scale WordPress

  1. 1. Speed = DollarsHow to massively scale WordPressMark Brown Frederick TownesSenior Product Manager CTOMicrosoft Corporation @w3edge
  2. 2. Why Performance MattersGoogle: +500 ms -> -20% traffic lossYahoo: +400 ms -> -5-9% full-page traffic loss (visitor left before the page finished loading)Amazon: +100 ms (speed decrease) -> -1% salesloss
  3. 3. What should I do?Web performance startswith the appWithin the app areseveral types of cachingopportunitiesDon’t forget about thebrowser cache
  4. 4. +PHP & WINDOWS + IIS
  5. 5. IIS 7.XDefault min install Authentication AuthorizationModular architecture Resolve CacheStreamlined processing Execute Handlerpipeline Update CacheFile-based config Send Response
  6. 6. FAST-CGIHandles requests from app poolAutomatic Performance tuning• Memory Usage• CPU Load• Context Switches
  7. 7. WINCACHEBoost speed with no code changes Bytecode Cache File Cache Path Cache Session Cache User Data CacheWinCache Statistics
  8. 8. URL REWRITEPretty Permalinks for WordPress Request headers and Server variables HTTP Response Outbound URL’s Inside specific html tags in responseImport Apache mod_rewrite
  9. 9. PHP 5.3Updated code baseNative Win32 instead of POSIXLatest compiler VC9Use Non-Thread-Safe builds forbetter performance.
  10. 10. PHP ManagerRegister 2x PHP versions with IISEasy checking of phpinfo()Configure PHP error reportingManage directives & extensions
  12. 12. W3 Total CacheOptimize Speed and UX for WordPress Page Browser Database Object Minify CDN
  13. 13. W3 Benefits> 10x performance“Instant” second page viewsReduced page load timeOptimized progressive renderImproved web server performanceUp to 80% Bandwidth savings
  14. 14. The “Tons of Logos” Slide W3 Cache is AWESOME
  15. 15. DEMO
  16. 16. WEBMATRIXNew to WordPress orwould like to useWindows?Fastest Way to create anew WordPress site onWindowsFREE!!!
  17. 17. WEBMATRIX• Customize – Light-weight editor • HTML, CSS, PHP, JS – Database editor – Monitor HTTP Requests – Tune and optimize for Search Engines
  18. 18. WEBMATRIXPublish FTP or sFTP Web Deploy One Click deploy Includes DatabaseWeb Hosting Gallery Great deals on hosting Know how to do WordPress on Windows
  19. 19. ResourcesPHP on Windows for Windows + IIS with WebMatrix Total Cache Home Page Version with Windows + IIS Support
  20. 20. QUESTIONS?