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
第二回ホスティング事業部TechMTG / Hosting TechMTG No2
Search
harasou
February 24, 2017
95
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
第二回ホスティング事業部TechMTG / Hosting TechMTG No2
LT
harasou
February 24, 2017
Transcript
16 slides
γχΞΤϯδχΞ ݪޱफޛ!IBSBTPV ϗεςΟϯάࣄۀ෦ΠϯϑϥνʔϜ IUUQTIBSBTPVKQ
8IBUJTUIJT
NSVCZ
NSVCZϖύϘͷར༻ঢ়گ αʔϏε ར༻த ະར༻ ϗεςΟϯά ϩϦϙοϓʂ ϜʔϜʔυϝΠϯ ϔςϜϧ ϓνɾϗʔϜϖʔδαʔϏε EBZT"MCVN
4DBMF &$ Χϥʔϛʔγϣοϓ TV[VSJ Χϥϝϧ άʔϖ ϋϯυϝΠυ NJOOF UFUPUF ίϛϡχςΟ +6(&.
NSVCZͱ “Rubyの良さを組み込みに”を合言葉で開発された言語 ɾ·ͭͱΏ͖ͻΖࢯ͕த৺ͱͳΓ݄̐ʹϦϦʔε ɾলαΠζɾলϝϞϦͳίϯύΫτͳ3VCZ ɾ-JOVY8JOEPXT͚ͩͰͳ͘04Ϩε3504Ͱಈ࡞
ΈࠐΈػث
ΈࠐΈػث ɾ3BTQCFSSZ1J ɾ*-$&"1- ɾ4$4,FO[JCPBSE ɾ**+ωοτϫʔΫΞϓϥΠΞϯε 出典:人間とウェブの未来
ΈࠐΈػث ペパボで使う mruby は、 アプリ組み込み
ΞϓϦ͍ΖΜͳػೳΛΈ߹Θͤͯग़དྷ͍ͯΔ # ldd /usr/local/php7.1/bin/php linux-vdso.so.1 => (0x00007ffd42390000) : libexslt.so.0 =>
/usr/lib64/libexslt.so.0 (0x00007fa9d443a000) * libpq.so.5 => /usr/lib64/libpq.so.5 (0x00007fa9d4212000) librt.so.1 => /lib64/librt.so.1 (0x00007fa9d4009000) : libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007fa9d3450000) * libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007fa9d31de000) libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fa9d2fcd000) : libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007fa9d1a10000) * libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007fa9d162c000) libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fa9d138e000) PostgreSQL cURL SSL通信 NSVCZ
OHY@NSVCZ ΤϯδϯΤοΫεɾΤϜϧϏʔ
௨ৗͷSVCZΘΕํ XFCαʔόʢ/HJOYʣ 04ʢ-JOVYʣ XFCΞϓϦʢSVCZʣ wΫϥΠΞϯτ͔ΒૹΒΕͨϦΫΤετ ͕XFCΞϓϦʹͦͷ··͞ΕΔ wϦΫΤετͷૹઌXFCαʔόͷઃ ఆϑΝΠϧʹهࡌ
OHY@NSVCZΛར༻ͨ͠ΘΕํ XFCαʔόʢ/HJOYʣ 04ʢ-JOVYʣ XFCΞϓϦ ʢ3BJMTͳͲʣ ΫϥΠΞϯτ͔ΒૹΒΕͨϦΫΤετʹΑͬͯɺ NSVCZ͕ৼΓ͚ઌͷઃఆΛಈతʹมߋ XFCΞϓϦ ʢ3BJMTͳͲʣ XFCαʔόʢ/HJOYʣ
04ʢ-JOVYʣ XFCΞϓϦ ʢ3BJMTͳͲʣ NSVCZ
ྫʣOHJOY OHY@NSVCZͷઃఆϑΝΠϧ server { location /proxy { mruby_set_code $backend '
backends = [ "test1", "test2", "test3", ] backends[rand(backends.length)] '; proxy_pass http://$backend; } } wϛυϧΣΞʢOHJOYʣͷ ઃఆϑΝΠϧΛಈతʹมߋ Ͱ͖Δ
.JEEMFXBSFBT$PEF ITCUɿIUUQTXXXTMJEFTIBSFOFUITCU NBUTVNPUPSZɿIUUQTTQFBLFSEFDLDPNNBUTVNPUP@S
·ͱΊ ΈࠐΈ༻్ͷNSVCZ ϛυϧΣΞઃఆΛίʔυԽ ϖύϘͷNSVCZಋೖੈքҰʂ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠
More Decks by harasou
See All by harasou
ホスティングにおける fuse の利用
harasou
0
190
エボルバビジネスサポート勉強会
harasou
0
60
HosCon Summer 2016 @福岡
harasou
1
260
200万 Webサイトを支える ロリポップ!と mruby
harasou
6
4.5k
ホスティングを支える mruby
harasou
2
2.9k
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
680
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
840
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Rails Girls Zürich Keynote
gr2m
96
14k
Writing Fast Ruby
sferik
630
63k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
First, design no harm
axbom
PRO
2
1.4k