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 Slide

  2. delegating ownership?
    At Mercari Microservices

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  7. Monorepo for Terraform Configurations

    View 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 Slide

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

    View Slide

  10. Production Readiness Checklist

    View Slide

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

    View Slide

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

    View 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 Slide