Lists: Lists are lists of Strings, sorted by insertion order.
It provides some useful commands like Incr, Desr, Append, GetRange, SetRange, and other useful commands. The maximum allowed string length is 512MB. Strings: Redis strings are binary safe and allow them to store any type of data with serialization.It supports data structures like Strings, Lists, Sets, and Hashes. Data TypesĪzure Redis Cache supports to store data in various formats. Data PersistenceĪzure Redis cache persists the data by taking snapshots and backing up the data. When one instance goes down, the application still works because other instances in the cluster are running. Each shard node is made of two instances. A cluster increases performance and availability. The cluster automatically shards the data in the cache across multiple Azure Cache for Redis nodes. The significant advantage of this is high availability and reliability. If the primary goes down, then one secondary cache becomes primary. The primary cache has read and write capabilities, but the secondary caches are read-only. One cache is primary, and other caches act as secondaries. Geo-replicationĪzure Redis cache allows replicating or syncing the cache in multiple regions in the world.
It does so by leveraging the low latency, high-throughput capabilities of the Redis engine. High PerformanceĪzure Redis cache enables an application to be responsive even the user load increases. i.e., it monitors, manages, hosting, and secure the service by default. Here are a few of the most important: Fully Managed ServiceĪzure Redis Cache is a fully managed version of an open-source Redis server. Figure 1 shows the cache workflow.Īzure Cache for Redis has many features for management, performance, and high availability. Also, it increases the availability of an application in case of unavailability of the database. This process improves the application performance because data lives in memory. When the next request comes to an application, it retrieves data from the cache without going to the actual data source. Then the application stores that data in the cache for subsequent requests. If the requested data not available in the cache, the application gets the data from the actual data source. When a user uses an application, the application tries to read data from the cache. It also provides high availability, scalability, and security. This ensures low latency and high throughput by reducing the need to perform slow I/O operations.
It is based on the open-source implementation Redis cache. The Azure Redis Cache is a high-performance caching service that provides in-memory data store for faster retrieval of data. Reading data from the database may be slower if it needs to execute complex queries. This process improves the performance and availability of an application.
You can download it from hereĬaching is a mechanism to store frequently accessed data in a data store temporarily and retrieve this data for subsequent requests instead of extracting it from the original data source.
To follow along with this article, you will need:
The article will also explain how to create a simple console app and connect this app with cache and exchange data. It will demonstrate the steps to create an Azure Redis Cache from the Azure Portal. This article explains the Azure Cache for Redis and its features, the data types supported, and the pricing tiers available. Overview of Azure Cache for Redis - Simple Talk