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

マイクロサービスの思想から捉える Backends for Frontendsとその類似パター...

qsona
June 07, 2018

マイクロサービスの思想から捉える Backends for Frontendsとその類似パターン / Backends for Frontends and its similar pattern from the microservices perspective

UIT#3 The “Backends for Frontends” sharing

qsona

June 07, 2018
Tweet

More Decks by qsona

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ 2 • ໊લ৿ٱଠ࿠ !RTPOB  • גࣜձࣾ'J/$ • ओʹαʔόαΠυΤϯδχΞ

    ͓खॊΒ͔ʹʂ  • #''ྺ೥൒ ʙ  • .JDSPTFSWJDFT.FFUVQओ࠵
  2. ΞδΣϯμ 4 ▾ ষ#''ͱ͸ɺͦͷҐஔ͚ͮͱ໨త ‣ #''ͱ͸ʁ ‣ #''ͷཱͪҐஔ ‣ #''ͷ໨తɾղܾ͢Δ՝୊

    ‣ ষ#''ͱϚΠΫϩαʔϏεͷؔ܎ੑ ‣ ষ#''ͱͦͷྨࣅύλʔϯͷ࣮ફ
  3. 10 'J/$ͷϓϩμΫτ ʙϔϧεέΞɾඒ༰ʹಛԽͨ͠&$αΠτʙ Ҩ఻ࢠ৘ใ ݂ӷݕࠪ݁Ռ ݈਍σʔλ νϟοτ ໰͍߹Θͤ ߪങཤྺ ޿ࠂ৘ใ౳

    ϩάΠϯ࣌ؒ ར༻ස౓ ੜମ৘ใɾ׆ಈσʔλ ҩྍɾݕࠪσʔλ ߦಈཤྺ ͓೰Έ า਺ɾ׆ಈྔ ݂ѹ ମௐɾؾ෼ ৯ࣄ࣌ؒɾ಺༰ ਭ຾ɾब৸࣌ؒ ମॏɾମ૊੒ ੜཧ ੜ׆श׳ ʙϨγϐϑΟοτωεϥΠϑϋοΫ౳ͷಈըίϯςϯ πʙ ࢟੎ ʙ'J/$๏ਓɾ݈อ޲͚΢ΣϧωειϦϡʔγϣϯʙ
  4. 'J/$ͷϓϩμΫτͱϚΠΫϩαʔϏε 11 • ֤ϓϩμΫτ͕ɺߋʹ༷ʑͳػೳΛ಺แ͍ͯ͠Δ • ྫ'J/$ΞϓϦ • ϥΠϑϩά า਺ ਭ຾

    FUD  • ϑΟοτωεத৺ͷಈըϝσΟΞ • ίϛϡχςΟػೳ • QVTI௨஌ ΦϯϘʔσΟϯά ͳͲ • ֤ػೳ͸૬ޓʹ࿈ܞ͍ͯ͠Δ • ྫา͘ͱϙΠϯτ͕΋Β͑Δ'J/$ϞʔϧͰ࢖͑Δ • "1*࿈ܞඇಉظΠϕϯτ࿈ܞ
  5.  ௚઀΍ΓͱΓ͢Δ 16 • ໰୊఺ΫϥΠΞϯτʹछʑͷෳࡶ͕͋͞Δ • ༷ʑͳϗετΛ௚઀஌Βͳ͚Ε͹ͳΒͳ͍ • ը໘Λߏ੒͢Δͷʹෳ਺ճ"1*ϦΫΤετ͕ඞཁ •

    ୯Ұͷ#BDLFOEͰ͋Ε͹ɺ(SBQI2-͕Ұͭͷղܾࡦ • ෳ਺ͷϚΠΫϩαʔϏε΁ͷݺͼग़͠͸ґવͱͯ͠໰୊ • ղܾࡦதؒ૚ʹαʔόΛ഑ஔʁ
  6.  "1*(BUFXBZύλʔϯ 19 • "1*(BUFXBZʹಠࣗͷϩδοΫ͸࣋ͨͤʹ͍͘ • ϩδοΫΛ࣋ͭͱɺڊେͳ݁߹ϨΠϠʹͳΓɺΫϥΠΞϯ τͷ૿Ճʹରͯ͠εέʔϧ͠ͳ͍ • ༷ʑͳϩδοΫ͕ฆΕࠐΈ΍͘͢ͳΓɺ݁ՌతʹϚΠΫϩ

    αʔϏεͷಠཱੑΛ્֐͠΍͍͢ • 'SPOUFOE͕ࣗ༝ʹ࢖͑ΔϨΠϠͰ͸ͳ͍ • ෳ਺ͷϦιʔεΛϦΫΤετͰฒྻʹऔಘɺ͸
 Ͱ͖Δ ੡඼΋͋Δ  • ෳ਺ͷϦιʔεΛϚʔδͯ͠ฦ͢ɺͳͲ͸Ͱ͖ͳ͍
  7. J04 "OESPJEͰͭͷ#'' 28 • J04"OESPJEͰجຊతʹಉ͡ΞϓϦΛఏڙ͍ͯ͠Δ • ػೳɺը໘ߏ੒ɺભҠͳͲ͸ಉ͡ • ࡉ͔͍6*͸ϓϥοτϑΥʔϜ͝ͱʹҟͳΔ͕ɺ
 ͜Ε͸$MJFOUଆ͕୲౰͢Δɻ#''ͷ੹຿Ͱ͸ͳ͍

    • #''͕୲౰͢ΔϨΠϠ͸ɺΉ͠Ζڞ௨Խ͔ͨͬͨ͠ • %PNBJO%SJWFO%FTJHOͰݴ͏ͱ͜Ζͷ 3FQPTJUPSZ૚ͱ ͯ͠%PNBJO0CKFDUΛฦ͢ͱ͜Ζ·ͰΛຊ౰͸୲౰͍ͨ͠ • ݴޠͷน͸·ͨ͛ͳ͍ͷͰ׬શͳ%PNBJO0CKFDUΛฦ͢ͷ ͸ແཧ͕ͩɾɾɾ
  8. 8IZH31$ 29 • 31$ܗࣜͷݺͼग़͠ʹ͔ͨͬͨ͠ • ਖ਼֬ʹ͸ʮ3&45GVM͸ආ͚͔ͨͬͨʯ͔΋ • ఏڙͷ໨త͕୯ҰͰ͋ΓɺΫϥΠΞϯτΛڧ͘ҙࣝͨ͠"1* ʹͯ͠໰୊ͳ͍ Ή͠Ζ͢Δ΂͖

     • 3&45GVMతͳ"1*ʹ͢Δͱɺ$MJFOUͰ΋+40/ΛϚοϓ͢Δίʔ υ͕ଟ͘ඞཁʹͳΔ • J04"OESPJEͰͷ࣮૷ͷࠩ෼ΛͳΔ΂͘ͳ͍ͨ͘͠ • ʮ#''͸31$తͳ"1*ఏڙΛ͢΂͖ͩʯͱ͍͏ࡶͳఏىΛ ͓ͯ͘͠ͷͰɺ࠙਌ձͱ͔Ͱٞ࿦͍ͨ͠ • ܕ΋ཉ͔ͬͨ͠ 1SPUPDPM#VGGFST
  9. 8IZ,PUMJO 30 • 'SPOUFOEͷΤϯδχΞ͕ॻ͘͜ͱΛڧ͘ҙ͍ࣝͯ͠Δ • "OESPJEͰ͸,PUMJOΛ࠾༻͍ͯ͠Δ • J04 4XJGU ͔Βͷֶशίετ΋௿͍

    • ʮฒྻॲཧʯͷཁ݅΋ΫϦΞͰ͖Δ • $PSPVUJOFTBSFFYQFSJNFOUBMJO,PUMJO  • ฒྻॲཧ͸ɺ#''Ͱ͸΄΅ඞਢཁ݅Ͱ͋Δ • ฒྻॲཧͰ͍͑͹(P΍/PEFKTͷ͕ݱঢ়͸্
  10. ڀۃͷϚΠΫϩαʔϏε 32 • αʔϏε͕ಠཱͷσϓϩΠαΠΫϧΛ࣋ͪɺ
 Ϗδωεͷ1%$"Λߴ଎ʹճͤΔ • Ϗδωε͸όοΫΤϯυ͚ͩͰ͸ͳ͍ • 6*΋Ϗδωεʹؚ·ΕΔ͸ͣ •

    νʔϜͷதʹ#BDLFOE୲౰ 'SPOUFOE୲౰͕͍ͯ
 ڠྗ͍ͯ͠Δͷ͕ཧ૝ Ή͠Ζී௨ʁ  • #''͸'SPOUFOEνʔϜͷ࣋ͪ෺͚ͩͲɺ
 'SPOUFOEνʔϜ͸ͦ΋ͦ΋ϚΠΫϩαʔϏεͷཧ૝ͱ ൓͢Δʂ