Pro Yearly is on sale from $80 to $50! »

未来のサーバ基盤へのHaconiwa/mrubyの関わり / haconiwa-and-future-os

2cf373725ded741824c50fd571eda6e1?s=47 KONDO Uchio
February 11, 2017

未来のサーバ基盤へのHaconiwa/mrubyの関わり / haconiwa-and-future-os

@名古屋Ruby会議03

2cf373725ded741824c50fd571eda6e1?s=128

KONDO Uchio

February 11, 2017
Tweet

Transcript

  1. ίϯςφԾ૝Խͷͦͷઌ΁ ۙ౻͏͓ͪ(.01FQBCP *OD ໊ݹ԰3VCZձٞ ະདྷͷαʔόج൫΁ͷ )BDPOJXBNSVCZͷؔΘΓ

  2. ΤϯδχΞ ۙ౻͏͓ͪ!VE[VSB ٕज़ج൫νʔϜϓϦϯγύϧ IUUQVE[VSBIBUFOBCMPHKQ

  3. ΤϯδχΞ ۙ౻͏͓ͪ 'VLVPLBSCΦʔΨφΠβʔ ࡾՏҰٶੜ·Εɺ๛ڮҭͪ ೥ΑΓ෱Ԭࡏॅ ޷͖ͳγεςϜίʔϧ͸VOTIBSF   ޷͖ͳѪ஌ݝ൧͸͋Μ͔͚εύ

  4. )BDPOJXBͱ͸Կ͔ 

  5. ֓ཁ

  6. )BDPOJXBͱ͸ wNSVCZͰॻ͔ΕͨίϯςφϥϯλΠϜ wίϯςφϥϯλΠϜͷఆٛ0$* ͷఆٛࢀরɺͨͩ͠ݱঢ়͸0$*ͷ TQFDΛඞͣ͠΋ຬ͍ͨͯ͠ͳ͍ wίϯςφʹؔ͢Δ-JOVYLFSOFMͷػೳΛɺඞཁʹԠͯ͡બ୒͠ɺ૊Έ ߹ΘͤͯίϯςφΛ࡞੒Ͱ͖Δ IUUQTHJUIVCDPNPQFODPOUBJOFSTSVOUJNFTQFDCMPCNBTUFSHMPTTBSZNESVOUJNF

  7. DG1BESJOPGSBNFXPSL wʮϏϡοϑΣܕͷίϯςφϥϯλΠϜʯͱ΋ݴ͑Δ IUUQQBESJOPSCDPN

  8. ίϯςφʹؔ͢Δ-JOVYLFSOFMͷػೳʁ wྫ͑͹ɺ w -JOVYOBNFTQBDF ϗετ໊ͳͲΛϗετͱಠཱͤͯ͞࢖͏ػೳ  w DHSPVQ ϓϩηεͷάϧʔϓ୯ҐͰͷϦιʔεͷ੍ݶɾΞΧ΢ϯςΟϯά 

    w -JOVYDBQBCJMJUZ 04ͷಛݖΛ෼ׂ͢Δػೳ  w ͳͲ wৄࡉ͸੿࡞ͷεϥΠυ͕ศར IUUQTTQFBLFSEFDLDPNVE[VSBUIFTLFMUPOPGXIBMFT
  9. EFNP

  10. ͳͥɺ։ൃ͔ͨ͠

  11. ౴͑ཉ͘͠ͳͬͨͷͰɺ࡞ͬͨ w%PDLFSͱ-9$ͷܦݧ͔Βɺ΋ͬͱॊೈͰܰ͘ɺϓϩάϥϚϒϧͳί ϯςφϥϯλΠϜ͕ཉ͘͠ͳͬͨ w΋ͱ΋ͱ͸ɺ4RBMFͱݴ͏-9$ϕʔεͷ1BB4ͷӡ༻Λख఻͍ɺ
 ͦͷܦݧ͔Βൃ૝Λελʔτͨ͠ wͦͷ࣌ʹ࢖͑ΔͱΑ͔ͬͨͳ͋ͱ͍͏ཧ૝ͷػೳΛ٧ΊࠐΜͰ͍Δ w͜͏͍͏ܦҢͰ։ൃͨ͠ͷͰɺ݁ՌతʹϗεςΟϯάܥ΍"41ܥͷ
 αʔϏεͰ࢖͑ΔΑ͏ͳػೳ͕ଟΊʹͳ͍ͬͯΔ

  12. ผղ3VCZ,BJHJۦಈ։ൃʁ wίϯηϓτ͚ͩͰ͖ͨஈ֊Ͱ3VCZ,BJHJ$'1ʹԠืͯ͠͠·ͬͨ wͦͷޙɺ࡞Γ্͛ͨΒҙ֎ͱಈ͍ͨɻ౰೔ʹؒʹ߹ͬͨɻ wͷͰͦͷ੎͍ͰਐΜͰ͍Δ

  13. )BDPOJXBͱNSVCZͷؔΘΓ

  14. $3VCZNSVCZͷϦϥΠτ w΋ͱ΋ͱɺϑϧʹ$3VCZͰॻ͍͍ͯͨ  w$3VCZ͸ϚϧνεϨουϓϩάϥϜͳͷͰɺίϯςφؔ࿈ͷҰ෦ͷγ εςϜίʔϧ TFUOT VOTIBSF ͷݺͼग़͠ʹ੍ݶ͕͋Δ  wλΠϚʔεϨου͕ଘࡏ͢Δ

    wNSVCZʹ͸ͦͷ੍ݶ͕ͳ͍ͷͰϦϥΠτΛ࣮ࢪͨ͠ wˠҰϲ݄ͰϦϥΠτͰ͖ͨʂ IUUQTHJUIVCDPNIBDPOJXBIBDPOJXBNSJ IUUQNBOPSHMJOVYNBOQBHFTNBOVOTIBSFIUNMଞ
  15. NSVCZΛબΜͰྑ͔ͬͨͱ͜Ζ w$ͷγεςϜίʔϧɺϥΠϒϥϦίʔϧʹΞΫηε͠΍͍͢ wͦͷ্Ͱࣗ෼ͰόΠϯσΟϯάΛॻ͖΍͍͢ w΍Γ͍ͨ͜ͱͷϝΠϯ͸$ͱ͸͍͑ɺ($΋͋Δ͠ɺจࣈྻૢ࡞ͳͲ
 ໘౗ͳ͜ͱ͸3VCZଆͰߦ͏͜ͱ΋Ͱ͖ΔͷͰɺੜ࢈ੑΛײ͡Δ

  16. NSVCZDMJͷଘࡏ w)BDPOJXB͸ɺઌड़ͨ͠/BNFTQBDFͳͲ΁ͷΞΫηεΛNSVCZHFN
 ͰόΠϯσΟϯάͯ͠ɺϝΠϯͷॲཧ͸७ਮʹ3VCZͰॻ͍͍ͯΔ wͦ͏͍͏$-*ΞϓϦέʔγϣϯʹ͸NSVCZDMJ͸ศར

  17. )BDPOJXBʹؔ͢Δաڈͷൃද w3VCZ,BJHJ  wϖύϘϗεςΟϯάπΞʔͰͷൃද wʮ)BDPOJXBͷ͜Ε·Ͱͱ͜Ε͔Βʯ  wʮ)BDPOJXBͷத਎ͱઃܭࢥ૝ʯ IUUQTTQFBLFSEFDLDPNVE[VSBNSVCZPODPOUBJOFS IUUQTTQFBLFSEFDLDPNVE[VSBIBDPOJXBPOUIFQBWFNFOU IUUQTTQFBLFSEFDLDPNVE[VSBUIFIBDPOJXBJOUFSOBMT

  18. )BDPOJXB6QEBUFT 

  19. )BDPOJXB͸Ӷҙ։ൃத w3VCZ,BJHJҎ߱ɺ࠷ۙೖͬͨ஫໨͢΂͖ػೳΛ঺հ

  20. $POUBJOFS)PPLT wNSVCZͰ༷ʑͳλΠϛϯάͰϑοΫॲཧΛॻ͚Δ wγάφϧʹରԠͨ͠ϑοΫ wىಈޙͷλΠϜΞ΢τϑοΫ wىಈϓϩηεͰͷ೚ҙͷλΠϛϯάͰͷϑοΫॲཧ

  21. .VMUJ$POUBJOFS w&YQFSJNFOUBM wෳ਺ͷίϯςφΛىಈՄೳʹͰ͖Δ%4-Λ࣮૷ͨ͠ɻ wEPDLFSDPNQPTFతɻͨͩ͠ɺOBNFTQBDFͷڞ༗ͳͲɺΑΓॊೈ wएׯͷޙํඇޓ׵͕͋ΔͷͰɺYͱ͍͏ϒϥϯνͷΈؚΉܗʹ

  22. $3*6ͰҰ෦ͷίϯςφΛอଘՄೳʹͨ͠ w7FSZ&YQFSJNFOUBM wखॱ͕΍΍ෳࡶͰɺTMFFQఔ౓ͷϓϩάϥϜͰͷ੒ޭΛ֬ೝͨ͠ঢ়ଶ w͔͜͠͠Ε͸͖ͬͱେ͖ͳҰา

  23. αϯϓϧϦϙδτϦΛ࡞ͬͨ wIP͕ಈ͘ wਵ࣌௥Ճ༧ఆɻ8PSE1SFTTͱ͔΋ಈ͍ͯΔΜͩ wIUUQTHJUIVCDPNIBDPOJXBFYBNQMFT

  24. )BDPOJXBCPPLΛॻ͖࢝Ίͨ wIUUQTHJUIVCDPNIBDPOJXBCPPL w5IJTTJUFJT+BQBOFTFPOMZ w·ͣ͸Ұ௨Γॻ͖·͢

  25. 'BTU$POUBJOFSͱ)BDPOJXB ͦͯ͠ະདྷͷελοΫ 

  26. 'BTU$POUBJOFSͷલఏ

  27. ϗεςΟϯάαʔϏε

  28. ΠϯλʔωοτͰίϯςϯπΛ ఏڙ͢Δਓͨͪʹͱͬͯ շదͳ؀ڥΛఏڙ͍ͨ͠

  29. ΠϯλʔωοτͰී௨ʹίϯςϯπΛఏڙ͍ͨ͠ wͦ͏͍͏ਓͨͪʹͱͬͯɺαʔόμ΢ϯ͸க໋త w͔ͱ͍ͬͯɺΤϯδχΞͰ͸ͳ͍ਓͨͪʹɺΫϥ΢υͷΦʔτεέʔ ϧͳͲͷ։ൃ͸؆୯Ͱ͸ͳ͘ෑډ͕ߴ͍ɻ wϨϯαόͷΑ͏ʹ؆୯ʹ࢝ΊΒΕͯɺ714ͷΑ͏ʹॊೈͰɺ͍͟ͱͳͬ ͨΒεέʔϧ͢Δ࢓૊Έ͕ཉ͍͠ɻ wͳ͓͔ͭɺӡ༻ऀʹͱͬͯ΋ෳࡶ͗ͣ͢ɺӡ༻Մೳੑ͕ߴ͍ͱϕετ

  30. 'BTU$POUBJOFSͰ࣮ݱ͍ͨ͠ੈք

  31. 'BTU$POUBJOFSͷൃ૝

  32. ϓϩάϥϜ͸ɺࡾͭʹ෼ྨͰ͖Δ wJNNPSUBM͍ΘΏΔαʔόɺσʔϞϯ wTIPSUMJWFEόον΍୯ൃͷίϚϯυɻ͙͢ʹऴྃ͢Δϓϩηε w͜͜ͰɺNPSUBMͱ͍͏΋ͷΛߟ͑ΒΕͳ͍͔ wࢮΛ໔ΕΒΕͳ͍ɺ·ΔͰੜ໋ͷΑ͏ʹ w૸Γଓ͚ΔલఏͰ͸ͳ͍ɺण໋͕ܾ·͍ͬͯΔϓϩάϥϜ

  33. NPSUBMͳϓϩηεͷྫ wFH'BTU$(*ݹయత͕ͩɺNPSUBMͳཁૉ͕͋Δɻ w$(*ͱσʔϞϯͷதؒ wεςʔτϨε

  34. ίϯςφϕʔεͷੈքͰ 'BTU$(*Λ࠶ઃܭ͢Δ

  35. 'BTU$POUBJOFSߏ૝ wϦΫΤετܖػͰϦΞΫςΟϒʹىಈ͢ΔίϯςφΛߟ͑ΒΕͳ͍͔ wલஈͷ8FC1SPYZ͕ϦΫΤετΛड͚औΔ wˠίϯςφΤϯδϯ͕ɺඞཁͳίϯςφΛݕ஌͠ɺىಈ͢Δ wˠىಈޙ͸ɺͦͷ··ϦΫΤετΛࡹ͖ଓ͚Δʹߴ଎ wˠෆཁʹͳͬͨΒɺ͋Δ͍͸Ұఆ࣌ؒޙʹίϯςφΛ࡟আ͢Δ

  36. 'BTU$POUBJOFSߏ૝

  37. DGYJOFUE w઀ଓͷཁٻස౓͕௿͍σʔϞϯΛৗற͓ͤͯ͘͞ͷ͸ɺ
 04ͷϦιʔε্΋͍ͬͨͳ͍ɻ wͦ͜ͰYJOFUEͷΑ͏ͳεʔύʔαʔόܕσʔϞϯͰɺϙʔτ͚ͩΛ
 Ϧεϯ͓͖ͯ͠ɺ઀ଓཁٻ͕དྷ͔ͯΒߴ଎ʹσʔϞϯΛ্ཱͪ͛ɺ
 ෆཁʹͳͬͨΒσʔϞϯΛམͱ͢͜ͱͰɺ
 Ϧιʔεͷ׆༻ޮ཰Λྑ͘͢Δ͜ͱ͕Ͱ͖Δɻ

  38. 'BTU$POUBJOFSͷಛ௃ wεςʔτϨεͰ͋Δ wෛՙʹԠͯ͡ىಈ਺ͷมߋɺεέʔϧΞοϓ͕Ͱ͖Δ wϦΞΫςΟϒͰ͋Δ wϦΫΤετΛܖػʹىಈ਺͕มߋ͞ΕΔɺޮ཰Α͘Ϧιʔεར༻ w૸Γଓ͚ΔલఏͰͳ͍ʹϥΠϑλΠϜ͕ܾ·͍ͬͯΔ wྫ͑͹ηΩϡϦςΟΞοϓσʔτͳͲ͕͙͢Ͱ͖Δɻӡ༻্ศར

  39. )BDPOJXBY'BTU$POUBJOFS w)BDPOJXB͸'BTU$POUBJOFSߏ૝ʹͱͬͯ༗རͳػೳ͕ଟ͍ wͨ͘͞Μͷ)PPLQPJOU w Ұఆ࣌ؒͰʮࣗ෼ͰམͪΔʯίϯςφͷ࣮ݱ w ঢ়گʹԠͯ͡ɺࣗ෼Ͱࣗ෼ͷϦιʔεׂΓ౰ͯΛมߋͰ͖Δίϯςφͷ࣮ݱɻىಈϓϩηε ऴྃ࣌ͰͷϑοΫ΍γάφϧϋϯυϥʔ͕ଘࡏ wΠϝʔδߏ੒ͷ؆қԽɺىಈͷ୹ॖ w

    Πϝʔδͷࣄલ࡞੒ɻCJOENPVOU΍/'4Λ༻͍ͨॊೈͳߏ੒ w ঢ়گʹԠͯ͡ɺࣗ෼Ͱࣗ෼ͷϦιʔεׂΓ౰ͯΛมߋͰ͖Δίϯςφͷ࣮ݱɻىಈϓϩηε ऴྃ࣌ͰͷϑοΫ΍γάφϧϋϯυϥʔ͕ଘࡏ
  40. ίϯςφͱʮ04ʯ

  41. DG,VCFSOFUFT IUUQTUXJUUFSDPNKZPTIJTFTUBUVT

  42. ίϯςφΦʔέετϨʔγϣϯͱ04 wΫϥελϦϯά͞Εͨج൫04ʹɺͨ͘͞ΜͷίϯςφΛ্ཱͪ͛ͯ ͍Δͱɺ·ΔͰ wίϯςφ͕ͨͩͷεϨουʹɺίϯςφͷάϧʔϓ͕ϓϩηεʹ wΫϥελϦϯά͞Εͨ04͕Ұͭͷ04ʹ wࢥ͑ͯ͘Δ wͦ͏͢ΔͱɺγεςϜίʔϧʹ૬౰͢Δ΋ͷ͕ཉ͘͠ͳΔ

  43. ͔ͦ͜Β ҰาਐΊͯ

  44. %JNFOTJPOGSFF"VUPOPNPVT
 0QFSBUJOH4ZTUFN

  45. %"04ͱ͸ wഁյͱ࠶ߏஙΛNPSUBMʹߦ͍ɺಈతʹฏߧঢ়ଶΛอͭγεςϜ wίϯςφ͸ɺͲΜͲΜ
 ೖΕସΘ͍ͬͯ͘ w༷ʑͳίϯϙʔωϯτΛɺ
 ωοτϫʔΫΛհͯ͠แׅ͢Δ IUUQTTQFBLFSEFDLDPNNBUTVNPUP@SSFBDUJWFTUBUFMFTTBOENPSUBMBSDIJUFDUVSFGPSXFCBQQMJDBUJPOTɹ

  46. ैདྷͷ04ͱͷൺֱ w%"04ʹ͓͍ͯ wεϨουˠ'BTU$POUBJOFS wΧʔωϧˠͦΕͧΕͷ୯Ұͷ-JOVYΛ·ͱΊͨ֓೦ wͦͷ্Ͱɺଟ͘ͷίϯςφϓϩάϥϜͷ"1*Λ࣋ͭ)BDPOJXBΛɺ
 γεςϜίʔϧͱͯ͠࠶ఆٛ͢Δ͜ͱ͕Ͱ͖ΔͷͰ͸ͳ͍͔ʁ w)BDPOJXB͸ͦͷʮ૚ʯͷ্ͷ͍࣮ͪ૷ͱ͍͏ཱͪҐஔͱݟ၏͢

  47. DG4FSWFSTQFDTQFDJOGSB IUUQTTQFBLFSEFDLDPNVE[VSBUIFIBDPOJXBJOUFSOBMT IUUQTHJUIVCDPNNJ[[ZTFSWFSTQFDUIFTJTQVMMJTTVFDPNNFOU

  48. ະདྷͷʮ04ʯΛ 'BTU$POUBJOFS )BDPOJXBͰ

  49. ·ͱΊ 

  50. %"04'BTU$POUBJOFS)BDPOJXB
 ͰͳΊΒ͔ͳγεςϜΛ࡞Δ

  51. ͜ͷ࢓૊Έ͸ ࣮ࡍͷαʔϏεʹద༻ͭͭ͠ ݕূ͍ͯ͘͠

  52. ҰॹʹαʔϏεΛ࡞Γ·͠ΐ͏ ࠷৽ͷ࠾༻৘ใΛνΣοΫˠ !QC@SFDSVJU

  53. 5IBOLTࣸਅ wIUUQNBYQJYFMGSFFHSFBUQJDUVSFDPN.BOTJPO.JOJBUVSF .JOJBUVSF)PVTF&YQPTVSF(BSEFO$$ wIUUQTQJYBCBZDPNQ OP@SFEJSFDU$$ wIUUQTQJYBCBZDPNFOTPBQCVCCMFTCMPX DPMPSGVM$$ wIUUQTQJYBCBZDPNFOTQBDFVOJWFSTFTQBDFUSBWFM $$