Scalability vs. Performance

Preview:

Citation preview

Size & SpeedScalability vs. Performance

NY Web Performance Meetup March 27, 2013

About• Doing web dev and

operations since 1996

• Tech Director, Web Ops and Dev @ truTV/Turner

• Creator of ShowSlow

• Organizer at NY WebPerf

• Board member of WPO Foundation

Why Do We Scale?

Available Resources

CPU Memory

Disk Network

CPU & Memory

• Classical scale problem

• Scale up (Moor's law)

• Scale out (cloud)

Storage

• More available

• Speed and reliability

• Slower then in the past / SSD

Network ???

• Easy to scale for static assets

• Trouble if you hit dynamic

User Experience

How Page Loads ~8 sec above the fold

~0.5 sec for first request

only 6.25% on back end

12sec, 157 req, ~1Mb

http://bit.ly/pageload-video

http://bit.ly/pageload-filmstrip

Our Tools

Load Testingapply load,

measure backend performance degradation

"Synthetic" testingtime ALL components of page load

HAR

Real User Measurementmeasure key performance metrics for REAL users

Boomerang.js

Speed, is it important?

RUM data. Aaron Kulick, Cliff Crocker @ Wallmart Labs

Speed, it is important!

RUM data. Aaron Kulick, Cliff Crocker @ Wallmart Labs

Speed it up for one user!

New York Web Performance

Meetup

Sergey Chernyshev

@sergeyche @perfplanet

Recommended