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
プロポーザルのコツ ~ Kaigi on Rails 2025 初参加で3名の登壇を実現 ~
naro143
1
250
E2Eテスト設計_自動化のリアル___Playwrightでの実践とMCPの試み__AIによるテスト観点作成_.pdf
findy_eventslides
2
640
スタートアップにおけるこれからの「データ整備」
shomaekawa
2
480
20201008_ファインディ_品質意識を育てる役目は人かAIか___2_.pdf
findy_eventslides
2
650
生成AI時代のセキュアコーディングとDevSecOps
yuriemori
0
110
カンファレンスに託児サポートがあるということ / Having Childcare Support at Conferences
nobu09
1
590
Simplifying Cloud Native app testing across environments with Dapr and Microcks
salaboy
0
170
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
930
これがLambdaレス時代のChatOpsだ!実例で学ぶAmazon Q Developerカスタムアクション活用法
iwamot
PRO
8
1.1k
Node.js 2025: What's new and what's next
ruyadorno
0
360
サイバーエージェント流クラウドコスト削減施策「みんなで金塊堀太郎」
kurochan
4
2k
リセラー企業のテクサポ担当が考える、生成 AI 時代のトラブルシュート 2025
kazzpapa3
1
350
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
What's in a price? How to price your products and services
michaelherold
246
12k
We Have a Design System, Now What?
morganepeng
53
7.8k
For a Future-Friendly Web
brad_frost
180
10k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Bash Introduction
62gerente
615
210k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Being A Developer After 40
akosma
91
590k
GraphQLとの向き合い方2022年版
quramy
49
14k
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? •