Skip to content

Commit

Permalink
Update introduction.md (#2474)
Browse files Browse the repository at this point in the history
  • Loading branch information
brock-statsig authored Jan 15, 2025
1 parent 222d9fe commit ed3e5d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/dynamic-config/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ slug: /dynamic-config

## What is a Dynamic Config?

Dynamic config is a tool that replaces hard-coded values in your application with configuration parameters defined on the server. These configuration parameters can cover a wide range of properties in both your client-side and server-side code, such as button colors, feature toggles, or ranking configurations. This allows you to control the behavior of your application dynamically and in near real-time.

However, it's important to note that the configuration will not automatically update on its own. You will need to manually refresh the config by calling `getConfig` again to apply any updates in your code.
Dynamic configs replace hard-coded values in your application with JSON defined on the server. Statsig users leverage Dynamic Configs to avoid hard-coding configuration values of any kind in their code - and change it dynamically near real-time. You can also *target* Dynamic Configs, providing different experiences based on user attributes. These configuration parameters can include any property across your client-side or server-side application code, from button colors to ranking configurations.

## When to Use a Dynamic Config

Dynamic config is especially useful when you want to make your server-side code the source of truth for application properties, allowing you to modify configurations without redeploying code. Many companies, like Spotify, leverage [Remote Configuration](https://engineering.atspotify.com/2020/10/29/spotifys-new-experimentation-platform-part-1/) to dynamically update client or backend service properties.
Many technology companies use tools such as dynamic config to make their server-side code the source of truth for configurable application properties. For example, Spotify uses [Remote Configuration](https://engineering.atspotify.com/2020/10/29/spotifys-new-experimentation-platform-part-1/) to dynamically update properties of their clients or backend services.

### Examples of Use Cases:
- **Feature Toggles**: Dynamically enable or disable features without code changes.
Expand Down

0 comments on commit ed3e5d1

Please sign in to comment.