Real Talk About Website Performance : 5 Must-Haves
-
Upload
josh-koenig -
Category
Internet
-
view
1.395 -
download
0
Transcript of Real Talk About Website Performance : 5 Must-Haves
![Page 1: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/1.jpg)
Website PerformanceReal Talk
![Page 2: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/2.jpg)
Hi, I’m Josh@outlandishjosh — [email protected]
![Page 3: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/3.jpg)
Pantheon isn’t a “Host”(we’re a Website Management Platform)
![Page 4: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/4.jpg)
But, we do provide several metric tons of hosting.
(billions of pageviews a month)
![Page 5: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/5.jpg)
Data centers took 2% of US power in 2012.
“Power, Pollution and the Internet,”New York Times, 2012
![Page 6: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/6.jpg)
“I’ve seen things you people wouldn’t believe.”
![Page 7: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/7.jpg)
![Page 8: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/8.jpg)
Theme belt
![Page 9: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/9.jpg)
Theme belt
Login gasket
![Page 10: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/10.jpg)
Login gasket
Plugin rotors
Theme belt
![Page 11: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/11.jpg)
Login gasket
Plugin rotors
Theme belt
Emergency overdrive valve
![Page 12: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/12.jpg)
Top Speed: 125 mph
![Page 13: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/13.jpg)
Top Speed: 25,000 mph
![Page 14: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/14.jpg)
REAL TALK: the keys to breakthrough performance aren’t* inside WordPress
* usually - we’ll talk about this again
![Page 15: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/15.jpg)
source: http://talks.php.net/fluent15#/wpbench
![Page 16: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/16.jpg)
Must Have #1: use a recent version of PHP
![Page 17: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/17.jpg)
REAL TALK: It’s caches all the way down
If you care about performance, you care about caching in all it’s many manifestations.
![Page 18: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/18.jpg)
OpCode Cache
C.R.E.A.M
![Page 19: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/19.jpg)
REAL TALK: A vanilla WordPress homepage needs billions of CPU cycles.
Must Have #1.5: If you aren’t using OpCache, you are wasting your life.
![Page 20: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/20.jpg)
Object Cache
C.R.E.A.M
![Page 21: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/21.jpg)
REAL TALK: WordPress is the smartest (and slowest) thing in your stack.
Must Have #3: use a persistent object cache to prevent WordPress busywork
![Page 22: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/22.jpg)
C.R.E.A.M
Page Cache
![Page 23: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/23.jpg)
REAL TALK: 200x performance is... a lot
Must have #3: Reverse-Proxy Cache
![Page 24: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/24.jpg)
REAL TALK: The DB is the ultimate bottleneck
![Page 25: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/25.jpg)
Must have #4: If you aren’t using InnoDB and SSD disks,
you are wasting your life.
![Page 26: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/26.jpg)
REAL TALK: you can’t throw hardware at a
performance problem and expect it to stay fixed.
![Page 27: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/27.jpg)
Must Have #5
You don’t need an Einstein, but you do need an
expert.
![Page 28: Real Talk About Website Performance : 5 Must-Haves](https://reader034.fdocuments.us/reader034/viewer/2022050614/58a32a5c1a28ab71398b6391/html5/thumbnails/28.jpg)
REAL TALK: performance is hard. It takes constant
improvement to be great.
Good luck!