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

Getting started Central Dogma with Golang #fukuokago #umedago / getting-started-central-dogma-with-golang

Getting started Central Dogma with Golang #fukuokago #umedago / getting-started-central-dogma-with-golang

Presentation material for Fukuoka.go#14+Umeda.go
https://fukuokago.connpass.com/event/146447/

Manabu Matsuzaki

October 25, 2019
Tweet

More Decks by Manabu Matsuzaki

Other Decks in Programming

Transcript

  1. Getting started Central Dogma

    with Golang
    Fukuoka.go#14+Umeda.go
    2019/10/25 @matsumana

    View Slide

  2. Self Introduction
    • Nameɿ Manabu Matsuzaki
    • Work atɿ LINE Fukuoka Corporation
    • Roleɿ SRE
    • Twitterɿ @matsumana
    • My experiences with Golang
    • Several Prometheus exporters (flink_exporter, td-agent_exporter, etc)

    View Slide

  3. Agenda
    • Introduction to Central Dogma
    • Demo with a sample Golang app

    View Slide

  4. Introduction to
    Central Dogma

    View Slide

  5. References
    • Official site

    https://line.github.io/centraldogma/
    • LINE DEVELOPER DAY 2017 - Central Dogma LINE's Git-backed
    highly-available service configuration repository
    • https://www.slideshare.net/linecorp/central-dogma-lines-gitbacked-
    highlyavailable-service-configuration-repository
    • https://www.youtube.com/watch?v=BmgizIFwMq4

    View Slide

  6. What is Central Dogma?
    • Service configuration repository
    • Based on Git, ZooKeeper and HTTP/2
    • Version controlled
    • Highly Available
    • Mirroring from an external Git repo
    • Change notification
    • Client libraries
    • Java, Golang(https://github.com/line/centraldogma-go)

    View Slide

  7. Advantage of using Central Dogma
    • Can apply setting changes dynamically without application build/restart
    • e.g.
    • Service discovery
    • Rate limit
    • A/B testing
    • Rollout new features
    • etc

    View Slide

  8. Demo with a sample Golang app

    View Slide

  9. About the sample app
    • source code:

    https://github.com/matsumana/centraldogma-go-example
    • A very simple web app with only the Echo API
    • A greeting keyword is managed by Central Dogma

    View Slide

  10. Sample app Overview

    View Slide

  11. Demo

    View Slide

  12. Thank you :)

    View Slide