scalability vs. performance
TRANSCRIPT
![Page 1: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/1.jpg)
Size & SpeedScalability vs. Performance
NY Web Performance Meetup March 27, 2013
![Page 2: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/2.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/3.jpg)
Why Do We Scale?
![Page 4: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/4.jpg)
Available Resources
CPU Memory
Disk Network
![Page 5: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/5.jpg)
CPU & Memory
• Classical scale problem
• Scale up (Moor's law)
• Scale out (cloud)
![Page 6: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/6.jpg)
Storage
• More available
• Speed and reliability
• Slower then in the past / SSD
![Page 7: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/7.jpg)
Network ???
• Easy to scale for static assets
• Trouble if you hit dynamic
![Page 8: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/8.jpg)
User Experience
![Page 9: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/9.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/10.jpg)
Our Tools
![Page 11: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/11.jpg)
Load Testingapply load,
measure backend performance degradation
![Page 12: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/12.jpg)
"Synthetic" testingtime ALL components of page load
HAR
![Page 13: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/13.jpg)
Real User Measurementmeasure key performance metrics for REAL users
Boomerang.js
![Page 14: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/14.jpg)
Speed, is it important?
RUM data. Aaron Kulick, Cliff Crocker @ Wallmart Labs
![Page 15: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/15.jpg)
Speed, it is important!
RUM data. Aaron Kulick, Cliff Crocker @ Wallmart Labs
![Page 16: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/16.jpg)
Speed it up for one user!
![Page 17: Scalability vs. Performance](https://reader033.vdocuments.mx/reader033/viewer/2022052218/555a0126d8b42aa8098b4e97/html5/thumbnails/17.jpg)
New York Web Performance
Meetup
Sergey Chernyshev
@sergeyche @perfplanet