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
mrubyとこれからのWebサーバ技術
Search
MATSUMOTO Ryosuke
PRO
February 01, 2014
Research
1.2k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
mrubyとこれからのWebサーバ技術
Ruby東京プレゼンテーション2014テクニカルトーク後半
MATSUMOTO Ryosuke
PRO
February 01, 2014
More Decks by MATSUMOTO Ryosuke
See All by MATSUMOTO Ryosuke
問いを起点に、社会と共鳴する知を育む場へ
matsumoto_r
PRO
0
910
さくらインターネット研究所 アップデート2025年
matsumoto_r
PRO
0
960
リモートワークにおけるパッシブ疲労
matsumoto_r
PRO
6
5.6k
エンジニアのキャリアパスはどう描く? まつもとりーさんと考える後悔しないキャリア選択
matsumoto_r
PRO
10
2.5k
まつもとりーのこれまでとCOGNANOのこれから
matsumoto_r
PRO
0
390
2022年の研究所の評価制度振り返りと今後
matsumoto_r
PRO
0
940
VUCAワールドから紐解く組織や評価制度の変遷と再設計
matsumoto_r
PRO
9
27k
コンテナの研究開発から学ぶLinuxの要素技術
matsumoto_r
PRO
2
1.6k
開発者体験をさらに向上させる 事業と研究との連携
matsumoto_r
PRO
2
2.6k
Other Decks in Research
See All in Research
J-STAGEの現況と全文XML登載必須化について
xspa2012
0
200
Anthropic が提案する LLM の内部状態を自然言語で説明可能にした Natural Language Autoencoders / Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations
shunk031
0
200
LLM Compute Infrastructure Overview
karakurist
2
1.6k
LA-Bench 2025:実験指示から実行可能手順を生成するためのデータセット/LA-Bench 2025: A Dataset for Generating Executable Experimental Procedures from Experimental Instructions
stktu
0
150
2026年 オープンキャンパス 研究室紹介
junkurihara
0
170
最先端NLP勉強会2026 論文紹介:Reasoning with Sampling: Your Base Model is Smarter Than You Think (ICLR 2026 paper)
kogoro
4
580
AIエージェント時代のLLM-jpモデルのあるべき姿
k141303
0
620
長時間動画QAにおけるマルチエージェント推論 ・SVAgent: Storyline-Guided Long Video Understanding via Cross-Modal Multi-Agent Collaboration
murakawatakuya
1
200
研究室単位での自律的 IPv6接続性確立に向けたAS共同運用モデルの提案と実証
reokashiwa
PRO
0
210
Ghost in the 7‑Zip: The Shadow of Residential Proxies Creeping into Your Life
nttcom
0
2.1k
某助成金プロジェクト採択に向けて企業研究所のアウトリーチ専任者がやったこと
afroscript
0
180
量子サマースクール2026「量子計算機アーキテクチャ分野の概観」
youten622
1
860
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Un-Boring Meetings
codingconduct
0
410
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
680
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Marketing to machines
jonoalderson
1
5.7k
For a Future-Friendly Web
brad_frost
183
10k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Transcript
mrubyとこれからのWebサーバ技術 京都大学 松本 亮介 (研究者として)
Webサーバの構成の変化 • CGIはforkのコストにより遅い • インタプリタをサーバプロセスに組み込む • コンテンツとWebサーバ機能が密結合 • アプリケーションサーバとプロキシの分離 •
各機能が疎結合 • いかに各機能を効率よく連携させるか • mod_mrubyやngx_mrubyが有用 2 Ruby東京プレゼンテーション2014
Webクライアントの変化と影響 • PC上でのブラウザ • スマートフォンの普及 • Webサーバへのアクセス数が日々増加 • セッション確立のコストを低減させたい •
通信データの圧縮 • SPDY、HTTP/2.0の登場 • デバイスでもSPDY、HTTP/2.0通信がしたい • mruby-spdy、mruby-http2の開発 3 Ruby東京プレゼンテーション2014
これからのWebサーバ技術とモノ • IoT(Internet of Things) • モノがインターネットとつながっていく • mrubyはIoTの時代に重要な役割を担う •
よりWeb APIが普及 • 各種デバイスがSPDY、HTTP/2.0でデータ通信 • ユーザインターフェイスはデバイスに • データはAPIを介して向こう側に • 状態を持つ・持たないでアプリやデータを明確に分離 4 Ruby東京プレゼンテーション2014
状態を持つ・持たないで分離した結果 • 汎用的で軽量なWebアプリ実行環境の開発が進む • 状態を持たないWebアプリと実行環境は使い捨て可能 • Webアプリを静的コンテンツのように扱える • 汎用的な実行環境テスト[1] •
状態を持たないWebアプリと実行環境の分散化 • 応用例 – 必要な時にWebアプリと実行環境を作成・破棄・分散 – P2Pによる静的コンテンツ[2]やWebアプリの負荷分散 5 [1]宮下剛輔・栗林健太郎・松本亮介, serverspec: 宣言的記述でサーバの状態をテスト可能な汎用性の高い テストフレームワーク, 情報処理学会研究報告 - 第24回 インターネットと運用技術(IOT), 2014年2月. [2] Hiroki Okamoto, Ryosuke Matsumoto, Yasuo Okabe, Design of Cooperative Load Distribution for Addressing Flash Crowds Using P2P File Sharing Network, IEEE 37th Annual International Computer Software and Applications Conference (COMPSAC2013), July 2013. 参照: http://blog.matsumoto-r.jp/?p=3679
まとめ • 今後の課題 – 状態を持つデータ(サーバ)をどう扱うか – 状態を持たないアプリの分散をどう実装するか • Webサーバのアーキテクチャの見直しの時期? –
アーキテクチャの本質は20年変わっていない – Webサーバのプロセスモデルや権限分離の扱い – HTTP/2のタイミングでセキュリティやC10Kを見直す 6 Ruby東京プレゼンテーション2014