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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Arnout Engelen
August 21, 2015
Technology
71
0
Share
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
97
Sandstorm.io
raboof
0
62
JVM Hacking
raboof
0
290
Heating Up!
raboof
0
47
CRDTs Illustrated - StrangeLoop2015
raboof
0
290
Unikernels - Dutch Devops Engineers workshop
raboof
0
130
akka-persistence
raboof
0
49
Kamon
raboof
0
110
Slim table types (FitNesse meetup)
raboof
0
50
Other Decks in Technology
See All in Technology
Choose your own adventure in agentic design patterns
glaforge
0
160
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
280
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
510
Chasing Real-Time Observability for CRuby
whitegreen
0
550
The 7 pitfalls of AI
ufried
0
120
データ定義の混乱と戦う 〜 管理会計と財務会計 〜
wonohe
0
170
AgentCore Managed Harness を使ってみよう
yakumo
2
280
AIコーディング時代における、ソフトウェアサプライチェーン攻撃に対する防衛術(簡易版)
soysoysoyb
0
200
Percolatorを廃止し、マルチ検索サービスへ刷新した話 / Search Engineering Tech Talk 2026 Spring
visional_engineering_and_design
0
220
MCPサーバーを中核としたAIエージェント開発と業務自動化/nikkei-tech-talk-45
nikkei_engineer_recruiting
0
100
エージェントスキルを作って自分のインプットに役立てよう
tsubakimoto_s
0
490
【技術書典20】OpenFOAM(自宅で深める流体解析)流れと熱移動(2)
kamakiri1225
0
340
Featured
See All Featured
So, you think you're a good person
axbom
PRO
2
2k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
280
Darren the Foodie - Storyboard
khoart
PRO
3
3.3k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Everyday Curiosity
cassininazir
0
200
AI: The stuff that nobody shows you
jnunemaker
PRO
6
600
Raft: Consensus for Rubyists
vanstee
141
7.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
140
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? •