Slide 1

Slide 1 text

ϛχαʔϏεΞʔΩςΫνϟͰ ϋʔυϞʔυͳݱ࣮Λ৐Γӽ͑ ……͍ͨ 2018.8.30 Isamu Suzuki / @moomooya Rakus Co., Ltd.

Slide 2

Slide 2 text

ࣗݾ঺հ • ླ໦༐ ͖͍ͣ͢͞Ή
 @moomooya
 גࣜձࣾϥΫε
 • Φδαϯ • ษڧձϨϙ࠷଎Φδαϯ • MSAߟ͑Δͷ޷͖Φδαϯ • ΞφϩάήʔϜσβΠφʔ • ݹయҹըࣸਅϓϦϯλʔ 2

Slide 3

Slide 3 text

·ͣ͸એ఻ • ࢴਆܦਰऑ • ϑΥϯτ͔Δͨ • Χϥʔίʔυ͔Δͨ

Slide 4

Slide 4 text

ຊ೔ͷ͓୊

Slide 5

Slide 5 text

ϚΠΫϩαʔϏε͸ ࡉ͔͔͗ͩ͢Β ϛχαʔϏεʹ ͢Δͷ͕͍͍͔΋

Slide 6

Slide 6 text

എܠ

Slide 7

Slide 7 text

৽نαʔϏεͷ։ൃ͕࢝·ͬͨ

Slide 8

Slide 8 text

৽نαʔϏεͷ։ൃ͕࢝·ͬͨ

Slide 9

Slide 9 text

৽نαʔϏεͷ։ൃ͕࢝·ͬͨ ෦௕ʮΞʔΩςΫνϟͷݕ౼ΑΖ͘͠ʯ ླ໦ʮ͑ɺ͋ɺ͸͍(řŐŖŘʯ 3݄ࠒ͔ΒαʔϏεֻ͚࣋ͪͰΏΔΏΔͱݕ౼։࢝ 7݄͔Βઐ೚Խͯ͠ઌ೔࠾༻ΞʔΩςΫνϟ͸Ծܾఆ

Slide 10

Slide 10 text

໿6ϲ݄ؒʹۤ೰ͨ͜͠ͱͷ Ұ෦Λ͓࿩͠·͢

Slide 11

Slide 11 text

ࣾ಺ͷ࣮ݧϓϩδΣΫτͰMSAͷ՝୊͸ײ͍ͯͨ͡ • υϝΠϯڥքͷఆ͕ٛ೉͍͠ • υϝΠϯ஌͕ࣝͳ͍ͱద੾ʹఆٛͰ͖ͳ͍ • ࣮૷ɺӡ༻͠ͳ͍ͱυϝΠϯ஌͕ࣝಘΒΕͳ͍

Slide 12

Slide 12 text

ࣾ಺ͷ࣮ݧϓϩδΣΫτͰMSAͷ՝୊͸ײ͍ͯͨ͡ • υϝΠϯڥքͷఆ͕ٛ೉͍͠ • υϝΠϯ஌͕ࣝͳ͍ͱద੾ʹఆٛͰ͖ͳ͍ • ࣮૷ɺӡ༻͠ͳ͍ͱυϝΠϯ஌͕ࣝಘΒΕͳ͍ • ϞϊϦεΛϚΠΫϩαʔϏεʹ෼ׂ͢Δͷ೉͍͠ • ෼ׂ͠΍͘͢։ൃ͢Δʹ͸MSAͷཧղ͕ඞཁ

Slide 13

Slide 13 text

ࣾ಺ͷ࣮ݧϓϩδΣΫτͰMSAͷ՝୊͸ײ͍ͯͨ͡ • υϝΠϯڥքͷఆ͕ٛ೉͍͠ • υϝΠϯ஌͕ࣝͳ͍ͱద੾ʹఆٛͰ͖ͳ͍ • ࣮૷ɺӡ༻͠ͳ͍ͱυϝΠϯ஌͕ࣝಘΒΕͳ͍ • ϞϊϦεΛϚΠΫϩαʔϏεʹ෼ׂ͢Δͷ೉͍͠ • ෼ׂ͠΍͘͢։ൃ͢Δʹ͸MSAͷཧղ͕ඞཁ ʘ(^o^)ʗŨƃŦƄ

Slide 14

Slide 14 text

ͦΕͰ΋ߟ͑ͨ

Slide 15

Slide 15 text

མͱ͠ॴ୳͠ • ७ਮʹγεςϚςΟοΫͳػೳ͸෼ׂ • ೝূͱ͔ɺηογϣϯετΞͱ͔ • ΞϓϦέʔγϣϯͱ࣮ͯ͠૷͢Δ͔Ͳ͏͔ผͱͯ͠ • ۀ຿ྖҬ͸Ұ൪େ͖ͳ୯ҐͷυϝΠϯͰ෼ׂ • ϚΠΫϩαʔϏεͰਪ঑͞ΕΔʮػೳ୯ҐʯͰ͸ͳ͍ ƅ㱼ƅ)ŝŦŠƀ!!

Slide 16

Slide 16 text

ͨͩͶ……

Slide 17

Slide 17 text

৽ͨͳΔ໰୊ • ੈؒҰൠͷཧղ͸
 ʰϞϊϦεʱorʰϚΠΫϩαʔϏεʱ

Slide 18

Slide 18 text

