Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
Transcript
6 slides
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
More Decks by MATSUMOTO Ryosuke
See All by MATSUMOTO Ryosuke
問いを起点に、社会と共鳴する知を育む場へ
matsumoto_r
PRO
0
950
さくらインターネット研究所 アップデート2025年
matsumoto_r
PRO
0
1k
リモートワークにおけるパッシブ疲労
matsumoto_r
PRO
6
5.6k
エンジニアのキャリアパスはどう描く? まつもとりーさんと考える後悔しないキャリア選択
matsumoto_r
PRO
10
2.5k
まつもとりーのこれまでとCOGNANOのこれから
matsumoto_r
PRO
0
400
2022年の研究所の評価制度振り返りと今後
matsumoto_r
PRO
0
990
VUCAワールドから紐解く組織や評価制度の変遷と再設計
matsumoto_r
PRO
8
27k
コンテナの研究開発から学ぶLinuxの要素技術
matsumoto_r
PRO
2
1.6k
開発者体験をさらに向上させる 事業と研究との連携
matsumoto_r
PRO
2
2.6k
Other Decks in Research
See All in Research
A new deal for disabled people
resolutionfoundation
0
370
Work in progress: How have changes in the labour market over the past decade affected attitudes to work?
resolutionfoundation
0
320
[最先端NLP勉強会2026] Agentic Rubrics as Contextual Verifiers for SWE Agents
rfujii
1
410
Empreinte carbone des ovins : une approche globale (technique, économique, environnementale) – 4 années de résultats avec LIFE GREEN SHEEP
institutdelelevage
PRO
0
150
AI創薬の壁
kanojikajino
1
1.2k
ros2-perf-multihost: Automated Coordination Framework for Objective Architecture Evaluation in Distributed Systems
takasehideki
0
170
最先端NLP 2026 論文紹介: Wait, Wait, Wait... Why Do Reasoning Models Loop? / SNLP Paper Review: Wait, Wait, Wait... Why Do Reasoning Models Loop?
tkng
0
280
山中市政が招いた組織崩壊:よこはま安心ボックスを例に
sishi
0
370
山中市政の総括:相反する二つの顔
sishi
0
240
HackSick vol.7 LT資料【LLMアーキテクチャ入門・事前学習時の躓き所解説】 スパースなAttention・状態空間モデル
rikkabotan7
0
240
SAM3を用いたコマ・吹き出しの 領域検出と分割構造からの読み順推定
kzmssk
0
230
[webinaire du Ciirpo] Agnelages plein air : des éleveurs partagent leurs pratiques
institutdelelevage
PRO
0
330
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
940
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Thoughts on Productivity
jonyablonski
76
5.5k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Between Models and Reality
mayunak
4
570
The World Runs on Bad Software
bkeepers
PRO
72
12k
The agentic SEO stack - context over prompts
schlessera
0
1k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
Six Lessons from altMBA
skipperchong
29
4.6k