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

Cacoo with Microservices

Kohei
November 28, 2018

Cacoo with Microservices

Kohei

November 28, 2018
Tweet

More Decks by Kohei

Other Decks in Technology

Transcript

  1. ґଘؔ܎ Ξοϓσʔτ Πϯϑϥ ։ൃޮ཰ ௐࠪ ։ൃޮ཰ Өڹௐࠪ ϨΨγʔ ίϛϡχ έʔγϣϯ

    ϞϊϦε ίϛϡχ έʔγϣϯ ϦϙδτϦ Ωϟον Ξοϓ CI/CD εέʔϧ ίϛϡχ έʔγϣϯ
  2. Backend/Middleware - Kubernetes - Protocol Buffers - gRPC - RabbitMQ

    - Go Monitoring/Alerting - Elasticsearch + Kibana - Prometheus + Grafana - Zipkin
  3. region region Production Cluster Testing Cluster cacoo cacoo-beta cacoo-testing-e2e cacoo-testing-load

    cacoo monitoring monitoring storages storages namespaces namespaces stress test by selenium
  4. Backend/Middleware - Kubernetes - Protocol Buffers - gRPC - RabbitMQ

    - Go Monitoring/Alerting - Elasticsearch + Kibana - Prometheus + Grafana - Zipkin
  5. Protocol Buffers - αʔϏεؒͷσʔλεΩʔϚ - .proto ϑΝΠϧʹఆٛ - Cacoo Ͱ୯Ұͷ

    proto ϦϙδτϦ → git submodule Ͱ֤αʔϏεʹ௥Ճ - ιʔείʔυΛੜ੒
  6. - GraphQL service -> gRPC services - gRPC services ؒ΋

    gRPC - ΞΧ΢ϯτɺϑΥϧμʔɺਤ ͳͲ
  7. RabbitMQ - ෳ਺ͷϝοηʔδϯάύλʔϯ - WorkQueue - Publish/Subscribe - Routing -

    Topics - RPC - ΤσΟλʔͷฤूΠϕϯτΛ௨஌͢Δ ͳͲ - εΩʔϚ͸ Protocol Buffers Ͱఆٛ - DB ʹฒͿॏཁͳཁૉ