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

Microservices Architectureに取り組んでみえたこと

Microservices Architectureに取り組んでみえたこと

yoshiyoshifujii

June 24, 2017
Tweet

More Decks by yoshiyoshifujii

Other Decks in Design

Transcript

  1. ି͠ग़͠Ͱ͖Δ෦԰ w ηϛφʔϗʔϧ ໊  w ձٞࣨ ໊͔Β໊  w

    ΧϑΣεϖʔε ໊  w ϏΞόογϡͳͲͷ࠙਌ձ΋։࠵ՄೳͰ͢ʂ
  2. .JDSPTFSWJDFTͭͷಛ௃  αʔϏεΛ௨ͨ͡ίϯϙʔωϯ τԽ  Ϗδωε਱ߦೳྗʹؔΘΓ૊ ৫͕੔ཧ͞ΕΔ͜ͱ  ϓϩδΣΫτͰ͸ͳ͘ϓϩμΫ τ

     ݡ͍ TNBSU ΤϯυϙΠϯτͱ ౔؅  ෼ࢄ౷࣏  ෼ࢄσʔλ؅ཧ  ΠϯϑϥࣗಈԽ  ো֐ͷͨΊͷઃܭ  ਐԽతͳઃܭ ླ໦༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢ೔ܦ#1/FYU*$5બॻʣ  ,JOEMFͷҐஔ/P ೔ܦ#1,JOEMF൛
  3. ෳ਺αʔϏεͰߏ੒ w ͭͷΞϓϦέʔγϣϯΛΑΓখ͞ ͳ୯ҐͷʮαʔϏεʯͷ૊Έ߹Θ ͤͰߏ੒͢Δख๏ w ͦΕͧΕͷαʔϏε͸ݸผͷϓϩ ηεͰಈ࡞ w "1*Λ௨ͯ͡)551ͳͲͷඪ४తͳ

    ϓϩτίϧͰ࿈ܞ ླ໦༤հ$MPVE'JSTU"SDIJUFDUVSFઃܭΨΠυʢ೔ܦ#1/FYU*$5બॻʣ  ,JOEMFͷҐஔਤ ೔ܦ#1,JOEMF൛
  4. Amazon API Gateway client AWS Lambda Amazon S3 Amazon DynamoDB

    Amazon Kinesis AWS Lambda AWS Lambda Amazon Elasticsearch Service Context + Token Principal + Policy Policy is cached Denied 403 Allowed Auth function Consumers function System diagrams
  5. %BUB4UPSBHFͷબ୒ wϢʔεέʔεʹԠͯ͡ %BUB4UPSBHFΛબ୒ ͢Δ w$PNNBOEͱ2VFSZͰ ҟͳΔετϨʔδ΋બ ୒Մೳ 4 LFZWBMVF %ZOBNP

    %# ٯҾ͖͕ඞཁ Ұཡऔಘ 3%# 3FMBUJPOBMNPEFM͕ ඞཁ &MBTUJD 4FBSDI ߴ଎ͳશจݕࡧ͕ඞ ཁ
  6. $234  ॻ͖ࠐΈ ಡΈࠐΈ σʔλͷ੔߹ੑͷҡ࣋ σʔλͷݕࡧͱநग़ͷޮ཰Խ ΞτϛοΫͳߋ৽τϥϯβΫγϣϯ ಋग़஋ ߹ܭͳͲ ͷࢉग़

    όʔδϣϯ؅ཧ ָ؍తฒߦੑ੍ޚ ָ؍తϩοΫ ෳ਺ͷϏϡʔͷఏڙ ॻ͖ࠐΈݖݶͷ؅ཧ ߦϨϕϧɺྻϨϕϧͷݖݶ؅ཧ $234ͱΠϕϯτιʔγϯάͷ࢖༻๏ɺ·ͨ͸ʮ$36%ʹԿ͔໰୊Ͱ΋ʁʯ IUUQQPTUEDDVTJOHDRSTXJUIFWFOUTPVSDJOH