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

1日1億イベントを捌く サーバーレスアーキテクチャ

1日1億イベントを捌く サーバーレスアーキテクチャ

Serverless Meetup Tokyo #4

なりたけいすけ

August 09, 2017
Tweet

More Decks by なりたけいすけ

Other Decks in Programming

Transcript

  1. ̍೔̍ԯΠϕϯτΛࡹ͘
    αʔόʔϨεΞʔΩςΫνϟ
    !4FSWFSMFTT.FFUVQ5PLZP
    ͳΓ͚͍͚ͨ͢

    View full-size slide

  2. ͳΓ͚͍͚ͨ͢
    ΤϯδχΞ

    View full-size slide

  3. Ξϝʔόϒϩάެࣜδϟϯϧ

    View full-size slide

  4. %ZOBNP%#
    -BNCEB
    "1*(BUFXBZ

    View full-size slide

  5. "UIFOB
    %ZOBNP%#
    -BNCEB
    "1*(BUFXBZ
    $MPVE8BUDI
    $MPVE'SPOU
    4/4 93BZ
    4

    View full-size slide

  6. 4FSWFSMFTTΛબ୒ͨ͠ཧ༝

    View full-size slide

  7. ༷ʑͳͱ͜Ζ͔Βݺ͹ΕΔ"1*

    View full-size slide

  8. &$ &$ &$ &$ &$ &$ &$ &$
    େྔͷαʔόʔ͕ඞཁ
    &$ &$ &$ &$ &$

    View full-size slide

  9. &$ &$ &$ &$
    4FSWFSMFTT
    &$ &$ &$ &$ &$
    -BNCEB

    View full-size slide

  10. ͱ͸͍͑ɺຊ౰ʹ͏·͍͔͘͘ෆ҆ʜ

    View full-size slide

  11. ͍͟ͱͳͬͨΒ
    ࡌͤସ͑ͯ΋ಈ͘Α͏ʹத਎Λ࡞Δ

    View full-size slide

  12. ͍͟ͱͳͬͨΒ
    ࡌͤସ͑ͯ΋ಈ͘Α͏ʹத਎Λ࡞Δ

    View full-size slide

  13. 3FRVFTU
    $MPVE'SPOU
    -BNCEB
    "1*(BUFXBZ
    %ZOBNP%#
    "1*

    View full-size slide

  14. "1*Ҏ֎ͷ࢖͍ํ

    View full-size slide

  15. $MPVE8BUDI&WFOU
    -BNCEB
    $MPVE8BUDI&WFOU

    View full-size slide

  16. )FBMUI$IFDL͕ࣦഊ͢Δͱ௨஌

    View full-size slide

  17. %ZOBNP%#
    "VUP4DBMF

    View full-size slide

  18. $MPVE8BUDI"MBSN
    -BNCEB
    $MPVE8BUDI"MBSN
    %ZOBNP%#

    View full-size slide

  19. "TZOD
    -BNCEB
    -BNCEB
    %ZOBNP%#

    View full-size slide

  20. #BUDI
    -BNCEB
    $MPVE8BUDI&WFOU
    %ZOBNP%#

    View full-size slide

  21. "UIFOB -BNCEB
    $MPVE8BUDI&WFOU
    "UIFOB

    View full-size slide

  22. -BNCEB
    ૊Έ߹Θͤ৭ʑ
    ̍؀ڥ͋ͨΓ໿ݸͷ'VODUJPO

    View full-size slide

  23. 4FSWFSMFTTͷͭ·͖ͮ

    View full-size slide

  24. -BNCEBͷετϨʔδ্͕ݶΛ௒͑Δ

    View full-size slide

  25. -BNCEB͕%FQMPZຖʹόʔδϣϯΛ࣋ͬͯͨ

    View full-size slide

  26. %FQMPZ͢Δͱॠஅ͕ൃੜ͢Δ

    View full-size slide

  27. σϓϩΠதʹݹ͍όʔδϣϯΛ্ॻ͖͢Δ

    View full-size slide

  28. σϓϩΠ͕׬͔ྃͯ͠Β
    ݹ͍όʔδϣϯΛ࡟আ͢ΔΑ͏ʹมߋͨ͠

    View full-size slide

  29. IUUQTHJUIVCDPNTFSWFSMFTTTFSWFSMFTTJTTVFT
    4FSWFSMFTT'SBNFXPSL͕
    $MPVE'PSNBUJPOͷ.BYͰ͋Δ
    3FTPVSDFTΛ௒͑ͯ͠·͏໰୊

    View full-size slide

  30. $MPVE'PSNBUJPO

    View full-size slide

  31. *".
    $MPVE'PSNBUJPO
    $MPVE8BUDI
    "1*(BUFXBZ
    -BNCEB
    %ZOBNP%#

    View full-size slide

  32. *".
    $MPVE'PSNBUJPO
    $MPVE8BUDI
    "1*(BUFXBZ
    -BNCEB
    %ZOBNP%#
    ؆୯ʹ3FTPVSDFTΛ௒͑Δ

    View full-size slide

  33. "1* "TZOD #BUDI
    ໾ׂ͝ͱʹΛ௒͑ͳ͍Α͏ZBNMΛ෼ׂ

    View full-size slide

  34. 5FSSBGPSNͱ໾ׂ͕ඃΔ

    View full-size slide

  35. "UIFOB
    %ZOBNP%#
    -BNCEB
    "1*(BUFXBZ
    $MPVE8BUDI
    $MPVE'SPOU
    4/4 93BZ
    4
    "84ෳࡶա͗Δ

    View full-size slide

  36. "UIFOB
    %ZOBNP%#
    -BNCEB
    "1*(BUFXBZ
    $MPVE8BUDI
    $MPVE'SPOU
    4/4 93BZ
    4
    ࠷ॳ͸֮͑Δ͜ͱ͕ଟ͍

    View full-size slide

  37. "UIFOB
    %ZOBNP%#
    -BNCEB
    "1*(BUFXBZ
    $MPVE8BUDI
    $MPVE'SPOU
    4/4 93BZ
    4
    ֮̍ͭ̍ͭ͑Δʂ

    View full-size slide

  38. IUUQRJJUBDPNOBSJLFJJUFNTEEBFGG

    View full-size slide

  39. ϓϩμΫτ͸̍िؒಈ͔ͬ͠ͺͳ͠

    View full-size slide

  40. ԕִͰ੍ޚ͍ͨ͠

    View full-size slide

  41. ͲΕ͘Β͍࢖ΘΕ͍ͯΔ͔Ϩϙʔτ

    View full-size slide

  42. γεςϜͷΤϥʔϩά

    View full-size slide

  43. ಈըϓϨΠϦετઃఆߋ৽

    View full-size slide

  44. αʔόʔ࡞Δ·Ͱ΋ͳ͍ͳͬͯ
    αʔϏεʹ΋ಋೖ͠΍͍͢

    View full-size slide

  45. 4FSWFSMFTTͷ޷͖ʹͳͬͨ

    View full-size slide

  46. Ͳ͔ͬյΕͯ΋ଞʹӨڹ͠ͳ͍ʂ

    View full-size slide

  47. αʔόʔ؅ཧͳ͍ͷ͸ϗϯτָʂ

    View full-size slide