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_perl
Search
OGATA Tetsuji
August 06, 2012
Technology
34
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
すごいmod_perl
2012/08/06 に で発表したスライドです。
OGATA Tetsuji
August 06, 2012
Transcript
24 slides
͍͢͝mod_perl גࣜձࣾfonfun ඌܗ మ࣍ (OGATA Tetsuji) Twitter: @xtetsuji 2012/08/06 Hachioji.pm#20
*Preface for readers* • ͜ͷεϥΠυ 2012/08/06ʹߦΘΕͨ Hachioji.pm#20ʹͯʮ1ຕLTʯΛߦͬͨ ࡍͷεϥΠυʹɺޙܰඍͳमਖ਼ΛՃ ͑ͨͷͰ͢ •ωλτʔΫͰ͢
ࣗݾհ
ࣗݾհ • ඌܗ మ࣍ (OGATA Tetsuji) • Twitter: @xtetsuji •
Blog: http://post.tetsuji.jp/ • ಘҙٕ: mod_perl • ւಓग़ͰHokkaido.pmʹΑ͘ग़
ࣗݾհ • Hokkaido.pmͰຖճڰ৴తͳmod_perl τʔΫΛ͢Δ͜ͱͰҰ෦Ͱ༗໊ʁ • ϞμϯPerlʹΕ͍ͯͳ͍30
ॴଐհ • גࣜձࣾfonfun(ϑΥϯϑΝϯ) http://www.fonfun.co.jp/ • ओྗɿϦϞʔτϝʔϧ http://rmail.jp/
mod_perl วྺ
mod_perl วྺ • 2003ʹࣾͷபίϯςϯπ͕ mod_perlͷCGIߴԽڥʹҠߦ • ઌഐํ͕ʮmod_perl͕ʯͱ͔ݴ͍ग़͢ • Perl CGIͱͷҧ͍͕Α͔͘Βͳ͔ͬͨ
• ԶʮPerl CGIͷߴԽ͚ͩͳͷʁʯ
mod_perl วྺ • ઌഐ΄ͱΜͲԿڭ͑ͯ͘Εͳ͍ͷ Ͱɺඞࢮʹษڧͨ͠ • Perl CGIͷߴԽڥͰϋϚͬͨ • mod_perlͷॻ੶Λख़ಡͯ͠ษڧ͠Α͏
ͱ͍͏ܾҙΛͨ͠
mod_perl วྺ • mod_perlΛษڧ͢Δ্ͰࢀߟʹͳΔॻ੶༸ ॻ͔͠ͳ͔ͬͨ • Practical mod_perl (Orelly 2003;
http://modperlbook.org/) • The mod_perl Developer’s Cookbook (Sams Publishing 2002; http://www.modperlcookbook.org/) • mod_perl2 User’s Guide (Onyx Neon 2007; http://modperl2book.org/)
mod_perl วྺ • ࣮ΦϥΠϦʔ͔Βॻग़൛͞Εͯ ͍Δ͚Ͳɺݹ͍͠ߏ͕͔ΓͮΒ͍ • Apache֦ுΨΠυ(্Լר) (Oreilly Japan 2000;
※ݱࡏઈ൛)
mod_perl วྺ • ӳޠ͕͔Βͳ͍͔Βւಓͷࠃཱ େֶΛఘΊ্ͯژͨ͠ͷʹӳޠ͔ʂ • mod_perl1ʹ͍ͭͯղઆͨ͠2ಷث • ඞࢮʹಡΈ;͚ͬͨ
mod_perl วྺ • ͍ͭͷ·ʹ͔ mod_perl ͷ Apache ֦ு ϋϯυϥॻ͚ΔΑ͏ʹͳͬͨ •
Βͳ͍͏ͪʹઌഐΑΓৄ͘͠ͳͬͨ • ੈؒWAFͰΓ্͕͍ͬͯΔͷʹɺ mod_perlͰԿͰղܾ͢Δෆث༻͞
mod_perl ͷ ͕͍͜͜͢͝
৽ن։ൃҊ݅ • பίϯςϯπอक͚ͩͰͳ͘ɺ৽ن ։ൃ͕ඞཁʹͳ͖ͬͯͨ • ֆจࣈΛղऍ͢Δϝʔϧαʔό • ΩϟογϡαʔόͷΑ͏ͳͷ • …ͳͲͳͲ
৽ٕज़ಋೖͷྗ • ԶʮͦΕmemcached(ryʯ • ԶʮͦΕqpsmtpd(ryʯ • ԶʮͦΕpla(ryʯ • ԶʮͦΕ(ryʯ
৽ٕज़ಋೖͷྗ • ্࢘Πϯϑϥ෦ॺʹʮͰɺ memcachedqpsmtpd(ུ)ͷݎ࿚ੑ ݕূͯ͠આ໌͍͚ͨͩ·͔͢ʁࢹ Ͳ͏͢Ε͍͍ͷͰ͠ΐ͏͔ʯͱݴΘ ΕΔ • Զʮ…ʯ(´-`).ŇoOʢ࣌ؒແ͍ͷʹͳʣ
৽ٕज़ಋೖͷྗ • ͳΒmod_perlͰॻ͚͍͍ • Զʮ͜ΕApacheͰ͢ʯ • Զʮݎ࿚ੑApacheಉͰ͢ɻࢹ Apacheͷ80൪ϙʔτʹHTTPͰ ”GET /”
ͯ͠Լ͍͞ʯ
All things are mod_perl • ͜͏ͯ͠ɺApache mod_perlͰͰ͖ͨ SMTPαʔόจࣈྻελοΫαʔό ෩มΘΓͳαʔό͕ଓʑͱੜͨ͠ •
༻ڥೖ͞Εͯɺࠓ҆ఆՔಇ ͍ͯ͠·͢
mod_perlͷ͕͍͜͜͢͝ • ্࢘Πϯϑϥ෦ॺΛὃͤΔޮՌతʹ આಘͰ͖Δ • Έͳ͞Μmemcachedͱ͔qpsmtpdͱ͔ ৽͍͠ϓϩμΫτ͕͑ͳ͍߹ɺ ͥͻmod_perlΛͬͯΈ·ͤΜ͔ʁ
೦ͷͨΊิ • ্࢘Πϯϑϥ෦ॺdis͡Όͳ͍Αʂ • ձࣾํͱͯ͠ɺபίϯςϯπֵ৽ ΑΓ҆ఆੑΛඇৗʹॏࢹ͍ͯ͠Δؼ݁ • ৽ٕज़ͳ͔ͳ͔ೖͰ͖ͳ͍͚Ͳɺ ͦͷ͔ΘΓmod_perlͰ૬༡͍ͯΔ
mod_perl ଓ͖ • ͜͜Ͱએ • ͯ͞ɺଓ͖ YAPC::Asia Tokyo 2012 ͷ
ʮϞμϯmod_perlೖʯͰ
None
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠
More Decks by OGATA Tetsuji
See All by OGATA Tetsuji
Hokkaido.pmがあって YAPCでトークできた
xtetsuji
0
64
モダンmod_perl入門 #yapcasia
xtetsuji
0
49
札幌でテンプレート #hokkaidopm
xtetsuji
0
51
Perl WAF Overview, with mod_perl - Hokkaido.pm#7 #hokkaidopm
xtetsuji
0
45
PerlのTwitterモジュールの紹介
xtetsuji
0
52
mod_perl hacks PHP
xtetsuji
0
51
文字化け2011〜まだまだ化けます〜
xtetsuji
0
33
mod_perl温故知新 〜Perl CGIの高速化からメールサーバまで〜
xtetsuji
0
28
Other Decks in Technology
See All in Technology
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
2
260
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
650
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
370
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
220
新規事業開発でのAWS活用成功談&失敗談! 〜新規事業開発を専門に行うRelicならではのAWS活用〜
amixedcolor
1
160
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
640
技術同人誌を作る方法
yoshimura_datam
0
100
FPGAでアクティブセンシングがやりたくてカメラモジュールを自作した話
ryuz88
0
130
AIフレンドリーなGenerative UIをJSXで
uhyo
2
840
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
9
5.7k
Kubernetes, Agones, WebRTC, GPU で作る クラウドゲーミング基盤を本番運用に乗せるまで
vivion
1
290
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
900
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
390
Chasing Engaging Ingredients in Design
codingconduct
0
410
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Skip the Path - Find Your Career Trail
mkilby
1
300
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
860
How to Ace a Technical Interview
jacobian
280
24k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
490
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
690