Enterprise Application Architecture with .NET Core
by Ganesan Senthilvel, Ovais Mehboob Ahmed Khan, Habib Qureshi
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access