SlideShare a Scribd company logo
1 of 26
Download to read offline
Inside Akamai: Automating H2 Push
© AKAMAI - EDGE 2016
© AKAMAI - EDGE 2016
About this new H2 Push thing… does it make pages faster?
“Saves only 1 RTT”
“HTTP2 push will only have marginal effect on web performance”
“15% faster TTFB”
© AKAMAI - EDGE 2016
Refresher: basic sequence of an H2 Push
Request A
PUSH_PROMISE B
Response B
Response A
? RST_STREAM
© AKAMAI - EDGE 2016
The Opportunity: Bandwidth View
TCP slow start
Opportunity
© AKAMAI - EDGE 2016
The Opportunity: Time View
OriginEdgeUser
100 ms
Opportunity
100 ms
© AKAMAI - EDGE 2016
© AKAMAI - EDGE 2016
The Opportunity: Page Load View -- Without Push
HTML Request
Acks
28KB HTML
Acks
56KB HTML
Acks + requests
CSS + JS
14KB HTML HTML
HTML Request
Start Render
© AKAMAI - EDGE 2016
The Opportunity: Page Load View -- With Push
HTML
HTML RequestHTML Request
Acks
28KB CSS+JS
Acks
56KB CSS+JS
Acks
HTML
14KB CSS+JS
Start Render
© AKAMAI - EDGE 2016
When good pushes go bad: Blocking
Promises Push 1 Headers HTMLPush 2
© AKAMAI - EDGE 2016
When good pushes go bad: Bad Ordering
a.html
b.css
c.js
c.css
d.js
e.jpg
f.jpg
h.jpg
i.js
j.js
k.html
l.css
m.jpg
n.js
Document
Complete
Beware simple heuristics!
Push this js
But not this js
© AKAMAI - EDGE 2016
When good pushes go bad: Duplicated Downloads
https://example.com/i/hero.jpg?cb=123454321
https://example.com/i/hero.jpg?cb=123456789
https://example.com/i/library_v2.0.js
https://example.com/i/library_v2.1.js
Vary: Cookie
Beware cache busting!
Beware lifecycle changes!
Beware incorrect pushes!
© AKAMAI - EDGE 2016
When good pushes go bad: Pushing stuff already in browser cache
Request A
PUSH_PROMISE x.js
Response x.js
? RST_STREAM
Cache:
x.js
© AKAMAI - EDGE 2016
Push to fill the pipe
Push while waiting
Push the right stuff
Push in the right order
Push enough, but not too much
© AKAMAI - EDGE 2016
© AKAMAI - EDGE 2016
Adaptive Acceleration
AnalyzeOptimize
Measure
Manual
Push and
Preconnect
Automatic
Intelligent Performance Optimizations that
Improve Web Experiences based on
Actual User Behavior
© AKAMAI - EDGE 2016
https://www…..
-https://www…..
-https://www…..
https://www…..
-https://www…..
HTML Request
HTML
Push 1
Push 2
Manual Push and Preconnect
HTML Request
HTML
© AKAMAI - EDGE 2016
https://www…..
-https://www…..
-https://www…..
https://www…..
-https://www…..
HTML Request
HTML
Push 1
Push 2
Adaptive Acceleration
HTML Request
HTML
RUM
Resource
Timing
Data
© AKAMAI - EDGE 2016
What can be learned from RUM Resource Timing Data?
© AKAMAI - EDGE 2016
How A2 prevents: Blocking
Promises Push 1 Headers HTMLPush 2
MAX (kb) Priority
© AKAMAI - EDGE 2016
How A2 prevents: Bad Ordering
a.html
b.css
c.js
c.css
d.js
e.jpg
f.jpg
h.jpg
i.js
j.js
k.html
l.css
m.jpg
n.js
Document
Complete
1. Learn page dependency graph from
multiple samples
2. Respect page ordering when pushing
3. Prioritize css and fonts
© AKAMAI - EDGE 2016
How A2 prevents: Duplicated Downloads
https://example.com/i/hero.jpg?cb=123454321
https://example.com/i/hero.jpg?cb=123456789
https://example.com/i/library_v2.0.js
https://example.com/i/library_v2.1.js
Vary: Cookie
Detect and omit varying
resources
Reanalyze regularly to pick
up site changes
Omit resources not
cachable at Edge
© AKAMAI - EDGE 2016
How A2 prevents: Pushing stuff already in browser cache
Request A
PUSH_PROMISE x.js
Response x.js
RST_STREAM
Cache:
x.js
CACHE_DIGEST
P(cached)
© AKAMAI - EDGE 2016
What else do you need to know about Adaptive Acceleration?
it does
Preconnects
too!!
Its JuST Keeps
GeTTing
Smarter!!
Much More
to Come!!
© AKAMAI - EDGE 2016
Call To Action
1. Adopt H2
2. Turn on Akamai RUM
3. Be cacheable
4. Review your domain sharding and certificate usage
5. Enable Adaptive Acceleration in Ion Beta Channel
© AKAMAI - EDGE 2016
References
https://developer.apple.com/videos/play/wwdc2016/711/
https://www.igvita.com/2013/06/12/innovating-with-http-2.0-server-push/
https://gsd.akamai.com/wiki/display/RUA/System+Architecture
http://bos-lp4qc.kendall.corp.akamai.com/push/
https://blog.yoav.ws/being_pushy/
https://github.com/asilvas/http2-push-assets-demo
https://h2o.examp1e.net/configure/http2_directives.html#http2-casper
https://docs.google.com/document/d/1K0NykTXBbbbTlv60t5MyJvXjqKGsCVNYHyLEXIxYMv0/edit
https://daveyshafik.com/archives/69603-http2-server-push-youre-doing-it-all-wrong.html
https://http2.github.io/http2-spec/#PushResources
https://tools.ietf.org/html/draft-kazuho-h2-cache-digest-00
https://www.facebook.com/atscaleevents/videos/vb.1576488989290866/1775942979345465/?type=2&theater
http://blog.kazuhooku.com/2015/10/performance-of-http2-push-and-server.html

