Slide 1

Slide 1 text

What Are We Doing as Merpay Architect? Yuki Ito (@mrno110)

Slide 2

Slide 2 text

Merpay / Mercoin Architect Mercari Microservices Platform CI/CD Yuki Ito @mrno110

Slide 3

Slide 3 text

Agenda ɾArchitectur e ɾ׆ಈ಺༰

Slide 4

Slide 4 text

Agenda ɾArchitecture ɾ׆ಈ಺༰

Slide 5

Slide 5 text

Microservices Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 6

Slide 6 text

Architecture Cloud Spanner QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 7

Slide 7 text

Go Cloud Spanner QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 8

Slide 8 text

gRPC Cloud Spanner QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 9

Slide 9 text

Google Cloud Platform Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 10

Slide 10 text

Kubernetes Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 11

Slide 11 text

Istio Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 12

Slide 12 text

Agenda ɾArchitecture ɾ׆ಈ಺༰

Slide 13

Slide 13 text

Agenda ɾArchitectur e ɾ׆ಈ಺༰

Slide 14

Slide 14 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 15

Slide 15 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 16

Slide 16 text

ٕज़తͳҙࢥܾఆ e.g. ϚΠΫϩαʔϏεͷΞʔΩςΫνϟ

Slide 17

Slide 17 text

ٕज़తͳҙࢥܾఆ e.g. ϚΠΫϩαʔϏεͷΞʔΩςΫνϟ Gateway

Slide 18

Slide 18 text

ٕज़తͳҙࢥܾఆ e.g. ϚΠΫϩαʔϏεͷΞʔΩςΫνϟ BFF

Slide 19

Slide 19 text

ٕज़తͳҙࢥܾఆ e.g. ϚΠΫϩαʔϏεͷΞʔΩςΫνϟ Services

Slide 20

Slide 20 text

ٕज़తͳҙࢥܾఆ mercari / mercari-microservices-example

Slide 21

Slide 21 text

ٕज़తͳҙࢥܾఆ e.g. ΧϯύχʔؒͷγεςϜ࿈ܞํ਑ Merpay Mercoin

Slide 22

Slide 22 text

ٕज़తͳҙࢥܾఆ 🧑💻 Architect 🙋 Exec (ܦӦ) 🙋 ϦʔΨϧ 🙋 ϦεΫ؅ཧ 🙋 ίϯϓϥΠΞϯε 🙋 Identity Platform 🙋 SRE 🙋 Product Engineer 🙋 ηΩϡϦςΟ

Slide 23

Slide 23 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 24

Slide 24 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 25

Slide 25 text

૊৫తͳ՝୊ͷநग़ɾղܾ e.g. QA؀ڥͷރׇ໰୊

Slide 26

Slide 26 text

૊৫తͳ՝୊ͷநग़ɾղܾ e.g. QA؀ڥͷރׇ໰୊ 🧑💻 Architect 😢 QA 😢 Developer ώΞϦϯά

Slide 27

Slide 27 text

૊৫తͳ՝୊ͷநग़ɾղܾ e.g. QA؀ڥͷރׇ໰୊

Slide 28

Slide 28 text

૊৫తͳ՝୊ͷநग़ɾղܾ

Slide 29

Slide 29 text

૊৫తͳ՝୊ͷநग़ɾղܾ e.g. QA؀ڥͷރׇ໰୊ 🧑💻 Architect 😄 QA 😄 Developer ಋೖࢧԉ

Slide 30

Slide 30 text

૊৫తͳ՝୊ͷநग़ɾղܾ e.g. QA؀ڥͷރׇ໰୊

Slide 31

Slide 31 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 32

Slide 32 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 33

Slide 33 text

Design Doc ͷϨϏϡʔ Microserviceͷ։ൃϑϩʔ 📝 Design Docͷ࡞੒ 👀 Design DocͷϨϏϡʔ 📝 API (gRPC) ఆٛ 🧑💻 ࣮૷

