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
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
98
Sandstorm.io
raboof
0
62
JVM Hacking
raboof
0
300
Heating Up!
raboof
0
47
CRDTs Illustrated - StrangeLoop2015
raboof
0
300
Unikernels - Dutch Devops Engineers workshop
raboof
0
130
akka-persistence
raboof
0
51
Kamon
raboof
0
110
Slim table types (FitNesse meetup)
raboof
0
50
Other Decks in Technology
See All in Technology
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
320
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
230
さきさん文庫の書籍ができるまで
sakiengineer
0
330
Dynamic Workersについて
yusukebe
2
560
美味しいスイスチーズを作ろう🧀🐭
taigamikami
1
210
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
610
ChatworkとBPaaS 異なる特性で学んだAI機能開発の ベストプラクティス
kubell_hr
2
1k
「速く作る」から「正しく作る」へ ─ 生成AI時代の開発フロー改革の ロードマップと実行 ─
starfish719
0
160
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
350
OpenID Connectによるサービス間連携
takesection
0
150
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.8k
サイバーセキュリティ概論 / Introduction to Cybersecurity
ks91
PRO
0
110
Featured
See All Featured
Everyday Curiosity
cassininazir
0
220
Technical Leadership for Architectural Decision Making
baasie
3
390
The Spectacular Lies of Maps
axbom
PRO
1
780
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
440
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.8k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Amusing Abliteration
ianozsvald
1
190
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
BBQ
matthewcrist
89
10k
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? •