Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Our Practices of Delegating Ownership in Microservices World

Our Practices of Delegating Ownership in Microservices World

SREcon19 Asia/Pacific Lightning Talk #SREcon
https://www.usenix.org/conference/srecon19asia/presentation/lightning-talks

Appendix: slides for references

- Mercari Tech Conf 2018 Keynote (Suguru Namura)
- https://speakerdeck.com/mercari/mercari-tech-conf-2018-keynote-suguru-namura-4d5253ac-b6b0-453f-87da-049307e01054
- Terraform Ops for Microservices
- https://speakerdeck.com/b4b4r07/terraform-ops-for-microservices
- Kubernetes manifests management and operation in Mercari
- https://speakerdeck.com/b4b4r07/kubernetes-manifests-management-and-operation-in-mercari

Daisuke Fujita

June 14, 2019
Tweet

More Decks by Daisuke Fujita

Other Decks in Technology

Transcript

  1. Our Practices of Delegating Ownership
    in Microservices World
    Daisuke Fujita (@dtan4)
    Mercari, Inc.
    Microservices Platform Team
    June 14, 2019
    SREcon19 Asia/Pacific Lightning Talk

    View full-size slide

  2. delegating ownership?
    At Mercari Microservices

    View full-size slide

  3. Monolith (-2018)
    Good at first, but not scalable
    Need to change the system &
    organization, before growing up more
    - Complexity
    - Velocity

    View full-size slide

  4. Scale the organization &
    Maximize output
    Microservices at Mercari
    small / autonomous /
    cross-functional teams
    strong ownership by the teams

    View full-size slide

  5. Ownership by Microservice Team
    ...how?
    Service teams
    write code, deploy it, run it
    by themselves

    View full-size slide

  6. Q: How to prepare
    microservice’s infrastructure?

    View full-size slide

  7. Monorepo for Terraform Configurations

    View full-size slide

  8. Monorepo for Terraform Configurations
    terraform/microservices
    |-- mercari-echo-jp
    | |-- development
    | `-- production
    | |-- backend.tf
    | |-- google_bigquery_dataset.tf
    | |-- google_spanner_database.tf
    | |-- module_microservice_starter_kit.tf
    | |-- providers.tf
    | `-- variables.tf
    `-- mercari-listing-jp
    |-- development
    `-- production

    View full-size slide

  9. Q: What are the microservices
    requirements in production?

    View full-size slide

  10. Production Readiness Checklist

    View full-size slide

  11. Production Readiness Checklist
    - Maintainability
    - Durability
    - Observability
    - Reliability
    - Security
    - Accessibility
    - Sustainability
    - Data Storage

    View full-size slide

  12. Production Readiness Checklist
    TODO: automated regular check
    GitHub issue-based check & review process

    View full-size slide

  13. Conclusion
    Ownership by microservice teams
    - Monorepo for provisioning microservice
    infrastructure
    - Production Readiness Checklist
    It contributes to organizational expansion with
    microservices
    https://careers.mercari.com

    View full-size slide