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

DMM.comの認証基盤を支えるエラー通知の仕組み / AWS Dev Day Tokyo 2018 Lightning Talk

DMM.comの認証基盤を支えるエラー通知の仕組み / AWS Dev Day Tokyo 2018 Lightning Talk

AWS Dev Day Tokyo 2018 LT大会

Kentaro Matsushita

October 31, 2018
Tweet

More Decks by Kentaro Matsushita

Other Decks in Programming

Transcript

  1. %..DPNϓϥοτϑΥʔϜࣄۀຊ෦ϝϯόʔγοϓαʔϏε෦দԼ݈ଠ࿠
    "84%FW%BZ5PLZP-5େձ
    %..DPNͷೝূج൫Λࢧ͑Δ

    Τϥʔ௨஌ͷ࢓૊Έ

    View full-size slide

  2. © DMM.com
    ࣗݾ঺հ
    2
    দԼ݈ଠ࿠
    w %..DPNϓϥοτϑΥʔϜࣄۀຊ෦ϝϯόʔγοϓαʔϏε෦
    w ೥৽ଔೖࣾ
    w %..αʔϏεͰར༻͞ΕΔೝূج൫ͷ։ൃ͓Αͼӡ༻Λ୲౰
    w ੴ઒ݝۚ୔ࢢͷ։ൃڌ఺Ͱۈ຿
    (JU)VCLFOUBSPNɹ5XJUUFS@LFOUBSP@N

    View full-size slide

  3. © DMM.com
    ࠓ೔͓࿩͢Δ͜ͱ
    3
    Τϥʔ௨஌ͷ಺༰΍ྔΛίϯτϩʔϧͯ͠ɺ
    ো֐Λ࣮֬ʹݕ஌͠Α͏ʂ

    View full-size slide

  4. © DMM.com
    ՝୊ɿΤϥʔ௨஌͕ΦΦΧϛগ೥ʹͳ͍ͬͯͨ
    4
    Τϥʔ௨஌ͷ؅ཧΛ͔ͬ͠Γ͠ͳ͍ͱɺ

    ͍͟ͱ͍͏ͱ͖ʹো֐ʹؾ͚ͮͳ͍
    ͍ͭ΋ͷΤϥʔ௨஌Ͱ͠ΐ͏ɻ
    ແࢹ͍͍ͯ͠΍ͭͩΑɻ
    ˞΍ΓऔΓ͸ΠϝʔδͰ͢

    View full-size slide

  5. © DMM.com
    ղܾࡦɿॏཁ౓ʹԠͨ͡Τϥʔ௨஌Λߦ͏࢓૊ΈΛߏங
    5
    JOTUBODF
    "NB[PO,JOFTJT
    'JSFIPTF
    "NB[PO&4 ,JCBOB
    CVDLFU
    UPQJD
    -BNCEB
    GVODUJPO 4MBDL
    'MVFOUE
    QMVHJO
    %FWFMPQFST
    ΞʔΧΠϒ
    Ӿཡ
    ௨஌
    ϩά

    View full-size slide

  6. © DMM.com
    શ݅௨஌ ൃੜͨ͠ΞϓϦέʔγϣϯΤϥʔΛ͢΂ͯ௨஌͠·͢ɻ
    ᮢ஋௨஌ ҰఆظؒʹಛఆͷϝοηʔδΛؚΉΤϥʔ͕ࣄલʹઃఆ͞Εͨ݅਺Λ
    ௒͑ͯൃੜͨ͠ͱ͖ʹ௨஌͠·͢ɻ
    छྨͷΤϥʔ௨஌ํ๏Λར༻Ͱ͖Δ
    6
    ू໿௨஌ ಛఆͷϝοηʔδΛؚΉΤϥʔͷ݅਺Λ೔ճ௨஌͠·͢ɻ

    View full-size slide

  7. © DMM.com
    શ݅௨஌ ͙͢ʹௐ͕ࠪඞཁͳΤϥʔ

    ಺༰Λ֬ೝͯ͠ɺରԠํ਑ΛܾΊΔ
    ᮢ஋௨஌
    ෆఆظʹ୯ൃͰൃੜ͢Δ෼ʹ͸ଈ࣌ରԠ͠ͳ͍͕ɺ
    ଟൃ͢Δͱௐ͕ࠪඞཁͳΤϥʔ
    FHωοτϫʔΫλΠϜΞ΢τΤϥʔ౳
    छྨͷΤϥʔ௨஌ํ๏Λ࢖͍෼͚Δ
    7
    ू໿௨஌ ݱࡏͷӡ༻্ൃੜͯ͠͠·͏ɺ௕ظతͳվળ͕ඞཁͳΤϥʔ
    ຖ೔ͷΤϥʔ݅਺ͷਪҠΛݟͯɺશମͷ܏޲Λ೺Ѳ
    ॏཁ౓
    ߴ
    ௿

    View full-size slide

  8. © DMM.com
    ᮢ஋௨஌
    8
    CVDLFU 4MBDL
    UPQJD
    BMBSN
    -BNCEB
    GVODUJPO
    ϝτϦΫεϑΟϧλͰΤϥʔ݅਺Λ

    Χ΢ϯτ
    UPQJD
    -BNCEB
    GVODUJPO
    DPOTPMFMPHͰΤϥʔϩάΛग़ྗ͠ɺ
    $MPVE8BUDI-PHTͰॲཧ

    View full-size slide

  9. © DMM.com
    w ௨஌ର৅Τϥʔϝοηʔδ͝ͱʹϝτϦΫεϑΟϧλΛ࡞੒
    w ର৅ͷϝοηʔδɺର৅ظؒɺΤϥʔ݅਺Λઃఆ
    w DG෼ؒʹzωοτϫʔΫ஗ԆΤϥʔz͕݅Ҏ্ൃੜ
    ᮢ஋௨஌
    9
    ᮢ஋
    ࣮ଌ஋

    View full-size slide

  10. © DMM.com
    શ݅௨஌
    10
    CVDLFU 4MBDL
    -BNCEB
    GVODUJPO
    UPQJD
    -BNCEB
    GVODUJPO
    4MBDLʹ௨஌͢Δࡍͷ

    ϝοηʔδͷϑΥʔϚοτΛ੔͑Δ

    View full-size slide

  11. © DMM.com
    w Τϥʔൃੜޙɺʙ෼Ͱ4MBDLʹ௨஌͞ΕΔ
    w ௨஌ϝοηʔδͷ,JCBOBͷϦϯΫ͔ΒτϥϯβΫγϣϯ͝ͱʹ

    ΤϥʔϩάΛ֬ೝ͢Δ͜ͱ͕Մೳ
    શ݅௨஌
    11

    View full-size slide

  12. © DMM.com
    w ,JCBOBͷ"1*Λݺͼग़ͯ͠ɺΤϥʔ݅਺Λ௨஌
    w ೔ճɺ"84-BNCEBΛ$MPVE8BUDI&WFOUTͰఆظ࣮ߦ
    w ௨஌ର৅ͷϝοηʔδΛ͋Β͔͡ΊઃఆϑΝΠϧͰࢦఆ͢Δ
    w ຖேɺ୲౰ऀ͕Τϥʔ಺༰ͱΤϥʔ݅਺ͷਪҠΛ֬ೝ
    ू໿௨஌
    12
    Τϥʔϝοηʔδ ݅਺

    View full-size slide

  13. © DMM.com
    w ൃੜස౓΍ॏཁ౓ʹΑͬͯɺΤϥʔ௨஌ํ๏Λมߋ
    w ௨஌ํ๏Λఆظతʹݟ௚͠ɺॏཁ౓ͷߴ͍௨஌Λ࣮֬ʹड͚औΔ
    w $MPVE8BUDIͷϝτϦΫεϑΟϧλΛ࢖༻͢Δ͜ͱͰ

    ࡉ͔͍௨஌ͷ੍ޚ͕Մೳ
    w Τϥʔ௨஌Λग़͚ͩ͢Ͱ͸ͳ͘ɺվળʹҙ͕ࣝ޲͘Α͏ͳ࢓૊ΈΛ
    ࡞Δ͜ͱ͕େ੾
    ·ͱΊ
    13

    View full-size slide

  14. © DMM.com
    ͍͞͝ʹ
    14
    ࣭໰΍վળͷΞΠσΞͳͲ͕͋Ε͹ɺ

    ͜ͷ͋ͱڭ͍͚͑ͯͩΔͱخ͍͠Ͱ͢ɻ
    5XJUUFS@LFOUBSP@N

    View full-size slide