$30 off During Our Annual Pro Sale. View Details »

Merpay Microservices On Microservice Platform 2...

tjun
May 22, 2019

Merpay Microservices On Microservice Platform 20190522

Introduce how we develop and operate Merpay's Microservices on Microservices Platform #mercari_microservices meetup on 2019/05/22

tjun

May 22, 2019
Tweet

More Decks by tjun

Other Decks in Technology

Transcript

  1. 3 • Intro: Merpay and microservices • Developing Merpay microservices

    • Operating Merpay microservices • About Merpay SRE • Summary
  2. 5 Mobile payment service that can be used through the

    marketplace app Mercari. Released 2019-02. Providing - iD(NFC) payment - Code payment - Payment inside mercari - Deferred pay(あと払い) - Coupon - Bank charge
  3. 6 • Merpay with microservice architecture ◦ Almost all merpay

    services are on the microservices platform ◦ Over 40 microservices (Go, Node.js) ◦ Examples: ▪ Internal services: payment-service, bank-service ▪ Service with Web: coupon-service and coupon-web-service ▪ Service with API: nfc-service and nfc-api-service
  4. 7 Merpay handles payment transactions • A lot of batches

    (ref: iD決済を支える技術 by @hiraku) • Connect with many external partners ◦ bank, merchants, iD payment provider, payment gateway... • Restricted ownership for developers
  5. 10 • Start with microservices-starter-kit • Create GCP and Kubernetes

    resources • Write microservice application • Deploy service with Spinnaker
  6. 11 Start with microservice-starter-kit ・ ・ ・ Developing Merpay microservices

    GCP project for GKE Centralized cluster Namespace: Service A Service A RBAC: Team A
  7. 22 • Infra resources across applications ◦ Ingress, CDN ◦

    Capacity planning, Security • Production releases and operations ◦ Improve microservices operations ◦ Improve relialibity with reviewing SLO, terraform, Kubernetes yaml, datadog dashboard, monitor ◦ Incident handling
  8. 23 • Microservice platform helps Merpay microservices development • Common

    tech stack is important for microservices, especially in operations We are hiring members to improve Merpay service Infra, operations and microservice platform!!