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.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
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.7k
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
140
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
110
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
570
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
200
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
150
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
200
スマートグラスで並列バイブコーディング
hyshu
0
150
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
550
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
880
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
4 Signs Your Business is Dying
shpigford
187
22k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
180
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
200
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
360
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
630
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
200
Git: the NoSQL Database
bkeepers
PRO
432
67k
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 ͷ࣮