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

Distributed Tracing for Microservices

Distributed Tracing for Microservices

Atsushi Tanaka

October 30, 2018
Tweet

More Decks by Atsushi Tanaka

Other Decks in Technology

Transcript

  1. ©2018 Wantedly, Inc.
    ϚΠΫϩαʔϏε։ൃʹ
    ෼ࢄτϨʔγϯάΛಋೖͯ͠Έͨ
    Microservices Meetup vol.9 LT
    30.Oct.2018 - Atsushi Tanaka @bgpat

    View full-size slide

  2. ©2018 Wantedly, Inc.
    8BOUFEMZͷϚΠΫϩαʔϏε
    w
    ΄΅
    ͢΂ͯͷαʔϏε͕,VCFSOFUFTʹࡌ͍ͬͯΔ
    wαʔϏεݸҎ্
    wࣾ಺Ͱ͔͠࢖Θͳ͍΋ͷ΋ؚΉ

    View full-size slide

  3. ©2018 Wantedly, Inc.
    8BOUFEMZͷϚΠΫϩαʔϏε

    View full-size slide

  4. ©2018 Wantedly, Inc.
    8BOUFEMZͷϚΠΫϩαʔϏε
    ґଘؔ܎ͷଟ͍αʔϏεσόοά͕େม

    View full-size slide

  5. ©2018 Wantedly, Inc.
    w٧·ΔαʔϏε͸͍ͭ΋ಉ͡
    w໰୊ͱͳΔૢ࡞͸Θ͔͍ͬͯΔ
    wґଘ͢ΔαʔϏεશ෦ʹσόοά༻ͷίʔυೖΕΔͷʁ
    ϚΠΫϩαʔϏεͷσόοά͕೉͍͠໰୊

    View full-size slide

  6. ©2018 Wantedly, Inc.
    ͦ͜Ͱ෼ࢄτϨʔγϯά

    View full-size slide

  7. ©2018 Wantedly, Inc.
    ෼ࢄτϨʔγϯάͱ͸
    wϦΫΤετͷܦ࿏Λ௥੻Ͱ͖Δ
    w֤αʔϏεͰ͔͔Δ͕࣌ؒΘ͔Δ
    wϘτϧωοΫΛ೺ѲͰ͖Δ

    View full-size slide

  8. ©2018 Wantedly, Inc.
    Ͳ͏΍࣮ͬͯݱ͢Δͷ͔
    wΞϓϦέʔγϣϯʹίʔυΛຒΊࠐΉ
    wΠϯϑϥϨΠϠʔͰղܾ
    ෼ࢄτϨʔγϯάͷಋೖ

    View full-size slide

  9. ©2018 Wantedly, Inc.
    Ͳ͏΍࣮ͬͯݱ͢Δͷ͔
    wΞϓϦέʔγϣϯʹίʔυΛຒΊࠐΉ
    wΠϯϑϥϨΠϠʔͰղܾ
    ෼ࢄτϨʔγϯάͷಋೖ

    View full-size slide

  10. ©2018 Wantedly, Inc.
    αʔϏεϝογϡ *TUJP
    Λಋೖ͢Ε͹

    ΞϓϦέʔγϣϯʹखΛՃ͑ͣ

    ָʹ෼ࢄτϨʔγϯά͕ಋೖͰ͖ΔΜ͡ΌͶʁ
    ෼ࢄτϨʔγϯάಋೖ Istio αʔϏεϝογϡ

    View full-size slide

  11. ©2018 Wantedly, Inc.
    αʔϏεϝογϡ *TUJP
    Λಋೖ͢Ε͹

    ΞϓϦέʔγϣϯʹखΛՃ͑ͣ

    ָʹ෼ࢄτϨʔγϯά͕ಋೖͰ͖ΔΜ͡ΌͶʁ
    Ͱ͖·ͤΜ
    Istio αʔϏεϝογϡ
    ෼ࢄτϨʔγϯάಋೖ

    View full-size slide

  12. ©2018 Wantedly, Inc.
    *TUJPΛ࢖ͬͨ෼ࢄτϨʔγϯά
    w௥੻༻ͷϔομ͕ඞཁ
    wΞϓϦέʔγϣϯଆͰ΋ରԠ͠ͳ͍ͱ͍͚ͳ͍
    wͦ΋ͦ΋*TUJP͕ෆ҆ఆ
    wڞ༻͍ͯ͠Δ։ൃ؀ڥ͕յΕͯେมͳ͜ͱʹͳͬͨ
    ෼ࢄτϨʔγϯάಋೖ Istio αʔϏεϝογϡ

    View full-size slide

  13. ©2018 Wantedly, Inc.
    Ͳ͏΍࣮ͬͯݱ͢Δͷ͔
    wΞϓϦέʔγϣϯʹίʔυΛຒΊࠐΉ
    wΠϯϑϥϨΠϠʔͰղܾ
    ෼ࢄτϨʔγϯάͷಋೖ

    View full-size slide

  14. ©2018 Wantedly, Inc.
    ෼ࢄτϨʔγϯάͷಋೖ
    0QFO5SBDJOH
    wτϨʔγϯάͱݴͬͨΒ͜Ε
    w"1*ͷඪ४Խ
    wϕϯμʔʹґΒͳ͍
    0QFO$FOTVT
    w։ൃஈ֊
    wඪ४Խ͠ʹ͍͘෦෼΋

    ໘౗Λݟͯ͘ΕΔ
    ϑϨʔϜϫʔΫΛ࢖͏

    View full-size slide

  15. ©2018 Wantedly, Inc.
    ෼ࢄτϨʔγϯάͷಋೖ
    0QFO5SBDJOH
    wτϨʔγϯάͱݴͬͨΒ͜Ε
    w"1*ͷඪ४Խ
    wϕϯμʔʹґΒͳ͍
    0QFO$FOTVT
    w։ൃஈ֊
    wඪ४Խ͠ʹ͍͘෦෼΋

    ໘౗Λݟͯ͘ΕΔ
    ϑϨʔϜϫʔΫΛ࢖͏
    ˢ

    ࣮૷ͰָͰ͖ͦ͏

    View full-size slide

  16. ©2018 Wantedly, Inc.
    ෼ࢄτϨʔγϯάͷಋೖ
    ࣾ಺ڞ௨ϥΠϒϥϦΛ࢖͑͹
    ෼ࢄτϨʔγϯά΋উखʹೖΔ
    ɹɹ࢖͍ͬͯͳ͍αʔϏεʹ͸ؤுͬͯೖΕͨ
    ࢓૊Έͮ͘Γ

    View full-size slide

  17. ©2018 Wantedly, Inc.
    ෼ࢄτϨʔγϯάͷӡ༻
    όοΫΤϯυ͸༻్ʹ߹Θͤͯ࢖͍෼͚
    %BUBEPH"1.
    wՄࢹԽ͕ಘҙ
    wݕࡧ͕ۤख
    4UBDLESJWFS5SBDF
    wݕࡧ͕ಘҙ
    w6*͕γϯϓϧ͗͢Δ

    View full-size slide

  18. ©2018 Wantedly, Inc.
    όοΫΤϯυ͸༻్ʹ߹Θͤͯ࢖͍෼͚
    %BUBEPH"1.
    wՄࢹԽ͕ಘҙ
    wݕࡧ͕ۤख
    ෼ࢄτϨʔγϯάͷӡ༻

    View full-size slide

  19. ©2018 Wantedly, Inc.
    όοΫΤϯυ͸༻్ʹ߹Θͤͯ࢖͍෼͚
    4UBDLESJWFS5SBDF
    wݕࡧ͕ಘҙ
    w6*͕γϯϓϧ͗͢Δ
    ෼ࢄτϨʔγϯάͷӡ༻

    View full-size slide

  20. ©2018 Wantedly, Inc.
    w෼ࢄτϨʔγϯάͰϚΠΫϩαʔϏεͷσόοά͕؆୯ʹ
    wΠϯϑϥϨΠϠ͚ͩͰ͸࣮ݱͰ͖ͳ͍
    wࣗ૸͢Δ࢓૊Έ͸ඞཁ
    wϕϯμʔϩοΫΠϯ͠ͳ͍͜ͱͰΑΓศརʹ
    ·ͱΊ

    View full-size slide

  21. ©2018 Wantedly, Inc.
    .JDSPTFSWJDFT.POEBZ
    ຖि݄༵೔ʹϚΠΫϩαʔϏεʹ͍ͭͯ

    ΏΔ͘࿩͢ձΛ͍ͯ͠·͢
    IUUQTHJUIVCDPNXBOUFEMZNJDSPTFSWJDFT@NPOEBZ

    View full-size slide