How to Massively Scale WordPress
-
Upload
mark-brown -
Category
Technology
-
view
2.001 -
download
1
description
Transcript of How to Massively Scale WordPress
![Page 1: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/1.jpg)
How to massively scale WordPress
Mark Brown Senior Product Manager Microsoft Corporation [email protected] @markjbrown
Speed = Dollars
Frederick Townes CTO Mashable.com [email protected] @w3edge
![Page 2: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/2.jpg)
Why Performance Matters
Google: +500 ms -> -20% traffic loss
Yahoo: +400 ms -> -5-9% full-page traffic loss (visitor left before the page finished loading)
Amazon: +100 ms (speed decrease) -> -1% sales loss
![Page 3: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/3.jpg)
What should I do?
Web performance starts with the app
Within the app are several types of caching opportunities
Don’t forget about the browser cache
![Page 4: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/4.jpg)
PHP & WINDOWS + IIS
+
![Page 5: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/5.jpg)
IIS 7.X
Default min install
Modular architecture
Streamlined processing pipeline
File-based config
Authorization
Resolve Cache
Execute Handler
Update Cache
Authentication
Send Response
![Page 6: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/6.jpg)
FAST-CGI
Handles requests from app pool
Automatic Performance tuning
• Memory Usage
• CPU Load
• Context Switches
![Page 7: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/7.jpg)
WINCACHE
Boost speed with no code changes
Bytecode Cache
File Cache
Path Cache
Session Cache
User Data Cache
WinCache Statistics
![Page 8: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/8.jpg)
URL REWRITE
Pretty Permalinks for WordPress
Rewrite:
Request headers and Server variables
HTTP Response
Outbound URL’s
Inside specific html tags in response
Import Apache mod_rewrite
http://mycompany.com/?cat_id=3&prod_id=2346 http://mycompany.com/products/widget
![Page 9: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/9.jpg)
PHP 5.3
Updated code base
Native Win32 instead of POSIX
Latest compiler VC9
Use Non-Thread-Safe builds for better performance.
![Page 10: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/10.jpg)
PHP Manager
Register 2x PHP versions with IIS
Easy checking of phpinfo()
Configure PHP error reporting
Manage directives & extensions
![Page 11: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/11.jpg)
WORDPRESS + W3 TOTAL CACHE
+
![Page 12: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/12.jpg)
W3 Total Cache
Optimize Speed and UX for WordPress
Page
Browser
Database
Object
Minify
CDN
![Page 13: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/13.jpg)
W3 Benefits
> 10x performance
“Instant” second page views
Reduced page load time
Optimized progressive render
Improved web server performance
Up to 80% Bandwidth savings
![Page 14: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/14.jpg)
The “Tons of Logos” Slide
W3 Cache is AWESOME
![Page 15: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/15.jpg)
DEMO
![Page 16: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/16.jpg)
WEBMATRIX
New to WordPress or would like to use Windows?
Fastest Way to create a new WordPress site on Windows
FREE!!!
![Page 17: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/17.jpg)
WEBMATRIX
• Customize
– Light-weight editor
• HTML, CSS, PHP, JS
– Database editor
– Monitor HTTP Requests
– Tune and optimize for Search Engines
![Page 18: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/18.jpg)
WEBMATRIX
Publish
FTP or sFTP
Web Deploy
One Click deploy
Includes Database
Web Hosting Gallery
Great deals on hosting
Know how to do WordPress on Windows
![Page 19: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/19.jpg)
Resources
PHP on Windows
http://web.ms/php
WordPress for Windows + IIS with WebMatrix
http://web.ms/wordpress
W3 Total Cache Home Page
http://wordpress.org/extend/plugins/w3-total-cache/
Dev Version with Windows + IIS Support http://downloads.wordpress.org/plugin/w3-total-cache.zip
![Page 20: How to Massively Scale WordPress](https://reader034.fdocuments.net/reader034/viewer/2022050817/554fd988b4c90516478b4b03/html5/thumbnails/20.jpg)
QUESTIONS?