More Related Content

What's hot

Edge 2016 can webpagetest be trusted
Edge 2016 can webpagetest be trustedEdge 2016 can webpagetest be trusted
Edge 2016 can webpagetest be trustedakamaidevrel
 
Edge 2016 solving everyday problems with next generation mapping
Edge 2016 solving everyday problems with next generation mappingEdge 2016 solving everyday problems with next generation mapping
Edge 2016 solving everyday problems with next generation mappingakamaidevrel
 
Edge 2016 IPv6 is here: the future is now
Edge 2016 IPv6 is here: the future is nowEdge 2016 IPv6 is here: the future is now
Edge 2016 IPv6 is here: the future is nowakamaidevrel
 
Edge 2016 keeping tls secure
Edge 2016 keeping tls secureEdge 2016 keeping tls secure
Edge 2016 keeping tls secureakamaidevrel
 
ウェブサイト最適化101 - 正しく測ろうあなたのサイト -
ウェブサイト最適化101 - 正しく測ろうあなたのサイト -ウェブサイト最適化101 - 正しく測ろうあなたのサイト -
ウェブサイト最適化101 - 正しく測ろうあなたのサイト -Taisuke Yamada
 
Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015Rakesh Chaudhary
 
Velocity spa faster_092116
Velocity spa faster_092116Velocity spa faster_092116
Velocity spa faster_092116Manuel Alvarez
 
A Modern Approach to Performance Monitoring
A Modern Approach to Performance MonitoringA Modern Approach to Performance Monitoring
A Modern Approach to Performance MonitoringCliff Crocker
 
Page experience road - WordCamp Athens 2022
Page experience road  - WordCamp Athens 2022Page experience road  - WordCamp Athens 2022
Page experience road - WordCamp Athens 2022Fellyph Cintra
 
