Closed huseyingoztok closed 3 years ago
I'm not sure how I can help you with this information. Most of the time reading or writing to Redis is spend in serialization usually. And, depending on how much you throw into one key, it'll take a long time. On top of that Redis has to send the data over the network. In-Memory doesn't do any of that, no serialization, no networking, hence it'll always be much faster.
I like your System.Text.Json serializer implementation btw ;)
I'm running CacheManager, Redis and .Net Core on a Linux server with docker. But there is a lot of time delay between Redis and Mem-Cached. The Mem-Cached version fetches the data in about 1 second, while the Redis configuration fetches in 4 seconds. I would be glad if you could help with this. My codes are like here. here.