Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
メルカリのマイクロサービスをPCで動かそう!
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yuki Ito
July 20, 2021
Programming
1.9k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
メルカリのマイクロサービスをPCで動かそう!
https://mercari.connpass.com/event/217408/
Yuki Ito
July 20, 2021
More Decks by Yuki Ito
See All by Yuki Ito
newmo の創業を支える Software Architecture と Platform Engineering
110y
5
3.6k
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
1.1k
Modular Monolith + Go @ newmo
110y
1
1.2k
Go + GraphQL @ newmo
110y
3
980
Architect / Platform Team at KAUCHE
110y
1
690
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
670
Cloud Run CI/CD + QA @ KAUCHE
110y
1
670
Microservices on Cloud Run @ KAUCHE
110y
0
310
KAUCHE Loves Go
110y
0
530
Other Decks in Programming
See All in Programming
Creating Composable Callables in Contemporary C++
rollbear
0
150
Oxcを導入して開発体験が向上した話
yug1224
4
320
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
840
C# and C++ Interoperability - cho-dotnetnew
harukasao
0
270
Lessons from Spec-Driven Development
simas
PRO
0
210
Webフレームワークの ベンチマークについて
yusukebe
0
170
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
14
5.6k
さぁV100、メモリをお食べ・・・
nilpe
0
150
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.7k
CSC307 Lecture 17
javiergs
PRO
0
320
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
210
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Practical Orchestrator
shlominoach
191
11k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
610
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Become a Pro
speakerdeck
PRO
31
6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Designing Powerful Visuals for Engaging Learning
tmiket
1
420
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Embracing the Ebb and Flow
colly
88
5.1k
Rails Girls Zürich Keynote
gr2m
96
14k
Navigating Weather and Climate Data
rabernat
0
220
Claude Code のすすめ
schroneko
67
230k
Transcript
ϝϧΧϦͷϚΠΫϩαʔϏεΛPCͰಈ͔ͦ͏ʂ Backend Hands-on @mrno110
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
͡Ίʹ https://github.com/mercari/go-conference-2021-spring-o ffi ce-hour/ ϦϙδτϦ
͡Ίʹ ɾGo ɾDocker ɾmake ɾjq ඞཁͳπʔϧ
͡Ίʹ ɾWindows ͷ߹ WSL Λར༻͢Δ ɾDocker ͷ Memory Λ 8GBҎ্ʹ͢Δ
ɾarm64 (M1 Mac) CPU ͩͱҰ෦ಈ࡞͠·ͤΜ 🙏 ɾgit clone ޙʹ make cluster Λ࣮ߦ͢Δ
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
Merpay Architect Team Mercari Microservices Platform CI/CD @yuki.ito
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ
ΞʔΩςΫνϟ https://istio.io/latest/docs/ops/deployment/architecture/
ΞʔΩςΫνϟ
ϋϯζΦϯ ϦϙδτϦ https://github.com/mercari/go-conference-2021-spring-o ffi ce-hour/
ϋϯζΦϯ ϦϙδτϦ
ϋϯζΦϯ ϦϙδτϦ Gateway
ϋϯζΦϯ ϦϙδτϦ BFF
ϋϯζΦϯ ϦϙδτϦ Services
ϋϯζΦϯ ϦϙδτϦ
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
ΞδΣϯμ ɾ͡Ίʹ ɾࣗݾհ ɾϝϧΧϦͷΞʔΩςΫνϟͷղઆ ɾϋϯζΦϯ
ϋϯζΦϯ ϚΠΫϩαʔϏεΛ৽ن࡞͠Α͏ʂ ※ը໘ڞ༗Λ͓ئ͍͠·͢
ϋϯζΦϯ ɾΧςΰϦҰཡΛอ࣋͢Δ category αʔϏε > curl -s -XGET -H "authorization:
bearer $TOKEN" localhost:30000/categories { "categories": [ { "id": "9e893b41-65e5-4ab0-94dd-bb7f6cd06da4", "name": "Books" }, { "id": "35c51c6f-7c5b-4bb3-9093-3acce1ccf3e5", "name": "Gadgets" }, { "id": "3d450ed6-94ac-4f34-9f24-1b934735c06c", "name": "Toys" } ] }
ϋϯζΦϯ
ϋϯζΦϯ 1. category ͷ API ఆٛ (proto) 2. category ͷ
gRPC ࣮ 3. category ͷ Deploy (Kubernetes) 4. gateway ͷ API ఆٛ (proto) 5. gateway ͷ࣮