Configuration

Configuration is a set of parameters or constants that your system or application is going to use but instead of storing them in the application code, you would store them in a seemingly isolated file. Its usually written in JSOn format or YAML foramt. We usually name them “config.json” or “condfig.yaml”. There are two types of configuration:

static configuration

This is configuration that is bundled with your application code. Changing a single value in the configuration file, then entire application needs to be redeployed. There are pros and cons to this method:

Dynamic Configuration

These are completely seperated from your applcation code which means that when you change your configuration, that would have immediate ramification on the application.

back