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.0 入門
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tsuyoshi nakamura
September 30, 2016
Science
0
660
HTTP/2.0 入門
HTTP/2.0 入門
tsuyoshi nakamura
September 30, 2016
Tweet
Share
More Decks by tsuyoshi nakamura
See All by tsuyoshi nakamura
社内の勉強会で発表した_output_一部抜粋版_.pdf
tsuyoshi
0
490
PHPを少しでも早く_条件はあるよ_.pdf
tsuyoshi
0
86
スタートアップ6年目のレビュー文化.pdf
tsuyoshi
1
1.9k
PHPを少し深堀るよ.pdf
tsuyoshi
0
380
Reactive_Manifesto.pdf
tsuyoshi
0
78
About_Resilience.pdf
tsuyoshi
1
88
エンジニアの循環ってgood_or_bad_.pdf
tsuyoshi
0
1.3k
スタートアップしてからの失敗の数々
tsuyoshi
0
2.4k
スタートアップエンジニアの役割
tsuyoshi
0
540
Other Decks in Science
See All in Science
機械学習 - SVM
trycycle
PRO
1
1k
機械学習 - ニューラルネットワーク入門
trycycle
PRO
0
960
AIPシンポジウム 2025年度 成果報告会 「因果推論チーム」
sshimizu2006
3
380
AIによる科学の加速: 各領域での革新と共創の未来
masayamoriofficial
0
460
Kaggle: NeurIPS - Open Polymer Prediction 2025 コンペ 反省会
calpis10000
0
430
白金鉱業Meetup_Vol.20 効果検証ことはじめ / Introduction to Impact Evaluation
brainpadpr
2
1.7k
Celebrate UTIG: Staff and Student Awards 2025
utig
0
1.2k
蔵本モデルが解き明かす同期と相転移の秘密 〜拍手のリズムはなぜ揃うのか?〜
syotasasaki593876
1
230
Distributional Regression
tackyas
0
370
Hakonwa-Quaternion
hiranabe
1
190
academist Prize 4期生 研究トーク延長戦!「美は世界を救う」っていうけど、どうやって?
jimpe_hitsuwari
0
500
データベース08: 実体関連モデルとは?
trycycle
PRO
0
1k
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
990
The Curious Case for Waylosing
cassininazir
0
270
4 Signs Your Business is Dying
shpigford
187
22k
How STYLIGHT went responsive
nonsquared
100
6k
Google's AI Overviews - The New Search
badams
0
930
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
200
sira's awesome portfolio website redesign presentation
elsirapls
0
190
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
53k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
260
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
260
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
The untapped power of vector embeddings
frankvandijk
2
1.6k
Transcript
2016.09-30 社内勉強会 @nakamura_tsuyo4 HTTP/2 入門
Agenda HTTP/2の内容を見る HTTPの歴史 対応状況 考察 関連情報
History About HTTP 1
History 1996 HTTP/1.0 1991 HTTP/0.9 1999 HTTP/1.1 2015 HTTP/2.0
History 2009年 GoogleからSPDY ◦ SPDY/1 ◦ SPDY/2 ◦ SPDY/3 ◦
SPDY/3.1
SPDYの進化版でHTTP/2の開発 ◦ IETFのHTTPBisのワーキンググルー プが進める ◦ RFC7540としてRFC化 History
HTTPBis Bisってなに... 小ネタ
HTTPBis Bisはラテン語系(french,spanish,)で「繰り返し」 「再び」という意味がある HTTPのsecond version of protocol
ブラウザとWebサーバの 実装によって実現 だからRFCやらIETFというwordがでてくる
HTTP/2 2
About HTTP/2 http://blog.redbox.ne.jp/http2-cdn.html ストリームの多重化
About HTTP/2 ストリームの優先度 ◦ Dependency Weighting ◦ PRIORITY Frame ◦
ブラウザが更新
About HTTP/2 headerの圧縮 ◦ HPACK (RFC7541) ◦ ネットワーク帯域の節約
About HTTP/2 フローの制御 ◦ Stream毎に制御可能 ▫ ひとつのストリームが帯域リソースの占有を防ぐ ▫ 重い動画や画像のダウンロード時にとか
About HTTP/2 サーバプッシュ http://codezine.jp/article/detail/8663?p=2
About HTTP/2 接続 -だいたいALPN- ◦ ALPN ▫ Application-Layer Protocol Negotiation
▫ サーバ側がプロトコルを選択 ◦ NPN ▫ Next Protocol Negotiation ▫ クライアントがプロトコルを選択
Correspondence table Browser and Server 3
対応状況 -ブラウザ- ブラウザ 対応バージョン Chrome 42以上 Firefox 38以上 IE Windows
10上のInternet Explorer 11 ※2016.09.29時点mac chromeの最新は53 ※検索するとほとんどのモダンブラウザであれば対応済みと考えて良さそう ※どのブラウザもTLS拡張(ALPN)が必要
対応状況 -サーバ- サーバ 対応バージョン Nginx 1.9.5以上 Apache 2.4系以上 Tomcat 9以上
※TLS拡張にはOpenSSLの1.0.2が必要
考察 4
効果が薄いパターン ◦ すでに複数ドメインで運用しているサイト ◦ リクエスト数少ないサイト ◦ HTTPSを使ってないサイト
効果が高いパターン ◦ 通信回線が弱いユーザ(mobile含む) ▫ 逆に回線の良いユーザには体感しづらい ◦ そもそもアクセスがおおいサイト ◦ 動画や重い画像を扱ってるサイト ◦
すでにCDNを使っててもCDN屋さんでHTTP2対応さ れてるので活用メリットはある ▫ https://http2.akamai.com/demo ◦ GoogleBotもHTTP2をサポートするらしいのでSEOで プラス効果が期待出来る
関連情報 4
その他 Googleはすでに次の仕様策定中の様子 ▫ QUIC ▫ UDPプロトコルも活用して高速化を目指す HTTP/2 and SPDY indicator
▫ Chrome extension http://www.rfc-editor.org/rfc/rfc7540.txt ▫ 原文