I run a .NET Core
application running on 5 Azure App Service
instances.
I am going to migrate my configuration to Azure App Configuration
, where the SDK (NuGet package) caches the values in-memory for a specified time (i.e. 30 minutes).
Considering the life-cycle of an instance, is this in-memory caching recommended over caching the values in Azure Cache for Redis
?
At a high level, both Azure App Configuration and Azure Cache for Redis are key-value storage, but they are tailored and optimized for different scenarios. You may evaluate based on your need.
Azure App Configuration is for configuration scenarios. Here are a few things it offers:
Azure Cache for Redis is for distributed caching scenarios. You have your dedicated deployment. Your data may be changed frequently, but you don't really care about the history of changes.