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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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.3k
Go + GraphQL @ newmo
110y
3
990
Architect / Platform Team at KAUCHE
110y
1
710
Cloud Run + Observability / Reliability @ KAUCHE
110y
0
680
Cloud Run CI/CD + QA @ KAUCHE
110y
1
680
Microservices on Cloud Run @ KAUCHE
110y
0
320
KAUCHE Loves Go
110y
0
540
Other Decks in Programming
See All in Programming
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
2
1.3k
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
190
Embedded SREと共に達成した会員管理システムのAWS移行 - SRE NEXT 2026 ランチスポンサーセッション
niftycorp
PRO
1
3.2k
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
230
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
160
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
210
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
900
数百円から始めるRuby電子工作
tarosay
0
120
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
0
120
これって Effect でできたのでは? / TSKaigi Mashup Kansai #2
susisu
0
110
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
430
地域 SRE コミュニティ最前線 - ホンマでっかSRE勉強会
tk3fftk
0
290
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
360
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Bash Introduction
62gerente
615
220k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
640
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
400
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
580
New Earth Scene 8
popppiees
3
2.4k
Believing is Seeing
oripsolob
1
170
We Have a Design System, Now What?
morganepeng
55
8.2k
Navigating Team Friction
lara
192
16k
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 ͷ࣮