real talk about website performance : 5 must-haves

28
Website Performance Real Talk

Upload: josh-koenig

Post on 13-Apr-2017

1.395 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: Real Talk About Website Performance : 5 Must-Haves

Website PerformanceReal Talk

Page 2: Real Talk About Website Performance : 5 Must-Haves

Hi, I’m Josh@outlandishjosh — [email protected]

Page 3: Real Talk About Website Performance : 5 Must-Haves

Pantheon isn’t a “Host”(we’re a Website Management Platform)

Page 4: Real Talk About Website Performance : 5 Must-Haves

But, we do provide several metric tons of hosting.

(billions of pageviews a month)

Page 5: Real Talk About Website Performance : 5 Must-Haves

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

“I’ve seen things you people wouldn’t believe.”

Page 7: Real Talk About Website Performance : 5 Must-Haves
Page 8: Real Talk About Website Performance : 5 Must-Haves

Theme belt

Page 9: Real Talk About Website Performance : 5 Must-Haves

Theme belt

Login gasket

Page 10: Real Talk About Website Performance : 5 Must-Haves

Login gasket

Plugin rotors

Theme belt

Page 11: Real Talk About Website Performance : 5 Must-Haves

Login gasket

Plugin rotors

Theme belt

Emergency overdrive valve

Page 12: Real Talk About Website Performance : 5 Must-Haves

Top Speed: 125 mph

Page 13: Real Talk About Website Performance : 5 Must-Haves

Top Speed: 25,000 mph

Page 14: Real Talk About Website Performance : 5 Must-Haves

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

source: http://talks.php.net/fluent15#/wpbench

Page 16: Real Talk About Website Performance : 5 Must-Haves

Must Have #1: use a recent version of PHP

Page 17: Real Talk About Website Performance : 5 Must-Haves

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

OpCode Cache

C.R.E.A.M

Page 19: Real Talk About Website Performance : 5 Must-Haves

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

Object Cache

C.R.E.A.M

Page 21: Real Talk About Website Performance : 5 Must-Haves

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

C.R.E.A.M

Page Cache

Page 23: Real Talk About Website Performance : 5 Must-Haves

REAL TALK: 200x performance is... a lot

Must have #3: Reverse-Proxy Cache

Page 24: Real Talk About Website Performance : 5 Must-Haves

REAL TALK: The DB is the ultimate bottleneck

Page 25: Real Talk About Website Performance : 5 Must-Haves

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

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

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

REAL TALK: performance is hard. It takes constant

improvement to be great.

Good luck!