Slide 34

Slide 34 text

Design Doc ͷϨϏϡʔ Microserviceͷ։ൃϑϩʔ 📝 Design Docͷ࡞੒ 👀 Design DocͷϨϏϡʔ 📝 API (gRPC) ఆٛ 🧑💻 ࣮૷

Slide 35

Slide 35 text

Design Doc ͷϨϏϡʔ Design Doc ͷ಺༰ ɾΞʔΩςΫνϟ ɾೝূɾೝՄ ɾσʔλ (Database, PII ) ɾґଘαʔϏε ɾηΩϡϦςΟ ...

Slide 36

Slide 36 text

Design Doc ͷϨϏϡʔ Microserviceͷ։ൃϑϩʔ 📝 Design Docͷ࡞੒ 👀 Design DocͷϨϏϡʔ 📝 API (gRPC) ఆٛ 🧑💻 ࣮૷

Slide 37

Slide 37 text

Design Doc ͷϨϏϡʔ 📝 Design Doc 🧑💻 Architect 🧑💻 Security 🧑💻 SRE 🧑💻 Security

Slide 38

Slide 38 text

Design Doc ͷϨϏϡʔ Microserviceͷ։ൃϑϩʔ 📝 Design Docͷ࡞੒ 👀 Design DocͷϨϏϡʔ 📝 API (gRPC) ఆٛ 🧑💻 ࣮૷

Slide 39

Slide 39 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 40

Slide 40 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 41

Slide 41 text

API Gateway ͷ։ൃ Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 42

Slide 42 text

API Gateway ͷ։ൃ Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 43

Slide 43 text

API Gateway Pattern https://docs.microsoft.com/en-us/dotnet/architecture/microservices/architect-microservice-container-applications/direct-client-to- microservice-communication-versus-the-api-gateway-pattern

Slide 44

Slide 44 text

API Gateway Pattern ɾAuthentication / Authorizatio n ɾDomain / IP Managemen t ɾTLS Terminatio n ɾData Format Transcodin g etc... Microservice ʹڞ௨͢Δ໰୊ͷղܾ

Slide 45

Slide 45 text

API Gateway ͷ։ൃ Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 46

Slide 46 text

API Gateway ͷ։ൃ CDN Cloud Load Balancer (Ingress) API Gateway Server

Slide 47

Slide 47 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 48

Slide 48 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 49

Slide 49 text

ٕज़ͷඪ४Խɾಋೖࢧԉ e.g. Istio ͷಋೖ Cloud Spanner Cloud Spanner Cloud Spanner Cloud Spanner Cloud Pub/Sub QR Payment Service XXX Service ZZZ Service YYY iD Payment Gateway Authority ɾɾɾ

Slide 50

Slide 50 text

ٕज़ͷඪ४Խɾಋೖࢧԉ e.g. Istio ͷಋೖ 🧑💻 Architect 🧑💻 Microservice Platform 🧑💻 Developer

Slide 51

Slide 51 text

׆ಈ಺༰ ɾٕज़తͳҙࢥܾఆ ɾ૊৫తͳ՝୊ͷநग़ɾղܾ ɾDesign Doc ͷϨϏϡʔ ɾAPI Gateway ͷ։ൃ ɾٕज़ͷඪ४Խɾಋೖࢧԉ

Slide 52

Slide 52 text

Vision ࣄۀ੒௕Λࢧ͑ಘΔγʔϜϨεͰ৴པੑͷߴ͍ 
 ΞʔΩςΫνϟΛઃܭ͠ɺೳಈతʹΤϯδχΞϦϯάΛઌಋ͢Δɻ

Slide 53

Slide 53 text

Vision

Slide 54

Slide 54 text

એ఻ 1 https://gihyo.jp/book/2022/978-4-297-12519-6

Slide 55

Slide 55 text

એ఻ 2 https://meety.net/matches/CbIudcYbsTNu