Dynamic Configuration Management for Go Application

By Vishal Yadav

Elevator Pitch

Managing application configuration is a common problem. However things get more interesting when the configuration has to be managed dynamically. This talk gives primer about Go configuration management initially and then focus on dynamic configuration management using demo.

Description

Objective:

This talk discuss about configuration management scenarios and focus on dynamic configuration management for Go application.

Scenarios:

  1. At basic level application can accept command-line or environment parameters during (re)start.
  2. When the number of parameters are too many to be managed from command-line, it can also read the configuration from file.
  3. Finally dynamic configuration management to allow application to watch/detect change in the configuration and trigger some action.

Note: This talk assumes basic familiarity with Go channels.

Notes

This talk discuss about the common rather important aspect (efficient configuration management) for any Go application. Would like to share my experience of these scenarios and selection of appropriate framework which can support majority of scenarios and platforms. Planned time distribution for the talk:

  1. At basic level application can accept command-line or environemnt parameters during (re)start. (5 minutes)

  2. When the number of parameters are too many to be managed from command-line, it can also read the configuration from file. (5 minutes)

  3. Finally dynamic configuration management to allow application to watch/detect change in the configuration and trigger some action. (10 minutes)

  4. Q/A and further reference (5 minutes)