Redis is an open source, in-memory, key-value data store most commonly used as a primary database, cache, message broker, and queue. Redis cache delivers sub-millisecond response times, enabling fast and powerful real-time applications in industries such as gaming, fintech, ad-tech, social media, healthcare, and IoT. Developers love Redis due to its speed, simplicity and performance.
The Azure cloud platform has more than 200+ products and cloud services designed to help you bring new solutions to life-to solve today's challenges and create the future. Azure services help you to build, run, and manage applications across multiple clouds, on-premises, and at the edge, with the tools and frameworks of your choice.
Azure Cache for Redis is a native fully-managed service on Microsoft Azure. Azure Cache for Redis offers both the Redis open-source (OSS Redis) and a commercial product from Redis (Redis Enterprise) as a managed service. It provides secure and dedicated Redis server instances and full Redis API compatibility. The service is operated by Microsoft, hosted on Azure, and accessible to any application within or outside of Microsoft Azure.
Azure Cache for Redis dashboard uses Azure Monitor to provide several options for monitoring your cache instances.Learn more Use Azure Monitor to:
- View metrics
- Pin metrics charts to the Startboard
- Customize the date and time range of monitoring charts
- Add and remove metrics from the charts
- Set alerts when certain conditions are met
Step 1. Getting Started
Search for "azure redis cache " in the search dashboard and launch Azure Cache for Redis Enterprise
Step 2: Setup & Subscribe
Step 3: Configuring New Redis Cache Instance
Step 4: Connecting to Redis database
You can directly connect to the Redis cache instances using the Redis CLI command (
redis-cli) as shown:
sudo redis-cli -h demos.redis.cache.windows.net -p 6379
Please note that you can have multiple clients connected to a Redis database at the same time. The above Redis client command might require a password if you have setup authentication in your Redis configuration file. You can insert data to Redis using the
SET command and then fetch it back with the
GET command. You can also run the Redis
INFO command to get the statistics about the health of the Redis server (for example, memory usage, Redis server load etc).