৽ͨͳΔ໰୊ ্࢘ʮϚΠΫϩαʔϏεʹ͢ΔͱɺτϥϯβΫγϣϯͰ
 ɹɹॲཧ͍ͯͨ͠΋ͷ͕αʔϏεލ͍ͩΒ࣮ݱͰ͖ͳ͍ ɹɹΜ͡Όͳ͍ʁʯ ླ໦ʮۀ຿ॲཧ෦෼͸΄ͱΜͲαʔϏε෼ׂ͍ͯ͠ͳ͍ ɹɹͷͰɺࠓ·ͰͲ͓ΓτϥϯβΫγϣϯͰॲཧͰ͖ ɹɹ·͢͠ɺͦΕҎ֎͸݁Ռ੔߹ੑ͕औΕͯΕ͹ ɹɹ͍͍ͩͨ໰୊ͳ͍ͱࢥ͍·͢Αʯ ্࢘ʮͦ͏͔ʯ

Slide 19

Slide 19 text

৽ͨͳΔ໰୊ ্࢘ʮϚΠΫϩαʔϏεʹ͢ΔͱɺτϥϯβΫγϣϯͰ
 ɹɹॲཧ͍ͯͨ͠΋ͷ͕αʔϏεލ͍ͩΒ࣮ݱͰ͖ͳ͍ ɹɹΜ͡Όͳ͍ʁʯ ླ໦ʮۀ຿ॲཧ෦෼͸΄ͱΜͲαʔϏε෼ׂ͍ͯ͠ͳ͍ ɹɹͷͰɺࠓ·ͰͲ͓ΓτϥϯβΫγϣϯͰॲཧͰ͖ ɹɹ·͢͠ɺͦΕҎ֎͸݁Ռ੔߹ੑ͕औΕͯΕ͹ ɹɹ͍͍ͩͨ໰୊ͳ͍ͱࢥ͍·͢Αʯ ্࢘ʮͦ͏͔ʯ ͍ͬͯ͏΍ΓऔΓΛ4, 5ճ܁Γฦͨ͠

Slide 20

Slide 20 text

MSAͱ͸ҧ͏ྑ͍දݱ͕ඞཁ

Slide 21

Slide 21 text

ϛχαʔϏεͱ͸ͳΜͧ΍ʁ

Slide 22

Slide 22 text

࠷ॳʹݴ͍ग़ͨ͠ͷ͸୭ͳͷ͔͠Β • ʢ͓ͦΒ͘ʣCloud ElementsࣾͷRoss Garrettࢯ • 2017೥5݄24೔ʹࣗࣾϒϩάʹʰϛχαʔϏεɿ࣮༻ తͳϚΠΫϩαʔϏεΞʔΩςΫνϟʱͱ͍͏౤ߘ

Slide 23

Slide 23 text

࠷ॳʹݴ͍ग़ͨ͠ͷ͸୭ͳͷ͔͠Β https://blog.cloud-elements.com/miniservice-pragmatic- microservices-architecture

Slide 24

Slide 24 text

͍Θ͘ • αʔϏε෼ׂͯ͠Πϕϯτۦಈʹͯ͠ૄ݁߹Խ

Slide 25

Slide 25 text

͍Θ͘ • αʔϏε෼ׂͯ͠Πϕϯτۦಈʹͯ͠ૄ݁߹Խ • ͦΜͳΜ೉ͯ͘͠Ͱ͖Δ͔ʔ͍

Slide 26

Slide 26 text

݁߹౓্͕ΔͷͰαʔϏεڥք΁Βͦ͏ • ػೳ୯ҐͷαʔϏεͰ͸ͳ͘
 υϝΠϯ୯ҐͷαʔϏε

Slide 27

Slide 27 text

;Ή

Slide 28

Slide 28 text

੾Γޱ͸ҧ͏͚Ͳ • ݪཧओٛతͳϚΠΫϩαʔϏε͸ཁٻٕज़͕ଟ͍ • εέʔϧͤ͞Δ͜ͱΛߟ͑ΔͱϞϊϦγοΫ΋ආ͚͍ͨ • ݱ࣮తͳམͱ͠Ͳ͜Ζ͸Ͳ͔͜ υϝΠϯ୯ҐͷαʔϏε෼ׂ Πϕϯτۦಈ͸࢖͏͚ͲͶ

Slide 29

Slide 29 text

ղܾͰ͖ΔΜ͡Όͳ͍͔ͳɺͱظ଴Ͱ͖Δ͜ͱ • τϥϯβΫγϣϯॲཧʹ೰·͞Εʹ͘͘ͳΔ • ۀ຿஌ࣝΛ਎ʹ͚ͭΔ༛༧͕Ͱ͖Δ • ϦϙδτϦʗαʔϏεཚཱ஍ࠈͷճආ • αʔϏεݮΕ͹׳Εͳ͍͏ͪͷσϓϩΠ੔උ͕ܰݮ • ͋Δఔ౓͸෼͔ΕΔͷͰ෼ׂ͠΍͍࣮͢૷΋ҡ࣋ʁ • શମ૾Λਓ͕ؒ೺ѲͰ͖Δ •

Slide 30

Slide 30 text

͜ΕͳΒ΍Εͦ͏

Slide 31

Slide 31 text

ϗϯτʹ΍ΕΔ͔Ͳ͏͔͸ ͜Ε͔Β

Slide 32

Slide 32 text

΋͏Ұͭɺࢀߟهࣄ https://thenewstack.io/miniservices-a-realistic-alternative-to- microservices/

Slide 33

Slide 33 text

thanks