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

マイクロサービスダッシュボードの紹介

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for Yuta UEKUSA Yuta UEKUSA
December 15, 2021

 マイクロサービスダッシュボードの紹介

Avatar for Yuta UEKUSA

Yuta UEKUSA

December 15, 2021
Tweet

Other Decks in Technology

Transcript

  1. 5 マイクロサービスアーキテクチャ Client API Gateway Service B Service A Service

    C Authority Cloud Spanner Pub/Sub Cloud Spanner Cloud Storage
  2. 6 マイクロサービスアーキテクチャ API Gateway Service B Service A Service C

    Authority Cloud Spann er Pub/ Sub Cloud Spann er Clo ud Stor age API Gateway Service B Service A Service C Authority Cloud Spann er Pub/ Sub Cloud Spann er Clo ud Stor age Development Production
  3. 7 マイクロサービスアーキテクチャ Client Cloud Spanner Pub/Sub Cloud Spanner Namespace Cloud

    Storage Service C Namespace Namespace Namespace Namespace Service B Service A API Gateway Authority
  4. 10 マイクロサービスアーキテクチャ: 通信プロトコル Client Cloud Spanner Pub/Sub Cloud Spanner Namespace

    Cloud Storage Service C Namespace Namespace Namespace Namespace Service B Service A API Gateway Authority gRPC gRPC gRPC
  5. 18 機能紹介: サービス詳細画面 serviceID: merpay-service-a description: This is service-a corporation:

    MERPAY teamName: merpay-architect-jp contact: slack: generalChannelId: C0123456 alertChannelId: C12345678 … service spec file
  6. 27 マイクロサービスダッシュボードの仕組み 技術スタック Backend Frontend • Go • Cloud Spanner,

    Pub/Sub, Scheduler, Tasks • gRPC, GraphQL (99designs/gqlgen, vektah/dataloaden) • TypeScript • React, Material-UI • GraphQL (apollo-client)
  7. 28 マイクロサービスダッシュボードの仕組み Single Page Application API Gateway Microservice Dashboard Go

    serves assets gRPC server GraphQL server Cloud Spanner Browse Get / Assets GraphQL Query Data etc
  8. 30 データ収集の仕組み トリガー発動後 API Gateway Microservice Dashboard gRPC server Cloud

    Spanner HTTP Cloud Scheduler Cloud Tasks Pub/Sub HTTP HTTP gRPC データ収集 etc
  9. 31 データ収集の仕組み トリガー発動後 API Gateway Microservice Dashboard gRPC server Cloud

    Spanner HTTP Cloud Scheduler Cloud Tasks Pub/Sub HTTP HTTP gRPC タイムアウト 処理中... etc
  10. 33 データ収集の仕組み: データを集める マイクロサービスの一覧 API Gateway Microservice Dashboard gRPC server

    Cloud Spanner Pub/Sub etc microservices-terraform リポジトリ CIで各microserviceの service-specをpublish service-specを保存
  11. 37 データ収集の仕組み: データを集める Kubernetesリソース API Gateway Microservice Dashboard GraphQL server

    Cloud Spanner etc Browse Kubernetes API GraphQL Query Kubernetes API Development Production kubernetes/client-go
  12. 38 データ収集の仕組み: データを集める gRPC API定義 API Gateway Microservice Dashboard gRPC

    server Cloud Spanner Pub/Sub etc platform-proto リポジトリ CIでFileDescriptorSetを生成してpublish FileDescriptorSetを保存
  13. 47 抱えている課題 マイクロサービス毎にTODOの管理 Service A: TODO Service C: TODO Service

    B: TODO … Microservice Dashboard Service A Owner Platform 進捗確認 やること確認
  14. 48 今後の取り組み TODO管理用のAPIの提供 Service A: TODO Service C: TODO Service

    B: TODO … Microservice Dashboard GraphQL API TODO System TODO更新
  15. 49 今後の取り組み イベントをきっかけとしたTODOの更新 Service A: TODO Service C: TODO Service

    B: TODO … Microservice Dashboard GraphQL API TODO System TODO更新 Pub/Sub データ更新イベント
  16. 51