Given a list of Keys, I want to pull out multiple values from Azure Redis Cache. How do we perform multiple operations at the same time with Azure Redis Cache?
Our data is a int
/ComplexObject
pair. Our data is located in SQL Server. We currently get the list by converting our List<int>
of keys into a XElement
object and passing that into a stored procedure - but our key size is quite small (3000 keys) - so the same data is being accessed again and again by multiple users.
It would be great if we can just cache the 3000 key/value pairs once - and then access them with something like: cache.GetValues(List<int> keys)