Using Redis Cache in Azure

Redis stands for Remote Dictionary Server. It is an open source in-memory distributed database. It is a highly performant cache and provides rich data types, which can store data in the key-value format. Azure provides a managed service for Redis, so we don't have to install on run manually. We can just use this service to cache our data, and it is recommended as the best caching mechanism in store.

To use Redis, we can install a NuGet package (stackexchange.redis), which is a client API of Redis to use on Azure. The main benefit of using Redis over other caching mechanisms is the data types. It provides various data types other than strings only. Cache types mostly allow data to be saved as string only, but with Redis, we can store data as strings, sets, lists, sorted sets, and hashes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.79.33