Transcript
Page 1: Scalability vs. Performance

Size & SpeedScalability vs. Performance

NY Web Performance Meetup March 27, 2013

Page 2: Scalability vs. Performance

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

Page 3: Scalability vs. Performance

Why Do We Scale?

Page 4: Scalability vs. Performance

Available Resources

CPU Memory

Disk Network

Page 5: Scalability vs. Performance

CPU & Memory

• Classical scale problem

• Scale up (Moor's law)

• Scale out (cloud)

Page 6: Scalability vs. Performance

Storage

• More available

• Speed and reliability

• Slower then in the past / SSD

Page 7: Scalability vs. Performance

Network ???

• Easy to scale for static assets

• Trouble if you hit dynamic

Page 8: Scalability vs. Performance

User Experience

Page 9: Scalability vs. Performance

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

Page 10: Scalability vs. Performance

Our Tools

Page 11: Scalability vs. Performance

Load Testingapply load,

measure backend performance degradation

Page 12: Scalability vs. Performance

"Synthetic" testingtime ALL components of page load

HAR

Page 13: Scalability vs. Performance

Real User Measurementmeasure key performance metrics for REAL users

Boomerang.js

Page 14: Scalability vs. Performance

Speed, is it important?

RUM data. Aaron Kulick, Cliff Crocker @ Wallmart Labs

Page 15: Scalability vs. Performance

Speed, it is important!

RUM data. Aaron Kulick, Cliff Crocker @ Wallmart Labs

Page 16: Scalability vs. Performance

Speed it up for one user!

Page 17: Scalability vs. Performance

New York Web Performance

Meetup

Sergey Chernyshev

@sergeyche @perfplanet


Top Related