Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
1.2k
mrubyとこれからのWebサーバ技術
Ruby東京プレゼンテーション2014テクニカルトーク後半
MATSUMOTO Ryosuke
PRO
February 01, 2014
Tweet
Share
More Decks by MATSUMOTO Ryosuke
See All by MATSUMOTO Ryosuke
問いを起点に、社会と共鳴する知を育む場へ
matsumoto_r
PRO
0
740
さくらインターネット研究所 アップデート2025年
matsumoto_r
PRO
0
800
リモートワークにおけるパッシブ疲労
matsumoto_r
PRO
6
5.4k
エンジニアのキャリアパスはどう描く? まつもとりーさんと考える後悔しないキャリア選択
matsumoto_r
PRO
10
2.3k
まつもとりーのこれまでとCOGNANOのこれから
matsumoto_r
PRO
0
330
2022年の研究所の評価制度振り返りと今後
matsumoto_r
PRO
0
820
VUCAワールドから紐解く組織や評価制度の変遷と再設計
matsumoto_r
PRO
9
26k
コンテナの研究開発から学ぶLinuxの要素技術
matsumoto_r
PRO
2
1.6k
開発者体験をさらに向上させる 事業と研究との連携
matsumoto_r
PRO
2
2.5k
Other Decks in Research
See All in Research
Combining Deep Learning and Street View Imagery to Map Smallholder Crop Types
satai
3
320
思いつきが武器になる:研究というゲームを始めよう / Ideas Are Your Equipments : Let the Game of Research Begin!
ks91
PRO
0
110
Panopticon: Advancing Any-Sensor Foundation Models for Earth Observation
satai
3
460
論文紹介: ReGenesis: LLMs can Grow into Reasoning Generalists via Self-Improvement
hisaokatsumi
0
150
AIスパコン「さくらONE」のLLM学習ベンチマークによる性能評価 / SAKURAONE LLM Training Benchmarking
yuukit
2
910
"主観で終わらせない"定性データ活用 ― プロダクトディスカバリーを加速させるインサイトマネジメント / Utilizing qualitative data that "doesn't end with subjectivity" - Insight management that accelerates product discovery
kaminashi
15
17k
競合や要望に流されない─B2B SaaSでミニマム要件を決めるリアルな取り組み / Don't be swayed by competitors or requests - A real effort to determine minimum requirements for B2B SaaS
kaminashi
0
370
Unsupervised Domain Adaptation Architecture Search with Self-Training for Land Cover Mapping
satai
3
430
Aurora Serverless からAurora Serverless v2への課題と知見を論文から読み解く/Understanding the challenges and insights of moving from Aurora Serverless to Aurora Serverless v2 from a paper
bootjp
5
910
情報技術の社会実装に向けた応用と課題:ニュースメディアの事例から / appmech-jsce 2025
upura
0
280
ドメイン知識がない領域での自然言語処理の始め方
hargon24
1
220
データサイエンティストをめぐる環境の違い2025年版〈一般ビジネスパーソン調査の国際比較〉
datascientistsociety
PRO
0
330
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
100
The Cult of Friendly URLs
andyhume
79
6.7k
RailsConf 2023
tenderlove
30
1.3k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
0
22
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
68
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
88
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
2
65
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
170
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
0
94
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