We are using Sitecore 9.3 in our multi-site application. And we are using Redis Cache in one of our application. We are suddenly facing the below exception in our Redis server. Please find the below exception details:
Exception: StackExchange.Redis.RedisTimeoutException
Message: Timeout performing ZADD shared_ExpirationIndex (5000ms), inst: 9, qs: 6, in: 0, serverEndpoint: Unspecified/XXX.redis.cache.windows.net:6390, mgr: 10 of 10 available, clientName: XXX, IOCP: (Busy=0,Free=1000,Min=8,Max=1000), WORKER: (Busy=21,Free=32746,Min=8,Max=32767), v: 2.0.519.65453 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
Source: StackExchange.Redis
Below is the code used to set the redis cache value:
var cache = Connection.GetDatabase();
var serializedModel = JsonConvert.SerializeObject(model);
var cachedValue = expirationInMinutes != 0
? cache.StringSet(cacheKeyName, serializedModel, TimeSpan.FromMinutes(expirationInMinutes))
: cache.StringSet(cacheKeyName, serializedModel);
Please suggest the reason for this timeout exception.