Upgrade to Pro — share decks privately, control downloads, hide ads and more …

serverless-kyoto

 serverless-kyoto

53c9bf20050e5457f054eac61c388a15?s=128

堀家隆宏

July 29, 2017
Tweet

More Decks by 堀家隆宏

Other Decks in Programming

Transcript

  1. 5IFFTTFODFPG4FSWFSMFTT

  2. ࣗݾ঺հ w %JHJUBM$VCF$P-UE w 4FSWFSMFTT'SBNFXPSL$PSF $POUSJCVUPSBOEQMVHJO EFWFMPQFS w 4FSWFSMFTT'SBNFXPSL೔ຊޠ ϑΥʔϥϜ؅ཧऀ


    IUUQTHJUIVCDPN TFSWFSMFTTKBQBOGPSVN
  3. ࠓ೔࿩͢͜ͱ

  4. αʔόʔϨεͱ͸Կ͔ʹ͍ͭͯ Θ͔Γ΍͘͢ඥղ͍͍͖ͯ·͢

  5. ·ͣ͸αʔόʔϨεΛޠ Δ্Ͱͷߏ੒ཁૉͷ੔ཧ

  6. αʔόʔϨεͱ͸ w ޿ٛͳҙຯͰݴ͏ͱαʔόͷ؅ཧΛҙࣝ͠ͳ͍͍ͯ͘ͱ͍͏ੈք؍ w ೥લ͘Β͍͔Βग़͖ͯͨαʔόϨεͱ͍͏ݴ༿͸-BNCEBͷ༷ͳ 'BB4ͱϚωʔδυαʔϏεͰߏ੒͞ΕͨγεςϜΛࢦ͢ "84-BNCEBͷొ৔ʹΑͬͯΫϥ΢υͷΞʔΩςΫςΟϯάͷ෯͕େ͖͘޿͕ͬͨɻ ·ͨɺ"1*(BUFXBZʹΑΓॊೈʹΫϥ΢υ֎෦ͱͷ࿈ܞ͕༰қʹͳͬͨ

  7. αʔόʔϨεͷൣғ IUUQTXXXTMJEFTIBSFOFUBDMPVEHVSVBOUTUBOMFZCFJOHTFSWFSMFTT

  8. 'VODUJPOBTBTFSWJDF w -BNCEB (PPHMF$MPVE'VODUJPOT "[VSF'VODUJPOT 0QFO8IJTLͱ͍ͬͨ ΞϓϦέʔγϣϯίʔυΛ࣮ߦͯ͘͠ΕΔαʔϏε w Ϋϥ΢υ͕ఏڙ͍ͯ͠ΔαʔϏεͷϋϒͱͳΔػೳ w

    ΠϕϯττϦΨʔʹΑΓίʔυ͕࣮ߦ͞ΕΔ
  9. αʔόʔϨεͷྫ w "1*όοΫΤϯυ w σʔλϓϩηογϯά w *P5όοΫΤϯυ ཁ͸Ϋϥ΢υαʔϏεͷϋϒͱͳΔΑ͏ͳ΋ͷͰ͋Ε͹ͳΜͰ΋

  10. αʔόʔϨεͷߏ੒ྫ

  11. ͔͜͜Β͸ɺαʔόʔϨεͷϝ ϦοτͱͦΕΛੜΈग़͢Ϟϊʹ ͍ͭͯղઆ͍͖ͯ͠·͢

  12. αʔόʔϨεͷϝϦοτ w ؅ཧ͢΂͖αʔό͕ͳ͍ͨΊɺΠϯϑϥετϥΫνϟΛϝϯςφϯε͢Δ࡞ۀ ͔Βղ์͞ΕΔ w ίετͷ࠷దԽɻଟ͘ͷ৔߹͸҆͘ͳΔ w Ϋϥ΢υΛར༻͢Δ্ͰɺݶΓͳ͘ແݶͷεέʔϥϏϦςΟΛੜΉ

  13. ͳͥɺ͜͏͍ͬͨϝϦο τ͕ੜ·ΕΔͷ͔

  14. ϙΠϯτ͸'BB4͕Πϕϯτۦಈ ܕͰ͋Δ͜ͱͱඇৗறܕͰઃܭ ͞Ε͍ͯΔ͜ͱ

  15. Πϕϯτۦಈͱ͸ w Կ͔͠ΒͷΞΫγϣϯΛݩʹGVODUJPO͕ಈ࡞͢Δͱ͍͏͜ͱ
 4ʹΦϒδΣΫτ͕165͞Εͨ
 %ZOBNP%#ʹσʔλ͕ొ࿥͞Εͨ
 "1*(BUFXBZʹIUUQϦΫΤετ͕༗ͬͨ w αʔό্Ͱىͬͨ͜ͷมߋΛϙʔϦϯάͯ͠ݕ஌͢Δߟ͑ͱਅٯ

  16. ඇৗறܕͱ͸ w ৗறϓϩηε͕ଘࡏ͠ͳ͍ɻͭ·ΓΠϕϯτʹͯGVODUJPO͕ىಈ͠ ͨ࣌ͷΈϓϩηε͕ଘࡏ͢Δ w ͭ·Γಥવϓϩηε͕མͪͨͱ͍͏͜ͱ͕ͦ΋ͦ΋ଘࡏ͠ͳ͍

  17. ͜ͷͭͷಛ௃Λ౿·͑Δͱ w ΠϕϯτۦಈͰ͋ΔͨΊɺඇৗறͳϓϩηεͷ࢓૊Έ͕੒Γཱͭ w ৗறܕͷϓϩηεͰ͸ͳ͍ͨΊɺσʔλΛอ࣋Ͱ͖ͳ͍ɻͭ·Γࣗવͱϓϩάϥϛϯάͷ݁Ռ εςʔτϨεͳঢ়ଶ͕Ͱ͖Δ
 w ඇৗறܕͰ͋ΔͨΊɺ࣮ߦ͚ͨ࣌ͩ͠՝ۚͱ͍͏Ϟσϧ͕ՄೳʹͳΔ ͜Ε͕εέʔϥϏϦςΟΛੜΉ ͜Ε͕ίετͷ࠷దԽΛੜΉ

  18. ߋʹΠϕϯτυϦϒϯͰ͋Δ͜ͱ͕ϓϩάϥϛϯ άϞσϧʹ͓͍ͯͲͷΑ͏ͳมԽΛ΋ͨΒ͢ͷ͔

  19. ϚΠΫϩαʔϏεԽ w Πϕϯτ͕਺चͭͳ͗ʹͳͬͨϚωʔδυαʔϏεͱ'BBTͰߏ੒͞ΕͨϚΠΫϩαʔϏε͕ ࣗવͱग़དྷ্͕Δ w αʔόʔϨεΞʔΩςΫνϟʹͯେ͖ͳγεςϜΛߏ੒͢Δͱͦͷಛੑ্ࣗવͱେ͖ͳϚΠΫ ϩαʔϏε܈͕ग़དྷ্͕Δ w αʔόϨεΞʔΩςΫνϟͱ͍͏ΑΓΉ͠ΖɺΠϕϯτυϦϒϯΞʔΩςΫνϟͰ͋Δ

  20. ͦͷ݁ՌԿ͕ى͜Δࣦഊ w খ͍͞ن໛ͳΒ·ͩΑ͍ 4 -BNCEB͚ͩͱ͔ ͕େ͖ͳن໛ͷϚ ΠΫϩαʔϏεʹͳΔͱɺιʔείʔυ΍ΞʔΩςΫνϟΛҡ࣋͢Δ ؅ཧ͕ҰؾʹେมʹͳΔ εέʔϥϏϦςΟ΍ίετͱ͸·ͨผͷ໰ ୊͕ൃੜ͢Δ

  21. ϚΠΫϩαʔϏε IUUQTUXJUUFSDPNSFWFSFOUHFFLTUBUVT

  22. Կʹ஫ҙ͢΂͖ͳͷ͔ w ΠϕϯτυϦϒϯΞʔΩςΫνϟɺͦͯ͠ϚΠΫϩαʔϏεͷಛੑ΍ઃܭͷ࢓ํɻͦͯ͠࢖༻ ͢ΔΫϥ΢υαʔϏεͷϝϦοτ΍Ξϯνύλʔϯ΋ؚΊͯɺਖ਼͘͠ཧղͯ͠ɺΞʔΩςΫνϟ Λ૊Μͯ͋͛Δඞཁ͕͋Δ w ߏ੒΍ιʔείʔυͷ؅ཧ·Ͱ͸Ϋϥ΢υϕϯμʔ͸໘౗Λݟͯ͘Εͳ͍
 4FSWFSMFTT'SBNFXPSLͳͲͷϚωδϝϯτπʔϧΛ͔͍ͭ؅ཧɻ·ͨɺιʔείʔυ΋$*$% ύΠϓϥΠϯΛߏஙͯ͠ɺࣗಈԽ͠·͠ΐ͏ ͜ΕΒͷ͜ͱ͕ग़དྷͯॳΊͯαʔόϨεͷϝϦοτ͕ڗडͰ͖Δ

  23. ੒ޭࣄྫ IUUQTSFBEBDMPVEHVSVTFSWFSMFTTFWFOUTPVSDJOHBUOPSETUSPNFBCEGCDD

  24. ·ͱΊ w খ͍͞ͳن໛ͳΒ·ͩྑ͍͕ɺن໛ͷେ͖ͳ࢓૊ΈΛαʔόϨεԽ͢Δʹ͸ଟ͘ͷϊ΢ϋ΢͕ඞཁɻ ͦΕΛϝϦοτͱఱṝʹ͔͚ΔͳΒɺࠓ·Ͱ׳ΕͨϞϊϦγοΫͳ࢓૊ΈͰߏங͢Δͷ͕Α͍͔΋ w ͨͩɺେ͖ͳن໛ʹͳΔ΄ͲɺΠϯϑϥϝϯςίετ͕͔͔Βͳ͍ɺͭ͘Δ͜ͱʹूதͰ͖Δ࢓૊ Έ͸େ͖ͳΠϯύΫτʹͳΔɻ͖ͪΜͱϊ΢ϋ΢ΛஷΊͯ͠·͑͹΋ͬͱΧδϡΞϧʹαʔόϨε ΛಋೖͰ͖Δͱࢥ͏ w ๻ࣗ਎͸ɺαʔόΛ৮Δͷ͕ۤखɻ͜ͷΠϕϯτυϦϒϯͳੈք͕ҰൠతʹͳΔ͜ͱΛXFMDPNF

    ʹࢥ͍ͬͯΔͷͰɺ'SBNFXPSLͷ։ൃΛ௨ͯ͠Ϣʔβʹ࢖͍΍͍͢ϓϥοτϑΥʔϜΛఏڙͯ͠ ߦ͖͍ͨ