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.7k
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
1.2k
Modular Monolith + Go @ newmo
110y
1
1.3k
Go + GraphQL @ newmo
110y
3
990
Architect / Platform Team at KAUCHE
110y
1
720
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
680
Cloud Run CI/CD + QA @ KAUCHE
110y
1
680
Microservices on Cloud Run @ KAUCHE
110y
0
330
KAUCHE Loves Go
110y
0
540
Other Decks in Programming
See All in Programming
リアルな遅延を測る仕様
kota_yata
1
130
MySQLとPostgreSQLって何が違うの?
akagami
0
140
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
1
2k
ソフトウェアラスタライザ
fadis
1
660
Hono + Inertia + React で LP を構築した話
oukayuka
2
170
ALB ログから Trace を気合で繋げる技術
fohte
6
610
仕様駆動開発の消費期限
watany
20
9k
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
390
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
230
引き算の組織 ― アウトカムとAIに全振りするために辞めたこと ― / Organization by Subtraction
hirokiyamamoto14
PRO
0
300
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
180
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
120
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
560
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
A Tale of Four Properties
chriscoyier
163
24k
Writing Fast Ruby
sferik
630
63k
Site-Speed That Sticks
csswizardry
13
1.5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
280
エンジニアに許された特別な時間の終わり
watany
108
250k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
220
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
260
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 ͷ࣮