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

新卒LT-モノレポvsマルチレポ

6d84aeb33279b53a7c341c99505db422?s=47 Tommy
August 14, 2019

 新卒LT-モノレポvsマルチレポ

社内のイベントで作ったスライド。

6d84aeb33279b53a7c341c99505db422?s=128

Tommy

August 14, 2019
Tweet

Transcript

  1. ϚϧνϨϙ vs ϞϊϨϙ Abema Ad Association ෋Ԭ

  2. ੈ͸·͞ʹ େϚΠΫϩαʔϏε࣌୅!!

  3. microservice architecture death star diagrams by @adrianco

  4. MicroServices • αʔϏεશମ͕਺े~਺ઍͷαʔϏεͰߏ੒ • AAAͰ΋਺ेͷαʔϏε&Batch͕Քಇ

  5. ϚΠΫϩαʔϏεͰ େมͳͷ͕….

  6. ιʔείʔυ؅ཧ

  7. ➀ϞϊϨϙ೿ • ιʔείʔυΛ୯ҰͷϦϙδτϦͰ؅ཧ
 ʢΠϯϑϥ༻,KubernetesͷManifestͱ͔͸ผʣ • GoogleɾFacebookɾTwitter͕࠾༻ • Kubernetes΍IstioͳͲͷOSSͰ΋ଟ਺࠾༻

  8. ͦΕͧΕ͕
 ҰͭͷαʔϏε

  9. ϝϦοτ/σϝϦοτ • ίʔυͷ࠶ར༻ָ͕νϯ • ίʔυͷ඼࣭͕อͪ΍͍͢ • Integrated Test͕͠΍͍͢ • ྑ͍ҙຯͰ΋ѱ͍ҙຯͰ΋੍ݶ͕ଟ͍

    • ςετ΍Ϗϧυʹ޻෉͕ඞཁ(GͷBazelɺFͷBuckʣ
  10. ➁ϚϧνϨϙ೿ • ιʔείʔυΛෳ਺ͷϦϙδτϦͰ؅ཧ • KubernetesͩͱҰݸͷDeployment(Dockerfile) ୯ҐͰҰͭͷϦϙδτϦ • Uber, Netflix, AAA͸ͪ͜ΒΛ࠾༻

  11. ҰͭͷϦϙδτϦ͕ ҰͭͷService or Batch

  12. ϝϦοτ/σϝϦοτ • ࣗ༝ɺ࣮૷΋εϜʔζʹͰ͖Δ • αʔϏεຖͷٕज़બఆɾݴޠ΋ม͑΍͍͢ • Կ΋ߟ͑ͣʹgo test & image

    pushͰOK • αʔϏεຖʹίʔυ඼࣭ͷ͕ࠩେ͖͍ • ෳ਺αʔϏεΛލ͍ͩมߋɾςετ͕ͮ͠Β͍
  13. ݁ہͲ͕ͬͪྑ͍ͷʁ ϞϊϨϙ ϚϧνϨϙ ίʔυελΠϧ ⭕ ❌ ςετ ୯ମ ෳ਺ɿ⭕ ୯ମ⭕

    ෳ਺ɿ❌ ࠶ར༻ੑ ⭕ ❌ ༰қੑ ❌ ⭕
  14. ݁࿦ɿ෼͔ΒΜ • ૊৫ͷਓ਺ɺٕज़ελοΫɺاۀͷஈ֊Ͱ΋
 ͲͪΒΛબͿ͔͸มΘΓͦ͏ • େ੾ͳͷ͸ϝϦοτɾσϝϦοτΛݕ౼͢Δ͜ ͱ͡Όͳ͍ΜͰ͠ΐ͏͔ʢ͋Γ͖ͨΓͳ݁࿦