We are running a web application that handles very large sets of data, so we initially used Memory Cache.
However, we discovered that Memory Cache is not able to handle this amount of data and it Evicted some previously cached items. As a result the performance of the webapp deteriorated and we seek solutions in Azure Redis.
After some digging around, we experimented with StackExchange.Redis (v2.2.50). We are using IDatabase.StringSet()
to set our data, and IDatabase.StringGet()
to retrieve it. The problem is that since we need to store some complex types, we use Newtonsoft.Json
to Serialize and Deserialize the object, which really affects performance.
For your reference, we have objects to be cached that when Serialized have a length of 48000000 characters.
What do you suggest?