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

SOA

yosi
February 18, 2021

 SOA

SOA

yosi

February 18, 2021
Tweet

More Decks by yosi

Other Decks in Programming

Transcript

  1. SOAˍMSA
    ServiceOrientedArchitecture

    View full-size slide

  2. ϞϊϦγοΫΞʔΩςΫνϟʔ

    View full-size slide

  3. Ұຕͷେ͖ͳؠ

    View full-size slide

  4. ϞϊϦγοΫΞʔΩςΫνϟʔ͔Β΁ͷ୤٫
    ϞϊϦγοΫʢҰຕؠʣ
    ՝୊
    ΞϓϦέʔγϣϯʹ࠷খݶͷมߋΛՃ͑Δ͚ͩͰ΋ɺมߋ͢ΔՕॴ͕ଟ͋͘
    Δɻ
    →मਖ਼Օॴଟ͘޻਺͕͔͔Δɻ
    →γεςϜͷෳࡶԽ
    →Ξοϓσʔτ͢Δͨͼ·ͨमਖ਼Օॴ͕ଟذʹΘͨΓѱ॥؀

    View full-size slide

  5. ϞϊϦγοΫͷ՝୊͔Β୤٫͢ΔͨΊʹߟ͑ΒΕ͍ͯͨͷ͕
    SOA(αʔϏεࢦ޲ΞʔΩςΫνϟʔ)

    View full-size slide

  6. SOAͱ͸
    • SOA
    ɹˠServiceOrientedArchitecture
    ɹ(αʔϏεࢦ޲ΞʔΩςΫνϟʔ)
    • ͜͜Ͱ͍͏αʔϏε͸ʮಠཱͨ͠ΞϓϦέʔγϣϯɺ·ͨ͸ͦͷػೳͷҰ
    ෦ʯͦΕΛҰͭͷαʔϏεͱͯ͠ɺίϯϙʔωϯτԽ(෦඼Խ)͠ɺඞཁʹԠ͡
    ͯ૊Έ߹Θͤͯ৽͍͠γεςϜͱͯ͠࢖͏ɺઃܭख๏ͷҰͭͰ͋Δ

    View full-size slide

  7. ҰͭྫΛ͓ݟͤ͠·͢

    View full-size slide

  8. ESB(ΤϯλʔϓϥΠζɾαʔϏεɾόε)
    ݸผͷ࠶ར༻ՄೳͳαʔϏεͷू߹ͱͯ͠ΞϓϦέʔγϣ
    ϯΛߏங͢Δख๏ɻ
    ͜ͷΞʔΩςΫνϟͰ͸ɺಛఆͷϏδωεϓϩηεΛத৺
    ʹฤ੒͞ΕͨݸʑͷαʔϏε͕ɺSOAPɺActiveMQɺ
    Apache Thrift ͳͲͷ௨৴ϓϩτίϧʹ४ڌ͠ɺESB Λհ͠
    ͯڞ༗͞Ε·͢ɻͭ·ΓɺESB Λհͯ͠౷߹͞ΕΔ͜ͷҰ
    ࿈ͷαʔϏε͕ɺΞϓϦέʔγϣϯΛߏ੒͢ΔͷͰ͢ɻ

    View full-size slide

  9. ͜ΕͰϞϊϦγοΫ
    ͔Β୤٫΍!

    View full-size slide

  10. Ͱ΋ɺ՝୊΋͋ͬͨ

    View full-size slide

  11. ՝୊
    ESB ͸γεςϜશମͷ୯Ұো֐఺ͱͳΔͨΊɺϞ
    ϊϦεΛഉআ͢Δ౒ྗ͕৽ͨͳϞϊϦεΛੜΈग़
    ͚ͨͩ͠ͱ͍͏ݟํ΋͋Γ·͢ɻ
    ESB ͸ɺ૊৫શମͷϘτϧωοΫͱͳΔՄೳੑ͕
    ͋Γ·͢ɻ

    View full-size slide

  12. ߴՁͳESB
    ESB͸ෳࡶͳʢͭ·ΓߴՁͳʣϛυϧ΢ΣΞ
    ඇಉظϝοηʔδ΁ͷରԠɺߴෛՙ΁ͷରԠɺো֐ൃੜ΁ͷର
    ԠɺαʔϏεϨϕϧͷอূɺηΩϡϦςΟͳͲɺར༻৚݅ΛΤ
    ϯλʔϓϥΠζγεςϜͷ఻౷తͳج४ʹ߹Θͤͯݫ͘͠ઃఆ
    ͢Δͱɺ͜͏ͨ͠ϛυϧ΢ΣΞͷඞཁੑ͸΋ͬͱ΋ͳΑ͏ʹࢥ
    ΘΕ·ͨ͠ɻ
    →ෳࡶա͗ͯେاۀͰͳ͚Ε͹࣮૷Ͱ͖ͳ͍Α͏ʹͳΔ

    View full-size slide

  13. ͦ͜Ͱੜ·Εͨͷ͕
    ϚΠΫϩαʔϏεΞʔΩςΫνϟʔ

    View full-size slide

  14. MSA(ϚΠΫϩαʔϏε)ͱ͸
    ϚΠΫϩαʔϏε͸ݴޠʹґଘ͠ͳ͍ API Λհͯ͠εςʔτϨεʹ૬ޓʹ௨৴Ͱ͖
    ·͢ɻ
    γεςϜΛෳ਺ͷαʔϏεͷू߹ମͱͯ͠ߏ੒͠ɺαʔϏε૬ޓΛRESTful Web APIͷΑ͏ͳ
    γϯϓϧͰܰྔͳखஈͰ࿈ܞ͢Δख๏Ͱ͢ɻ
    ͦͷ࠷େͷϝϦοτ͸ɺখن໛ͳαʔϏε܈Λૄ݁߹͢Δ࡞Γʹ͢Δ͜ͱʹΑΓɺʮҰຕ
    ؠʯʢϞϊϦγοΫʣͷγεςϜͷෳࡶ͔͞Βࣗ༝ʹͳΔ͜ͱͰ͢ɻͭ·ΓɺϚΠΫϩαʔ
    Ϗεͷߟ͑ํΛಋೖ͢Δ͜ͱͰɺมԽʹڧ͍γεςϜΛ࡞Δ͜ͱ͕Ͱ͖ΔͷͰ͢ɻ
    ϚΠΫϩαʔϏεʯͰ͸ɺWebͷจԽ͔Βੜ·ΕͨγϯϓϧͳRESTful Web APIΛαʔϏεͷ
    ੾Γޱʹ͢Ε͹͍͍͡Όͳ͍͔ɺͱ͍͏ߟ͑ํͰ͢ɻESBͷΑ͏ͳॏྔڃͷϝοηʔδϯά
    ϛυϧ΢ΣΞ͸࢖͍·ͤΜɻ

    View full-size slide

  15. ʮͲͪΒ΋ڊେԽͨ͠γεςϜΛޮ཰Α͘อक͢Δ
    ͨΊɺγεςϜΛ෼ׂ͢Δߟ͑ํʯ
    ʮಋೖͷ໨త΍ඞཁͳٕज़͕ҟͳΔɻʯ

    View full-size slide

  16. 4P& 4ZTUFNPG&OHBHFNFOU
    4P3 4ZTUFNPG3FDPSE
    ͱͱ͍͏֓೦
    ܨ͕Γ͔ਖ਼͔֬͞

    View full-size slide

  17. SOAͱMSA
    SOA
    ੈؒʹग़࢝Ίͨࠒ 2000೥୅ॳ಄ 2014~
    ֓೦ SOA ͸૊৫ن໛ͷΞʔΩςΫνϟͷख๏ ΞϓϦέʔγϣϯ։ൃνʔϜ಺ͷ࣮૷ઓུ
    ίϯϙʔωϯτ
    ͷ઀ଓํࣜ
    ESB Λհͯ͠ͷ઀ଓ
    API
    ࣮૷ ೉͍͠ ൺֱత༰қ
    ΰʔϧ ࠶ར༻ͱ෼཭
    ஈ֊తʹ௥Ճ࣮૷
    ؅ཧͷ༰қ
    MSA

    View full-size slide

  18. ϚΠΫϩαʔϏεԽΛ͢͢Ίͨاۀ
    •ΫοΫύου
    •Amazon
    •LINE
    •Netflix

    View full-size slide

  19. ௐ΂͍ͯ͘͏ͪʹग़͖ͯͨ୯ޠ
    • DevOps
    • ίϯςφʢίϯςφٕज़ͷൃల͔Βɺɺɺʣ
    • ௨৴ϓϩτίϧ
    • αʔόʔϨε
    • ΞδϟΠϧ։ൃ

    View full-size slide