...

/

Understanding Remote Configuration

Understanding Remote Configuration

In this lesson, we'll delve into a remote configuration with Viper.

In the age of the cloud and distributed systems, applications often run in multiple instances or containers. Pushing a configuration change to all the instances simultaneously is often not trivial. With remote configuration, all the instances can read their configuration from a single source of truth.

Overview

Viper can work with multiple remote key-value stores as configuration sources. Remote configuration has the lowest priority, besides defaults. Configuration files, environment variables, and command-line arguments can all override it. Let’s discuss the key-value ...