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
mod_mruby
Search
MATSUMOTO Ryosuke
PRO
March 11, 2013
Technology
540
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
mod_mruby
Tokyo Ruby Presentation 2013
MATSUMOTO Ryosuke
PRO
March 11, 2013
More Decks by MATSUMOTO Ryosuke
See All by MATSUMOTO Ryosuke
問いを起点に、社会と共鳴する知を育む場へ
matsumoto_r
PRO
0
930
さくらインターネット研究所 アップデート2025年
matsumoto_r
PRO
0
990
リモートワークにおけるパッシブ疲労
matsumoto_r
PRO
6
5.6k
エンジニアのキャリアパスはどう描く? まつもとりーさんと考える後悔しないキャリア選択
matsumoto_r
PRO
10
2.5k
まつもとりーのこれまでとCOGNANOのこれから
matsumoto_r
PRO
0
390
2022年の研究所の評価制度振り返りと今後
matsumoto_r
PRO
0
970
VUCAワールドから紐解く組織や評価制度の変遷と再設計
matsumoto_r
PRO
8
27k
コンテナの研究開発から学ぶLinuxの要素技術
matsumoto_r
PRO
2
1.6k
開発者体験をさらに向上させる 事業と研究との連携
matsumoto_r
PRO
2
2.6k
Other Decks in Technology
See All in Technology
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
310
How to Design Configuration for Rails Applications
willnet
1
860
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
200
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
130
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
2
160
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
190
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
1k
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
7
5.1k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
31
430k
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
120
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
3
880
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
160
Featured
See All Featured
Scaling GitHub
holman
464
140k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
BBQ
matthewcrist
90
10k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Navigating Weather and Climate Data
rabernat
0
560
The untapped power of vector embeddings
frankvandijk
2
1.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Designing for humans not robots
tammielis
254
26k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Transcript
mod_mruby Kyoto University okabe lab MATSUMOTO, Ryosuke
• 松本 亮介 (@matsumotory) • 京都大学 岡部研 博士課程
– ウェブサーバの高度化に耐えうる基盤設計 – 大規模、運用、セキュリティ、性能、拡張 • フリーランスエンジニア
Agenda • mruby • mod_mruby • demo
mruby • 技術的に – 最適化が容易(Pluggable) – 応用範囲が広い – 拡張の書きやすさ
– 組み込み、言語処理系、Ruby、C、GitHub、英語 • 個人的に – コミッタの雰囲気がとても良い – 自分の考えを起票、採用
mod_mruby • ApacheモジュールをRubyで書ける – 生産性の向上 – Webアプリを書く延長でサーバ拡張を書ける • 高速性・軽量性
– ApacheCon NA 2013でmod_luaと比較された – mod_mrubyをかなり意識 • ngx_mruby – Web拡張の記述をmrubyで標準化
demo • Apacheの内部情報をmod_mrubyでAPI化 • node.jsからAPI経由で情報をグラフ化 Apache api.rb
(Ruby) node.js browser WebSocket JSON mod_mruby
まとめ • mod_mruby – 高速性・軽量性 – Webサーバ拡張の書きやすさ – mod_mruby、ngx_mrubyによる拡張記述標準化
@matsumotory hSps://github.com/matsumoto-‐r/mod_mruby hSps://github.com/matsumoto-‐r/ngx_mruby
mod_vhost_alias by mod_mruby
Basic Auth with Redis by mod_mruby
suEXEC by mod_mruby