+ All Categories
Home > Technology > Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Date post: 13-Feb-2017
Category:
Upload: scivisum-ltd
View: 790 times
Download: 0 times
Share this document with a friend
40
MAKING YOUR WEBSITE FAST - AND SCALABLE Deri Jones Digibury January 2015
Transcript
Page 1: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

MAKING YOUR WEBSITE FAST - AND SCALABLE

Deri Jones

Digibury January 2015

Page 2: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Tue Feb 3rd

Page 3: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

WEBSITE SPEED Black Friday and Xmas peaks

Page 4: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

UNACCEPTABLE DELAYS

Page 5: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

THE NEED FOR SPEED Impatience SEO

Page 6: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

THE NEED FOR SPEED Impatience SEO UX is the final USP

Page 7: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

YourUX

Your offering

Page 8: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

What makes sites slow ?

Page 9: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Network effectsADSL 3G 4G

Page 10: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

LATENCY

Page 11: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

LATENCY TARGETS Backbone best:

Local: ADSL 25 mS Mobile 250 mS

Page 12: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Network effectsBulky: ImagesToo many objectsNot using HTTP Keep alive

Page 13: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

FIREBUG / DEVTOOLS

Page 14: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd
Page 15: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Browser effectsObjects blockRendering time

Page 16: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

3RD PARTY SCRIPTS

Page 17: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

The offender:<script src="http://3rdparty.com/script.js"></script>

Page 18: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Old solution

These days<script async defer src="siteScript.js" onload="myInit()"></script>

These days:

Page 19: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Browser effectsObjects blockRendering time3rd party blocking

Page 20: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

AD SERVING IS SLOW

And no political motive to be fasterWill get slower as big-Data progresses

Page 21: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

RESPONSIVE WEBAvoid the Whitehouse.org story...

Page 22: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

Can be good:Painless installMany configuration choices

Can be tricky:Embedded CSS obsession

Page 23: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

TOOLS Firebug, DevTools HTTPArchive.org Webpagetest.org

Page 24: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

DESIGNERS VS SPEEDERS

Page 25: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

CHALLENGES Responsive web:

Better than 2 sites www. and m.

Page 26: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd
Page 27: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

WEBSITE SCALING

Page 28: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

SURPRISING LESSONS Cloud auto-scaling – doesn't work

Page 29: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

SURPRISING LESSONSCloud auto-scaling – doesn't work

Scales too late Allows rest of farm to die Small print: Strictly 'very often' doesn't work

Page 30: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

SURPISING LESSONS Cloud auto-scaling – doesn't work

Scales too late Allows rest of farm to die

Page 31: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

CLOUD AUTO-SCALING Uncertain spin-up time DOA

Page 32: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

SCALING Don't obsess Disk IO

Yes it's moving metal Web is a lot about static content

Page 33: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

SCALING The code platforms are good Many problems in SysAdmin configs CDNs

Cache-Miss hurts

But don't assume!

Page 34: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

SCALING Many big hosters:

Not motivated to help you

Page 35: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

SCALING

Page 36: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

USERS' EXPERIENCEIt's both:The new battlegroundA challenge

Single Page website Offline-cache content Users' journeys complexity

Page 37: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

USER EXPERIENCE Cultural shift

Make every one responsible for it! Performance is a deliverable

Test every release Continuous Integration

Page 38: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

USER EXPERIENCE Hard Easier to save timings in your code

ElasticSearch, Graphite RUM and Analytics help

Page 39: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

USER EXPERIENCE 'Do what your Customers do'

more Synthetic monitoring For another day ...

Page 40: Making your websites fast and scalable - Deri Jones CEO, SciVisum Ltd

RESOURCES

London Web performance meetup http://www.meetup.com/London-Web-Performance-Group

Third Party Footprints http://www.slideshare.net/bbinto/third-party-footprint-evaluati

ng-the-performance-of-external-scripts HTTP Archive

https://speakerdeck.com/deanohume/the-good-the-bad-and-the-ugly-of-the-http-archive


Recommended