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

serverlessdaysfukuoka_oka.pdf

C48e299db326cf1bf10cf2d0ab399f10?s=47 Haruna Oka
December 14, 2019

 serverlessdaysfukuoka_oka.pdf

C48e299db326cf1bf10cf2d0ab399f10?s=128

Haruna Oka

December 14, 2019
Tweet

More Decks by Haruna Oka

Other Decks in Technology

Transcript

  1. ΩϟογϡϨεΧϑΣͷ όοΫΤϯυΛࢧ͑Δ αʔόʔϨεΞʔΩςΫνϟ

  2. Ԭ य़ಸ

  3. 3

  4. 4 .PCJMF0SEFS 8BMLUISPVHI εϚϗ͔Β஫จɾܾࡁ·Ͱ͕׬݁ ళฮͰฒ͹ͣʹ঎඼͕ड͚औΕΔ 23ίʔυͰೖళͯ͠঎඼ΛͱΓ ͓ళΛग़ΔͱࣗಈͰܾࡁ͞ΕΔ

  5. 5

  6. 6 ݱࡏγʔζϯ

  7. "HFOEB ▹ શମߏ੒ਤ ▹ Ϛϧνςφϯτ ▹ ݖݶ؅ཧ ▹ ೝূ ▹

    "1*ͷεςʔδϯά ▹ -BNCEB -BZFST ▹ ΢ΥʔΫεϧʔͷ࢓૊Έ ▹ %ZOBNP%# ▹ ࣮૷ྫ 7
  8. 8 શମߏ੒ਤ

  9.  Ϛϧνςφϯτ

  10. 10

  11. 1 1 ΧϑΣγεςϜʹ͓͚ΔϚϧνςφϯτͷఆٛ ⌲ υϝΠϯ ⌲ ೝূج൫ຖʹఆٛ ⌲ "VUIͷςφϯτʹΧϑΣͰͷυϝΠϯ ⌲

    υϝΠϯͷதʹෳ਺ͷςφϯτ͕ఆٛ͞ΕΔ ⌲ ςφϯτ ⌲ اۀຖʹఆٛ ⌲ ςφϯτͷதʹෳ਺ͷళฮ͕ఆٛ͞ΕΔ
  12.  ݖݶ؅ཧ

  13. 13 "ENJO ʢαʔϏε؅ཧऀʣ ςφϯτ؅ཧऀ ళฮͷ؅ཧऀ ݖݶ؅ཧ

  14. 14 "ENJO ʢαʔϏε؅ཧऀʣ ςφϯτ؅ཧऀ ళฮͷ؅ཧऀ ɾςφϯτͷ௥Ճ ɾళฮͷ௥Ճ ʜFUD ɾ֤ళฮͷച্Λࢀর ɾళฮ৘ใͷߋ৽ʜFUD

    ɾ஫จͷॲཧ ɾ঎඼ͷొ࿥ ʜFUD ݖݶ؅ཧ
  15.  ೝূ

  16. 16 ೝূ ⌲ γϯάϧςφϯτ൛ͷ࣌͸ $PHOJUP Λར༻ ⌲ "VUIʹҠߦͨ͠Ұ൪ͷཧ༝ͱͯ͠͸ػೳͷ๛෋͞ ⌲ "1*(BUFXBZͷ-BNCEBΦʔιϥΠβʔ

    ⌲ 3VMFTͰαΠϯΞοϓ࣌ͷॲཧ ⌲ ϋʔυͱͷ..௨৴ ⌲ 3PMFTͰͷݖݶ؅ཧ
  17. 17 "VUIΛ࢖ͬͨݖݶ؅ཧ ⌲ αʔϏε؅ཧऀ ⌲ 3PMFTʹ"ENJOϩʔϧ ⌲ ళฮ؅ཧऀ ⌲ 3PMFTʹςφϯτ*%

    .FUBEBUBʹళฮ*% ⌲ ςφϯτ؅ཧऀ ⌲ 3PMFTʹςφϯτ*%
  18. 18 "VUIΛ࢖ͬͨݖݶ؅ཧ ⌲ αʔϏε؅ཧऀ ⌲ 3PMFTʹ"ENJOϩʔϧ ⌲ ళฮ؅ཧऀ ⌲ 3PMFTʹςφϯτ*%

    .FUBEBUBʹళฮ*% ⌲ ςφϯτ؅ཧऀ ⌲ 3PMFTʹςφϯτ*% DPOUFYUBDDFTT5PLFOʹ 3PMFTͱ.FUBEBUBΛ௥Ճ ͢Δ3VMFTΛ࣮૷
  19. 19 "ENJO ʢαʔϏε؅ཧऀʣ ςφϯτ؅ཧऀ ళฮͷ؅ཧऀ ݖݶ؅ཧ "VUIͷઃఆ UFOBOU*% ʲ3PMFTʳUFOBOU" ʲ3PMFTʳUFOBOU#

    ʲ3PMFTʳ"ENJO TUPSF*% ʲ.FUBEBUBʳTUPSF" ʲ.FUBEBUBʳTUPSF#
  20.  "1*ͷεςʔδϯά

  21. 21 "1*ͷεςʔδϯά ⌲ "1*(BUFXBZͷεςʔδ ⌲ -BNCEBͷΤΠϦΞε Λ࢖ͬͯɺ؀ڥΛ੾Γସ͑Δ ⌲ ҆ఆ൛ TUBCMF

    ˠ݄̍ϦϦʔε ⌲ ࠷৽൛ DVSSFOU ˠि̍ϦϦʔε
  22. 22 "84ΞΧ΢ϯτͱ"1*εςʔδϯά

  23.  -BNCEB-BZFST

  24. 2 4 -BNCEB-BZFST Ø ݴޠ͸/PEFKTʢ5ZQFTDSJQUʹҠߦதʣ Ø ڞ௨ॲཧ΍ϥΠϒϥϦ܈ Øʢ4USJQF 'JSFCBTF -*/&4%,

    5XJMJPʣ Ø ڞ௨ॲཧͷ෦෼͸։ൃதසൟʹߋ৽͢ΔͨΊ෼཭͢Δ Ø ϥΠϒϥϦ܈΋༻్ผʹ෼ׂʢ௨஌༻ ܾࡁ༻ͳͲʣ
  25. 25 ΢ΥʔΫεϧʔͷ࢓૊Έ

  26.  %ZOBNP%#

  27. 27 %ZOBNP%# p ϦιʔεΛڞ௨ɾυϝΠϯຖɾςφϯτຖʹ෼͚Δ p γʔέϯε༻ͷςʔϒϧ p 55- • ΞτϛοΫΧ΢ϯλʔͰ࣮૷

    • ஫จ൪߸΍Ϣʔβʔͷདྷళ਺ΛΧ΢ϯτ • Ϋʔϙϯ΍τʔΫϯͳͲʹద༻
  28. 28 ڞ௨ ςφϯτผ υϝΠϯผ %ZOBNP%#dϦιʔεͷ෼͚ํd • %PNBJOT • 5FOBOUT •

    4FRVFODFT • &WFOU)PPLT • 6TFST • 4UPSFT • *UFNT • 4IFMG&WFOUT • 5SBDLJOHT TVGGJYʹ UFOBOU*% *UFNT@\UFOBOU*%^ TVGGJYʹ EPNBJO 6TFST@\EPNBJO^
  29. 29 γʔέϯεͷ׆༻ྫॳճདྷళ͕໨ࢹͰ͖ɺҊ಺͠΍͘͢ͳΔ

  30. 30 %ZOBNP%#ઃܭྫདྷళ਺ͷΧ΢ϯτ p ςʔϒϧ໊6TFST"DUJWJUJFT@\UFOBOU*%^ p ύʔςΟγϣϯΩʔళฮ*% p ιʔτΩʔϢʔβʔ*% p (4*ύʔςΟγϣϯΩʔʹϢʔβʔ*%

    p -4*ιʔτΩʔʹ5JNFTUBNQ p ళฮίʔυ Ϣʔβ*% ࠷ऴऔҾ೔࣌ ࠷ऴऔҾ൪߸ དྷళ਺
  31. 7. 実装例

  32. 32 ࣮૷ྫྖऩॻ ཁ݅͸ɺɺɺ ⌲ 8FCͰ֬ೝ ⌲ ϝʔϧͰྖऩॻૹ৴ ⌲ ళฮຖʹϑΥʔϚοτΛม͑Δ ʢ໰͍߹ΘͤϑΥʔϜΛೖΕ͍ͨɺͳͲʣ

  33. 33 ࣮૷ྫྖऩॻ ⌲ /PEFKTςϯϓϨʔτΤϯδϯʹFKTΛ࢖༻ ⌲ ςϯϓϨʔτ͸4ʹอଘ ⌲ ੜ੒ͨ͠)5.-Λ 4&4TFOE&NBJMͰૹ৴ ⌲

    ੜ੒ͨ͠)5.-͸4ʹ΋อଘ͠ɺ؅ཧը໘͔Β΋ ࢀরͰ͖ΔΑ͏ʹ
  34. 34 Ø <՝୊>࣮ྫ͕ͳ͍ɺϢʔεέʔε͕Θ͔Βͳ͍ ࣮૷ྫܰݮ੫཰

  35. 35 Ø <՝୊>࣮ྫ͕ͳ͍ɺϢʔεέʔε͕Θ͔Βͳ͍ ˠ5%%Ͱ࣮૷ ࣮૷ྫܰݮ੫཰

  36. 36 Ø <՝୊>࣮ྫ͕ͳ͍ɺϢʔεέʔε͕Θ͔Βͳ͍ ˠ5%%Ͱ࣮૷ ςετέʔεΛͦͷ··Ϣʔεέʔεʹ౰ͯ͸Ί͍ͯ͘ ᶃ ঎඼ͷΈ ᶄ ঎඼ͷΈ ᶅ

    ࠞ߹ ᶆ ঎඼ͷΈΫʔϙϯద༻ ᶇ ঎඼ͷΈΫʔϙϯద༻ ᶈ ࠞ߹Ϋʔϙϯద༻ ࣮૷ྫܰݮ੫཰
  37. ·ͱΊ

  38. 38 ·ͱΊ ü ϦϦʔεαΠΫϧΛߴ଎Ͱճ͢͜ͱͰɺސ٬ͷϑΟʔυόοΫ Λߴ଎ʹ൓ө͢Δʂ ͦͷͨΊʹ΋$*$%͸ࣗಈԽ͢Δɻ ü 4BB4αʔϏεΛ࢖ͬͯɺ4BB4αʔϏεͷ։ൃΛՃ଎͢Δɻ ü αʔϏεͷΞοϓσʔτʹΑͬͯɺ࠷దͳߏ੒͸೔ʑมԽ͢Δɻ

  39. ະདྷͮ͘Γ Τϯδϯʹ ͳΖ͏ʂ #FDPNFBFOHJOF UIBUDSFBUFTUIFGVUVSF 39