Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
HTTP/2
Search
Arnout Engelen
August 21, 2015
Technology
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HTTP/2
Some notes after a day of playing with HTTP/2
Arnout Engelen
August 21, 2015
More Decks by Arnout Engelen
See All by Arnout Engelen
Typesetting Code
raboof
0
100
Sandstorm.io
raboof
0
64
JVM Hacking
raboof
0
310
Heating Up!
raboof
0
51
CRDTs Illustrated - StrangeLoop2015
raboof
0
300
Unikernels - Dutch Devops Engineers workshop
raboof
0
130
akka-persistence
raboof
0
55
Kamon
raboof
0
120
Slim table types (FitNesse meetup)
raboof
0
53
Other Decks in Technology
See All in Technology
markdown-poster Introduction
kazamori
0
420
AI時代のデータ基盤を考える問い
pacocat
0
770
AI駆動開発を組織で促すために
lycorptech_jp
PRO
7
8.9k
マイナンバーカード本人確認の実装比較(OAuth/OIDC Numa (Immersion) Workshop 2026) / 20260825 numa-12
oidfj
PRO
0
370
Guerilla InnerSource in enterprises, during the AI hype
onenashev
PRO
0
120
Point Cloud as a Foreign Language for Multi-modal Large Language Model
takmin
0
330
「ミスを許さない手順書」を作ってみた 〜 個人的にはこれ以上できることはあまりなさそう/20260827-ssmjp-operation-procedure-update
opelab
16
17k
Kiro5兄弟のいまどきのセキュリティ基礎知識
kentapapa
0
420
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
1
640
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
25k
指示待ちから変化に応じるClaude Codeへ!~環境からAgentへの帰り道を作る~
gotalab555
8
1.7k
AI時代の「OAuth認証」にどう物申すか?(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
380
Featured
See All Featured
A designer walks into a library…
pauljervisheath
211
24k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
How GitHub (no longer) Works
holman
316
150k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
270
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
490
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
Exploring anti-patterns in Rails
aemeredith
3
480
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.6k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
810
Darren the Foodie - Storyboard
khoart
PRO
3
3.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
HTTP/2 Marc, Arnout, Nanne, Arnold
HTTP/2 in the wild • Used by Twitter and Google
(heavily) • Browsers support it ◦ Chrome (also on mobile) ◦ Firefox ◦ IE11 on Windows 10 ◦ MS Edge ◦ Safari (not on mobile) ◦ Opera
HTTP/2 • RFC 7540 standard since May 2015 • Multiplex
all requests over 1 TCP socket ◦ Better parallel requests • Server Push ◦ Push resources client might need later
HTTP/2 in Go • https://http2.golang.org/ • Nice demo of parallel
requests ◦ http://http2.golang.org/gophertiles?latency=200
Our goals for today • Nice demo of Server Push
in go http2 ◦ Static resources (img, css, js) ◦ Ajax resources • Investigate writing http2-server ◦ complex protocol • Investigate java support ◦ Netty, Jetty, Undertow, OkHttp, gRPC
Demo! • Server push indeed reduces load time :)
Lessons Learned: HTTP/2 • Invisible to user (https) ◦ You
are already using it • Basic advantages can be achieved today ◦ With few application-level changes • Push works for both static & ajax resources ◦ But requires extension of current server-side api’s
Lessons Learned: HTTP/2 • Server Push is NOT an equivalent
of websockets or push notifications • Debugging is tricky ◦ chrome://net-internals ◦ Developer Tools can be confusing
Lessons Learned: go http2 • go http2 does not yet
expose Server Push ◦ But a PR is in the works ◦ Which manages to break Firefox(!)
Questions • Proxy support? • Amazon? •