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
http2http3
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
kanayannet
December 04, 2022
Programming
230
0
Share
http2http3
kanayannet
December 04, 2022
More Decks by kanayannet
See All by kanayannet
厳密な定義
kanayannet
0
90
Mcp Training
kanayannet
0
160
MCP で「こいつ動くぞ」
kanayannet
0
130
無関心の谷
kanayannet
0
1.1k
生成AIの使いどころ
kanayannet
0
240
github copilot と 心理的安全性
kanayannet
0
270
FW と ライブラリ の考え方
kanayannet
0
270
TDDと今まで
kanayannet
0
650
個人開発 稼げなくてもいいアプリ
kanayannet
0
590
Other Decks in Programming
See All in Programming
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
180
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
790
「話せることがない」を乗り越える 〜日常業務から登壇テーマをつくる思考法〜
shoheimitani
4
850
Making the RBS Parser Faster
soutaro
0
490
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.6k
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
180
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
570
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
290
AIを導入する前にやるべきこと
negima
2
110
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
640
tRPCの概要と少しだけパフォーマンス
misoton665
2
220
From Formal Specification to Property Based Test
ohbarye
0
200
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.2k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
360
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.7k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Faster Mobile Websites
deanohume
310
31k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Speed Design
sergeychernyshev
33
1.6k
RailsConf 2023
tenderlove
30
1.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
The browser strikes back
jonoalderson
0
980
Transcript
HTTP3 HTTP2 比較 Gunma.web #47 @kanayannet
大前提 枯れてない技術 正式版じゃないものを扱います 結果「完敗」でも多めに見てね 人柱万歳!!
HTTP2 2016 年に発表した もう あれから6 年も経ってるのね汗 https 必須, let's encrypt
登場, etc... https://www.slideshare.net/kanayannet/http2- 57427473
HTTP3 今回もHTTPS 必須 && 証明書もきちんと用意 オレオレ通してくれないらしい 具体的に、どうちがうの?
QUIC HTTP = TCP の代替を目指してGoogle によって実 験的に開発されたUDP 上で動作するトランスポー ト層プロトコル パケットの再送、トラフィックの制御など、TCP
上で HTTP/2 を使用する場合の不都合= 通信開始 時の往復回数を減らす目的がある。
QUIC 具体的な図 https://www.cybertrust.co.jp/blog/ssl/knowledge/abo http3.html
まだ理解がフワッと してますよね? デモを見せます。 befor after です。 Nginx の preview 版です
構成 Docker で nginx preview 版を用意 証明書は自分が現在使っているものでやる kanayan.me 端末の /etc/hosts
を書き変える kanayan.me -> 127.0.0.1 設定ファイルを volume mount させる http2 と http3 を切り替えて比較検証
HTTP 2.0 https://kanayan.me
HTTP 3.0 https://kanayan.me
あれ? http3 の方が遅いよ? なぜ??
GMO さんも同様だった https://recruit.gmo.jp/engineer/jisedai/blog/nginx- http-3/
注意点 実は他の方々もNginx で高速化は辿り着けてない っぽい? Nginx はまだ正式版ではない
まとめ 「通信が早くなる」?? -> むしろまだまだNginx じゃ遅い いつ頃世の中の標準に? HTTP2 も結構かかったよ?( 話題になって1 年以
上) 参考: https://dev.classmethod.jp/articles/cloudfront- http2/
参考 https://recruit.gmo.jp/engineer/jisedai/blog/nginx-htt 3/ https://www.cybertrust.co.jp/blog/ssl/knowledge/abo http3.html https://github.com/macbre/docker-nginx-http3
完敗!
ご清聴 ありがとうございました。
None