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
0
70
HTTP/2
Some notes after a day of playing with HTTP/2
Arnout Engelen
August 21, 2015
Tweet
Share
More Decks by Arnout Engelen
See All by Arnout Engelen
Typesetting Code
raboof
0
95
Sandstorm.io
raboof
0
60
JVM Hacking
raboof
0
290
Heating Up!
raboof
0
44
CRDTs Illustrated - StrangeLoop2015
raboof
0
280
Unikernels - Dutch Devops Engineers workshop
raboof
0
120
akka-persistence
raboof
0
48
Kamon
raboof
0
110
Slim table types (FitNesse meetup)
raboof
0
49
Other Decks in Technology
See All in Technology
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
370
大「個人開発サービス」時代に僕たちはどう生きるか
sotarok
20
9.9k
[ JAWS-UG 東京 CommunityBuilders Night #2 ]SlackとAmazon Q Developerで 運用効率化を模索する
sh_fk2
3
390
開発者を支える Internal Developer Portal のイマとコレカラ / To-day and To-morrow of Internal Developer Portals: Supporting Developers
aoto
PRO
1
450
RSCの時代にReactとフレームワークの境界を探る
uhyo
10
3.4k
自作JSエンジンに推しプロポーザルを実装したい!
sajikix
1
170
Django's GeneratedField by example - DjangoCon US 2025
pauloxnet
0
140
DevIO2025_継続的なサービス開発のための技術的意思決定のポイント / how-to-tech-decision-makaing-devio2025
nologyance
1
380
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
5
390
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
12
4.7k
Rustから学ぶ 非同期処理の仕組み
skanehira
1
130
人工衛星のファームウェアをRustで書く理由
koba789
14
7.7k
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
4 Signs Your Business is Dying
shpigford
184
22k
How to Ace a Technical Interview
jacobian
279
23k
The Language of Interfaces
destraynor
161
25k
Building an army of robots
kneath
306
46k
A better future with KSS
kneath
239
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Context Engineering - Making Every Token Count
addyosmani
1
37
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
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? •