Explore information related to redis as cache

Azure Cache for Redis client-side issues

This article will guide you on troubleshoot Azure #Cache for Redis client for issues and fix common Redis #error.

Azure Cache for Redis gives you the ability to use a secure open source Redis cache. It is a dedicated offering managed by Microsoft, to build highly scalable and responsive applications by providing you super-fast access to your data.

All #Redis #data resides in the server's main memory, in contrast to databases such as PostgreSQL, Cassandra, MongoDB and others that store most data on disk or on SSDs.

The way to test for this in Redis is to simply query the key. If the key is empty, populate it. If it is a string use get (or exists).

To configure a storage account for your cache metrics:

1. In the Azure Cache for Redis page, under the Monitoring heading, select Diagnostics.

2. Select + Add diagnostic setting.

3. Name the settings.

4. Check Archive to a storage account.

5. Select Configure to choose the storage account in which to store the cache metrics.

Read More



Redis as a Cache for MySQL with PHP on Ubuntu

This article will guide you on steps to use #Redis to cache #MySQL data with #PHP on #Ubuntu 20.04.  Redis, which stands for Remote Dictionary Server, is a fast, open-source, in-memory key-value data store for use as a database, cache, message broker, and queue. 

To Connect to Redis through the SQL Gateway:

1. In MySQL Workbench, click to add a new MySQL connection.

2. Name the connection (CData SQL Gateway for Redis).

3. Set the Hostname, Port, and Username parameters to connect to the #SQL Gateway.

4. Click Store in Vault to set and store the password.

Read More