Explore information related to azure cache options

Best practices for Azure Cache for Redis

This article will guide you on some of the Best practices for Azure Cache for Redis. By following these best practices, you can help maximize the performance and cost-effective use of your Azure Cache for Redis instance.


1. Use Standard or Premium tier for production systems. The Basic tier is a single node system with no data replication and no SLA.

2. Remember that Redis is an in-memory data store. 

3. Develop your system such that it can handle connection blips because of patching and failover.

4. Configure your maxmemory-reserved setting to improve system responsiveness under memory pressure conditions.

5. Redis works best with smaller values, so consider chopping up bigger data into multiple keys.

6. Locate your cache instance and your application in the same region. Connecting to a cache in a different region can significantly increase latency and reduce reliability. 

7. Reuse connections. Creating new connections is expensive and increases latency, so reuse connections as much as possible. 

8. Configure your client library to use a connect timeout of at least 15 seconds, giving the system time to connect even under higher CPU conditions.

Read More



Data Loss through Partial loss of keys in Azure Cache for Redis

This article will guide you on the different methods to fix data loss in #Azure #Cache for #Redis which can happen due to a number of reasons like Redis instance failure, incorrect #database selection, and so on. 

Redis server saves all its data to HDD from time to time, thus providing some level of persistence. It saves data in one of the following cases: automatically from time to time. when you manually call BGSAVE command.

Redis does not use #tables, and stores data in #memory, and is not limited by the hard #disk I / O speed when reading and writing #data, so the speed is extremely fast.

Read More



How to monitor Azure Cache for Redis

This article will guide you on how to monitor Azure Cache for Redis. Azure Cache for #Redis uses #Azure Monitor to provide several options for monitoring #cache instances. These include view metrics, pin #metrics charts to the Startboard, customize the date and time range of monitoring charts, and so on.

To Use Azure Redis Cache:

1. Log into Azure port, go to #Databases >> Redis Cache.

2. Create a news Redis Cache.

3. Get the Access Keys to connect with the newly created Redis Cache.

4. Install the #StackExchange. 

5. You can add Redis Cache connection string into the appsettings.

Read More