MVVM for the Web
MVVM for the WebMVVM for the Web
MVVM for the WebExcella
 
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...DevDay.org
 
Third party-performance (Airbnb Nerds, Nov 2013)
Third party-performance (Airbnb Nerds, Nov 2013)Third party-performance (Airbnb Nerds, Nov 2013)
Third party-performance (Airbnb Nerds, Nov 2013)Guy Podjarny
 
Scaling Marketplace to 10,000 Add-Ons - Arun Bhalla
Scaling Marketplace to 10,000 Add-Ons  - Arun BhallaScaling Marketplace to 10,000 Add-Ons  - Arun Bhalla
Scaling Marketplace to 10,000 Add-Ons - Arun BhallaAtlassian
 
Client side performance analysis
Client side performance analysisClient side performance analysis
Client side performance analysisTsimafei Avilin
 
DIY Website Performance - Akamai Toronto Tech Day 2015
DIY Website Performance - Akamai Toronto Tech Day 2015DIY Website Performance - Akamai Toronto Tech Day 2015
DIY Website Performance - Akamai Toronto Tech Day 2015Desmond Tam
 
Hans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & AttacksHans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & AttacksMedia Perspectives
 
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services SingaporeKel
 
(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014
(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014
(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014Amazon Web Services
 
CIRCUIT 2015 - Akamai: Caching and Beyond
CIRCUIT 2015 - Akamai:  Caching and BeyondCIRCUIT 2015 - Akamai:  Caching and Beyond
CIRCUIT 2015 - Akamai: Caching and BeyondICF CIRCUIT
 

What's hot (20)

Edge 2016 can webpagetest be trusted
Edge 2016 can webpagetest be trustedEdge 2016 can webpagetest be trusted
Edge 2016 can webpagetest be trusted
 
Edge 2016 solving everyday problems with next generation mapping
Edge 2016 solving everyday problems with next generation mappingEdge 2016 solving everyday problems with next generation mapping
Edge 2016 solving everyday problems with next generation mapping
 
Edge 2016 IPv6 is here: the future is now
Edge 2016 IPv6 is here: the future is nowEdge 2016 IPv6 is here: the future is now
Edge 2016 IPv6 is here: the future is now
 
Edge 2016 keeping tls secure
Edge 2016 keeping tls secureEdge 2016 keeping tls secure
Edge 2016 keeping tls secure
 
ウェブサイト最適化101 - 正しく測ろうあなたのサイト -
ウェブサイト最適化101 - 正しく測ろうあなたのサイト -ウェブサイト最適化101 - 正しく測ろうあなたのサイト -
ウェブサイト最適化101 - 正しく測ろうあなたのサイト -
 
Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015
 
Velocity spa faster_092116
Velocity spa faster_092116Velocity spa faster_092116
Velocity spa faster_092116
 
A Modern Approach to Performance Monitoring
A Modern Approach to Performance MonitoringA Modern Approach to Performance Monitoring
A Modern Approach to Performance Monitoring
 
Hacking Web Performance
Hacking Web Performance Hacking Web Performance
Hacking Web Performance
 
Page experience road - WordCamp Athens 2022
Page experience road  - WordCamp Athens 2022Page experience road  - WordCamp Athens 2022
Page experience road - WordCamp Athens 2022
 
MVVM for the Web
MVVM for the WebMVVM for the Web
MVVM for the Web
 
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...[DevDay2018] Introduction to Cloud Computing and AWS platform  - By: Bach Huy...
[DevDay2018] Introduction to Cloud Computing and AWS platform - By: Bach Huy...
 
Third party-performance (Airbnb Nerds, Nov 2013)
Third party-performance (Airbnb Nerds, Nov 2013)Third party-performance (Airbnb Nerds, Nov 2013)
Third party-performance (Airbnb Nerds, Nov 2013)
 
Scaling Marketplace to 10,000 Add-Ons - Arun Bhalla
Scaling Marketplace to 10,000 Add-Ons  - Arun BhallaScaling Marketplace to 10,000 Add-Ons  - Arun Bhalla
Scaling Marketplace to 10,000 Add-Ons - Arun Bhalla
 
Client side performance analysis
Client side performance analysisClient side performance analysis
Client side performance analysis
 
DIY Website Performance - Akamai Toronto Tech Day 2015
DIY Website Performance - Akamai Toronto Tech Day 2015DIY Website Performance - Akamai Toronto Tech Day 2015
DIY Website Performance - Akamai Toronto Tech Day 2015
 
Hans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & AttacksHans Nipshagen (Akamai) | TU - Hack & Attacks
Hans Nipshagen (Akamai) | TU - Hack & Attacks
 
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
 
(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014
(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014
(WEB305) Migrating Your Website to AWS | AWS re:Invent 2014
 
CIRCUIT 2015 - Akamai: Caching and Beyond
CIRCUIT 2015 - Akamai:  Caching and BeyondCIRCUIT 2015 - Akamai:  Caching and Beyond
CIRCUIT 2015 - Akamai: Caching and Beyond
 

Viewers also liked

Primera Jornada de Estudios Eslavos
Primera Jornada de Estudios EslavosPrimera Jornada de Estudios Eslavos
Primera Jornada de Estudios EslavosMarcelo Montes
 
что сколько разлагается
что сколько разлагаетсячто сколько разлагается
что сколько разлагаетсяKurilskiy
 
ejkm-volume5-issue2-article100
ejkm-volume5-issue2-article100ejkm-volume5-issue2-article100
ejkm-volume5-issue2-article100Sandra Lambert
 
Трубчатый пастеризатор
Трубчатый пастеризаторТрубчатый пастеризатор
Трубчатый пастеризаторqwer78
 
오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향Nalee Jang
 

Viewers also liked (12)

алим
алималим
алим
 
It's my life- Bon Jovi
It's my life- Bon Jovi It's my life- Bon Jovi
It's my life- Bon Jovi
 
Primera Jornada de Estudios Eslavos
Primera Jornada de Estudios EslavosPrimera Jornada de Estudios Eslavos
Primera Jornada de Estudios Eslavos
 
что сколько разлагается
что сколько разлагаетсячто сколько разлагается
что сколько разлагается
 
Tugasan bm
Tugasan bm Tugasan bm
Tugasan bm
 
ejkm-volume5-issue2-article100
ejkm-volume5-issue2-article100ejkm-volume5-issue2-article100
ejkm-volume5-issue2-article100
 
Exam sains tahun 5
Exam sains tahun 5Exam sains tahun 5
Exam sains tahun 5
 
Трубчатый пастеризатор
Трубчатый пастеризаторТрубчатый пастеризатор
Трубчатый пастеризатор
 
201602151126
201602151126201602151126
201602151126
 
Rhythm
RhythmRhythm
Rhythm
 
오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향오픈스택 커뮤니티 소개 및 기술 동향
오픈스택 커뮤니티 소개 및 기술 동향
 
slidershare
slidershareslidershare
slidershare
 

Similar to Edge 2016 automating h2 push

Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018Paul Calvano
 
UI5 with Akamai - Introduction to the Content Delivery Network
UI5 with Akamai - Introduction to the Content Delivery NetworkUI5 with Akamai - Introduction to the Content Delivery Network
UI5 with Akamai - Introduction to the Content Delivery NetworkGokul Anand E, PMP®
 
Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2Akamai Technologies
 
Edge 2016 measuring what matters
Edge 2016 measuring what mattersEdge 2016 measuring what matters
Edge 2016 measuring what mattersakamaidevrel
 
Common Traits of High Performing Websites, BairesWeb - Argentina
Common Traits of High Performing Websites,  BairesWeb  - ArgentinaCommon Traits of High Performing Websites,  BairesWeb  - Argentina
Common Traits of High Performing Websites, BairesWeb - ArgentinaPaul Calvano
 
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)💻 Javier Garza
 
Site Managing Performance
Site Managing PerformanceSite Managing Performance
Site Managing PerformanceDesmond Tam
 
Integrating Accelerated Mobile Pages (AMP) In Drupal Websites
Integrating Accelerated Mobile Pages (AMP) In Drupal WebsitesIntegrating Accelerated Mobile Pages (AMP) In Drupal Websites
Integrating Accelerated Mobile Pages (AMP) In Drupal WebsitesExcellent Webworld
 
Third Party Performance
Third Party PerformanceThird Party Performance
Third Party PerformanceGuy Podjarny
 
Fluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP ArchiveFluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP ArchivePaul Calvano
 
Building for, perceiving and measuring performance for mobile web
Building for, perceiving and measuring performance for mobile webBuilding for, perceiving and measuring performance for mobile web
Building for, perceiving and measuring performance for mobile webRobin Glen
 
International Site Speed Tweaks - ISS 2017 Barcelona
International Site Speed Tweaks - ISS 2017 BarcelonaInternational Site Speed Tweaks - ISS 2017 Barcelona
International Site Speed Tweaks - ISS 2017 BarcelonaBastian Grimm
 
Amp your site an intro to accelerated mobile pages
Amp your site  an intro to accelerated mobile pagesAmp your site  an intro to accelerated mobile pages
Amp your site an intro to accelerated mobile pagesRobert McFrazier
 
Three site speed optimisation tips to make your website REALLY fast - Brighto...
Three site speed optimisation tips to make your website REALLY fast - Brighto...Three site speed optimisation tips to make your website REALLY fast - Brighto...
Three site speed optimisation tips to make your website REALLY fast - Brighto...Bastian Grimm
 
App-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai EasyApp-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai EasyAkamai Developers & Admins
 
2017 Silicon Valley Code Camp: Instant Mobile Web
2017 Silicon Valley Code Camp: Instant Mobile Web2017 Silicon Valley Code Camp: Instant Mobile Web
2017 Silicon Valley Code Camp: Instant Mobile WebLisa Huang
 
AMP - SMX München 2018
AMP - SMX München 2018AMP - SMX München 2018
AMP - SMX München 2018Bastian Grimm
 
Amp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesAmp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesRobert McFrazier
 
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...Akamai Developers & Admins
 

Similar to Edge 2016 automating h2 push (20)

Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
 
UI5 with Akamai - Introduction to the Content Delivery Network
UI5 with Akamai - Introduction to the Content Delivery NetworkUI5 with Akamai - Introduction to the Content Delivery Network
UI5 with Akamai - Introduction to the Content Delivery Network
 
Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2
 
Edge 2016 measuring what matters
Edge 2016 measuring what mattersEdge 2016 measuring what matters
Edge 2016 measuring what matters
 
Common Traits of High Performing Websites, BairesWeb - Argentina
Common Traits of High Performing Websites,  BairesWeb  - ArgentinaCommon Traits of High Performing Websites,  BairesWeb  - Argentina
Common Traits of High Performing Websites, BairesWeb - Argentina
 
Optimizing your API to Perform at Scale
Optimizing your API to Perform at ScaleOptimizing your API to Perform at Scale
Optimizing your API to Perform at Scale
 
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
 
Site Managing Performance
Site Managing PerformanceSite Managing Performance
Site Managing Performance
 
Integrating Accelerated Mobile Pages (AMP) In Drupal Websites
Integrating Accelerated Mobile Pages (AMP) In Drupal WebsitesIntegrating Accelerated Mobile Pages (AMP) In Drupal Websites
Integrating Accelerated Mobile Pages (AMP) In Drupal Websites
 
Third Party Performance
Third Party PerformanceThird Party Performance
Third Party Performance
 
Fluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP ArchiveFluent 2018: Tracking Performance of the Web with HTTP Archive
Fluent 2018: Tracking Performance of the Web with HTTP Archive
 
Building for, perceiving and measuring performance for mobile web
Building for, perceiving and measuring performance for mobile webBuilding for, perceiving and measuring performance for mobile web
Building for, perceiving and measuring performance for mobile web
 
International Site Speed Tweaks - ISS 2017 Barcelona
International Site Speed Tweaks - ISS 2017 BarcelonaInternational Site Speed Tweaks - ISS 2017 Barcelona
International Site Speed Tweaks - ISS 2017 Barcelona
 
Amp your site an intro to accelerated mobile pages
Amp your site  an intro to accelerated mobile pagesAmp your site  an intro to accelerated mobile pages
Amp your site an intro to accelerated mobile pages
 
Three site speed optimisation tips to make your website REALLY fast - Brighto...
Three site speed optimisation tips to make your website REALLY fast - Brighto...Three site speed optimisation tips to make your website REALLY fast - Brighto...
Three site speed optimisation tips to make your website REALLY fast - Brighto...
 
App-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai EasyApp-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai Easy
 
2017 Silicon Valley Code Camp: Instant Mobile Web
2017 Silicon Valley Code Camp: Instant Mobile Web2017 Silicon Valley Code Camp: Instant Mobile Web
2017 Silicon Valley Code Camp: Instant Mobile Web
 
AMP - SMX München 2018
AMP - SMX München 2018AMP - SMX München 2018
AMP - SMX München 2018
 
Amp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pagesAmp your site: An intro to accelerated mobile pages
Amp your site: An intro to accelerated mobile pages
 
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
 

Recently uploaded

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Recently uploaded (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Edge 2016 automating h2 push

  • 2. © AKAMAI - EDGE 2016
  • 3. © AKAMAI - EDGE 2016 About this new H2 Push thing… does it make pages faster? “Saves only 1 RTT” “HTTP2 push will only have marginal effect on web performance” “15% faster TTFB”
  • 4. © AKAMAI - EDGE 2016 Refresher: basic sequence of an H2 Push Request A PUSH_PROMISE B Response B Response A ? RST_STREAM
  • 5. © AKAMAI - EDGE 2016 The Opportunity: Bandwidth View TCP slow start Opportunity
  • 6. © AKAMAI - EDGE 2016 The Opportunity: Time View OriginEdgeUser 100 ms Opportunity 100 ms
  • 7. © AKAMAI - EDGE 2016
  • 8. © AKAMAI - EDGE 2016 The Opportunity: Page Load View -- Without Push HTML Request Acks 28KB HTML Acks 56KB HTML Acks + requests CSS + JS 14KB HTML HTML HTML Request Start Render
  • 9. © AKAMAI - EDGE 2016 The Opportunity: Page Load View -- With Push HTML HTML RequestHTML Request Acks 28KB CSS+JS Acks 56KB CSS+JS Acks HTML 14KB CSS+JS Start Render
  • 10. © AKAMAI - EDGE 2016 When good pushes go bad: Blocking Promises Push 1 Headers HTMLPush 2
  • 11. © AKAMAI - EDGE 2016 When good pushes go bad: Bad Ordering a.html b.css c.js c.css d.js e.jpg f.jpg h.jpg i.js j.js k.html l.css m.jpg n.js Document Complete Beware simple heuristics! Push this js But not this js
  • 12. © AKAMAI - EDGE 2016 When good pushes go bad: Duplicated Downloads https://example.com/i/hero.jpg?cb=123454321 https://example.com/i/hero.jpg?cb=123456789 https://example.com/i/library_v2.0.js https://example.com/i/library_v2.1.js Vary: Cookie Beware cache busting! Beware lifecycle changes! Beware incorrect pushes!
  • 13. © AKAMAI - EDGE 2016 When good pushes go bad: Pushing stuff already in browser cache Request A PUSH_PROMISE x.js Response x.js ? RST_STREAM Cache: x.js
  • 14. © AKAMAI - EDGE 2016 Push to fill the pipe Push while waiting Push the right stuff Push in the right order Push enough, but not too much
  • 15. © AKAMAI - EDGE 2016
  • 16. © AKAMAI - EDGE 2016 Adaptive Acceleration AnalyzeOptimize Measure Manual Push and Preconnect Automatic Intelligent Performance Optimizations that Improve Web Experiences based on Actual User Behavior
  • 17. © AKAMAI - EDGE 2016 https://www….. -https://www….. -https://www….. https://www….. -https://www….. HTML Request HTML Push 1 Push 2 Manual Push and Preconnect HTML Request HTML
  • 18. © AKAMAI - EDGE 2016 https://www….. -https://www….. -https://www….. https://www….. -https://www….. HTML Request HTML Push 1 Push 2 Adaptive Acceleration HTML Request HTML RUM Resource Timing Data
  • 19. © AKAMAI - EDGE 2016 What can be learned from RUM Resource Timing Data?
  • 20. © AKAMAI - EDGE 2016 How A2 prevents: Blocking Promises Push 1 Headers HTMLPush 2 MAX (kb) Priority
  • 21. © AKAMAI - EDGE 2016 How A2 prevents: Bad Ordering a.html b.css c.js c.css d.js e.jpg f.jpg h.jpg i.js j.js k.html l.css m.jpg n.js Document Complete 1. Learn page dependency graph from multiple samples 2. Respect page ordering when pushing 3. Prioritize css and fonts
  • 22. © AKAMAI - EDGE 2016 How A2 prevents: Duplicated Downloads https://example.com/i/hero.jpg?cb=123454321 https://example.com/i/hero.jpg?cb=123456789 https://example.com/i/library_v2.0.js https://example.com/i/library_v2.1.js Vary: Cookie Detect and omit varying resources Reanalyze regularly to pick up site changes Omit resources not cachable at Edge
  • 23. © AKAMAI - EDGE 2016 How A2 prevents: Pushing stuff already in browser cache Request A PUSH_PROMISE x.js Response x.js RST_STREAM Cache: x.js CACHE_DIGEST P(cached)
  • 24. © AKAMAI - EDGE 2016 What else do you need to know about Adaptive Acceleration? it does Preconnects too!! Its JuST Keeps GeTTing Smarter!! Much More to Come!!
  • 25. © AKAMAI - EDGE 2016 Call To Action 1. Adopt H2 2. Turn on Akamai RUM 3. Be cacheable 4. Review your domain sharding and certificate usage 5. Enable Adaptive Acceleration in Ion Beta Channel
  • 26. © AKAMAI - EDGE 2016 References https://developer.apple.com/videos/play/wwdc2016/711/ https://www.igvita.com/2013/06/12/innovating-with-http-2.0-server-push/ https://gsd.akamai.com/wiki/display/RUA/System+Architecture http://bos-lp4qc.kendall.corp.akamai.com/push/ https://blog.yoav.ws/being_pushy/ https://github.com/asilvas/http2-push-assets-demo https://h2o.examp1e.net/configure/http2_directives.html#http2-casper https://docs.google.com/document/d/1K0NykTXBbbbTlv60t5MyJvXjqKGsCVNYHyLEXIxYMv0/edit https://daveyshafik.com/archives/69603-http2-server-push-youre-doing-it-all-wrong.html https://http2.github.io/http2-spec/#PushResources https://tools.ietf.org/html/draft-kazuho-h2-cache-digest-00 https://www.facebook.com/atscaleevents/videos/vb.1576488989290866/1775942979345465/?type=2&theater http://blog.kazuhooku.com/2015/10/performance-of-http2-push-and-server.html