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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Arnout Engelen
August 21, 2015
Technology
0
71
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
96
Sandstorm.io
raboof
0
62
JVM Hacking
raboof
0
290
Heating Up!
raboof
0
46
CRDTs Illustrated - StrangeLoop2015
raboof
0
290
Unikernels - Dutch Devops Engineers workshop
raboof
0
120
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
AI推進者の視点で見る、Bill OneのAI活用の今
sansantech
PRO
2
310
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
810
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
130
最速で価値を出すための プロダクトエンジニアのツッコミ術
kaacun
1
480
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
390
メルカリのAI活用を支えるAIセキュリティ
s3h
8
5.8k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
140
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
2
160
20260129_CB_Kansai
takuyay0ne
1
250
ゼロから始めたFindy初のモバイルアプリ開発
grandbig
2
590
Amazon Bedrock AgentCore EvaluationsでAIエージェントを評価してみよう!
yuu551
0
200
Featured
See All Featured
Leo the Paperboy
mayatellez
4
1.4k
Code Review Best Practice
trishagee
74
20k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Ethics towards AI in product and experience design
skipperchong
2
190
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Are puppies a ranking factor?
jonoalderson
1
2.7k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
170
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
130
From π to Pie charts
rasagy
0
120
Reality Check: Gamification 10 Years Later
codingconduct
0
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? •