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

Why Alp Choose Modular monolith Architecture

showmant
March 15, 2022

Why Alp Choose Modular monolith Architecture

showmant

March 15, 2022
Tweet

More Decks by showmant

Other Decks in Programming

Transcript

  1. Ξϧϓגࣜձࣾऔక໾$50஛ඌਖ਼അ !TIPXNBOU@

    4DBMFCBTF͕ϞϊϦεͰ΋ͳ͘ϚΠΫ
    ϩαʔϏεͰ΋ͳ͘ϞδϡϥϞϊϦε
    Λ࠾༻ͨ͠ཧ༝
    4BB4UFDI-5

    View full-size slide

  2. ஛ඌਖ਼അ ͚͓ͨ͠ΐ͏·

    w ೥ʹΞϧϓגࣜձࣾΛڞಉ
    ૑ۀ͠όοΫΤϯυΤϯδχΞ
    ͳͲΛ୲౰͠ݱࡏ͸$50ͱͯ͠
    ։ൃϚωδϝϯτʹैࣄ
    w ΞϧϓҎલ͸αΠόʔΤʔδΣϯ
    τͷΞυςΫࣄۀ෦ʹॴଐ
    w झຯ͸ϥʔϝϯ୳๚ɻࣇͷ෕
    "CPVUNF

    View full-size slide

  3. ܖ ໿
    ސ ٬
    ೝ ূ ɾ ೝ Մ
    ੥ ٻ ੥ ٻ ॻ
    ෼ ੳ
    ձ ܭ
    ར ༻
    ݱঢ়ѻ͍ͬͯΔυϝΠϯ
    ·ͩ·ͩ૿͑Δ૝ఆ

    View full-size slide

  4. ϞϊϦεͰελʔτͨ͠ཧ༝
    w ౰ॳ͔Βෳ਺ͷίϯςΩετʹ෼ׂͰ͖ͦ͏ͳ͜ͱ͸༧૝͓ͯ͠ΓɺϚΠΫϩ
    αʔϏεʹ͢Δͱ͍͏Ҋ΋͋ͬͨ
    w ελʔτΞοϓ͸εϐʔυ໋͕ʂ
    w ϚΠΫϩαʔϏεԽ͢Δ͜ͱͰγεςϜɾ૊৫తʹߟྀ͠ͳ͚Ε͹ͳΒͳ͍
    ͜ͱͳͲΛߟ͑Δͱɺ͜ͷϑΣʔζͰ͸ద͍ͯ͠ͳ͍ͱ൑அͨ͠

    View full-size slide

  5. ਐԽ͕ඞཁͩͬͨཧ༝
    υϝΠϯઃܭͷվળͷͨΊ
    w ѻ͏υϝΠϯ͕ͱʹ͔͘ෳࡶ
    w ܧଓతͳυϝΠϯઃܭɾίϯςΩετڠձͷ୳ٻ͸ܧଓతσϦόϦʔʹ͓͍ͯ
    ඇৗʹॏཁͳཁૉ
    w શ͘ҧ͏υϝΠϯɾίϯςΩετ੍͕໿΋ͳ͘։ൃ͕ଓ͚ΒΕΕ͹࣌ؒͱ͓
    ڙʹີ݁߹ʹͳΔະདྷ͸ආ͚ΒΕͳ͍
    w Α͍ີ݁߹΋౰વ͋ΓɺͦΕΒΛݟ෼͚Δʹ͸ϨϏϡʔ͔͠ͳ͔ͬͨ

    View full-size slide

  6. ϚΠΫϩαʔϏε͡Όͳ͍ཧ༝
    ελʔτΞοϓʹ͸೉͗͢͠Δɻɻɻɻɻʂ
    w ϝϦοτ
    w σϓϩΠಠཱੑ
    w υϝΠϯͷίϯςΩετ͕ࠞ߹͢Δ͜ͱΛආ͚ΒΕΔ
    w ੜ࢈ੑ޲্ͱεϐʔυΞοϓ
    w ೉͍͠ͱ͜Ζ
    w ಺෦௨৴ɾ෼ࢄɺิঈτϥϯβΫγϣϯɾ؂ࢹɾ$*$%

    View full-size slide

  7. ϚΠΫϩαʔϏε͡Όͳ͍ཧ༝
    ελʔτΞοϓʹ͸೉͗͢͠Δɻɻɻɻɻʂ
    w զʑʹͱͬͯϚΠΫϩαʔϏε͸ʜ
    w ϏδωεϑΣʔζͱ૊৫ن໛ʹϚον͠ͳ͍
    w σϓϩΠಠཱੑ͸ࠓඞཁͰ͸ͳ͍
    w ຊ౰͸ίϯςΩετΛ෼ׂ͠ɺίϯςΩετͷґଘʹ੍໿Λ΋͍͚ͨͤͨͩ

    View full-size slide

  8. ϞδϡϥϞϊϦεΛ࠾༻ͨ͠ͷ͸
    w ҙࣝతɾڧ੍తʹίϯςΩετ෼ׂΛՄೳʹ͢Δઃܭͷ࣮ݱ
    w খ͘͞ελʔτͰ͖Δ͜ͱ͕νʔϜͷτϥΠͱͯ͠ద੾
    w ϞδϡϥϞϊϦεͰΘ͚ͨίϯςΩετΛϚΠΫϩαʔϏεԽʹ֦ு͢Δ͜ͱ
    ͸ൺֱత؆୯

    View full-size slide

  9. ϞδϡϥϞϊϦε࣮ફҎલ
    %PNBJO૚
    6TFDBTF૚
    4IBSFE4FDPOEBSZ"EBQUFS૚
    4FDPOEBSZ"EBQUFS૚
    4IBSFE1SJNBSZ"EBQUFS૚
    1SJNBSZ"EBQUFS૚
    ϞϊϦε൛
    ͘͝ී௨ͷΫϦʔϯΞʔΩςΫνϟ

    View full-size slide

  10. ϞδϡϥϞϊϦε࣮ફޙ
    %PNBJO૚ %PNBJO૚
    6TFDBTF૚ 6TFDBTF૚
    4IBSFE4FDPOEBSZ"EBQUFS૚
    4IBSFE4FDPOEBSZ"EBQUFS૚
    4FDPOEBSZ"EBQUFS૚ 4FDPOEBSZ"EBQUFS૚
    4IBSFE1SJNBSZ"EBQUFS૚
    4IBSFE1SJNBSZ"EBQUFS૚
    1SJNBSZ"EBQUFS૚ 1SJNBSZ"EBQUFS૚
    $POUFYU" $POUFYU#
    ΫϦʔϯΞʔΩςΫνϟͰԣʹ෼ղͭͭ͠ϞδϡϥϞϊϦεͰॎʹ෼ׂ͢ΔΠϝʔδ

    View full-size slide

  11. ΍ͬͯΑ͔ͬͨ͜ͱ
    w ྑ͔ͬͨ͜ͱ
    w খ͘͞ελʔτ͕Ͱ͖ͨ
    w υϝΠϯΤΩεύʔτͱٞ࿦͠ͳ͕ΒίϯςΩετڥքΛௐ੔͢Δ͜ͱ͕ϑϨΩγϒϧʹՄೳ
    w ݱࡏ͸੥ٻͱ੥ٻॻͷ෼ׂͷ͋Γํʹ͍ͭͯٞ࿦த
    w ίϯςΩετڥքΛଚॏͨ͠υϝΠϯϞσϦϯά͕Ͱ͖͍ͯΔ
    w ߟྀ͢΂͖ͱ͜Ζ
    w ϞϊϨϙʹൺ΂Ε͹ίϯςΩετؒͷ௨৴࣮૷ͳͲϘΠϥʔϓϨʔτ͸૿Ճ
    w ࠓ͸γϯάϧ%#ʹͳ͍ͬͯͯɺ෼ׂͰ͖͍ͯͳ͍

    View full-size slide

  12. ·ͱΊ
    w υϝΠϯͷڥքͮ͘Γɺ੍໿Λ΋ͨͤͨઃܭΛ͢ΔͨΊʹϞδϡϥϞϊϦεΛ
    ಋೖͨ͠ d

    w ବ໨ͩͱΘ͔Ε͹ݩʹ໭͢͜ͱ΋Մೳͳ఺΋ඇৗʹΑ͍
    w খ͘͞τϥΠ͕Ͱ͖ɺԆ௕ઢ্ʹϚΠΫϩαʔϏε͕͋Δͷ͸ྑ͍
    w ࣍͸͍͔ͭ͘ͷίϯςΩετΛϚΠΫϩαʔϏεԽ͢Δ͜ͱ ʹͳΔ͸ͣ

    View full-size slide