Redis Cache getting timeout with sync requests and slow response with async requests only in async method
问题 First of all I am using Azure Redis Cache service and StackExchange.Redis(1.0.371) client with my MVC 5 and Web Api 2 app. I am getting very interesting behaviors. getting timeout with sync requests and slow response when I convert my sync calling with async. Let me give you an example. Here is my RedisCacheService, public class RedisCacheService : ICacheService { private readonly IDatabase _cache; private static readonly ConnectionMultiplexer ConnectionMultiplexer; static RedisCacheService()