Back to Databases

Azure Cache for Redis

azure

Fully managed, in-memory data store with sub-millisecond response times, active-active CRDT geo-replication, and Enterprise Flash NVMe tiering.

DATABASES
Microsoft Azure

Fully managed, in-memory data store with sub-millisecond response times, active-active CRDT geo-replication, and Enterprise Flash NVMe tiering.

Click any section above to jump directly to it
GCP ➔ Azure Bridge
Fast-Track Mental Model Translation

Coming from Google Cloud?

Compare with Google Cloud Memorystore for Redis

Both provide managed Redis caching with VPC peering, automated failover, and TLS encryption, but Azure Cache for Redis includes Enterprise tiers with Active-Active CRDT geo-replication and NVMe Flash tiering.

What's Conceptually Identical
  • In-memory Redis engine providing sub-millisecond read/write latency.
  • High availability primary/replica architecture with automated failover.
  • Private VPC/VNet connectivity and TLS encryption in transit.
Key Architectural Shifts in Azure
  • Multi-Region Replication: Memorystore is strictly regional; Azure Cache for Redis Enterprise offers active-active multi-master CRDT geo-replication across continents.
  • Hardware Tiering: Azure offers Enterprise Flash utilizing local NVMe SSDs to store up to 2 TB at 70% lower cost; Memorystore is strictly RAM-based.
  • Modules: Azure Enterprise natively supports RediSearch, RedisJSON, RedisBloom, and RedisTimeSeries.
Syntax & Command Translator
Create Clustered Cache
GCP:gcloud redis instances create my-redis --size=10 --region=us-central1
Azure:az redis create --name my-redis --resource-group rg-cache --sku Premium --vm-size P1 --shard-count 3
Trigger Failover
GCP:gcloud redis instances failover my-redis --data-protection-mode=limited-data-loss
Azure:az redis force-reboot --name my-redis --resource-group rg-cache --reboot-type PrimaryNode

What is Azure Cache for Redis?

Azure Cache for Redis provides fully managed, highly available in-memory data stores based on open-source Redis and Redis Enterprise. Offering sub-millisecond response times, it scales from single-node dev caches to clustered Premium tiers with up to 10 shards (16,384 hash slots) and Enterprise Flash tiers leveraging NVMe flash memory for multi-terabyte datasets at up to 70% lower $/GB cost.

Decision Guide: When to Choose This Service

When to Use Azure Cache for Redis

Use Azure Cache for Redis for web session storage, API response caching, high-throughput gaming leaderboards, real-time message queuing (Pub/Sub and Streams), and distributed locking in high-concurrency microservices.

When NOT to Use (Recommended Alternatives)

Do NOT use Azure Cache for Redis as a permanent relational transactional database or primary system of record for complex relational queries without a backing persistent store.

Core Architectural Pillars

Redis Cluster Sharding

Partitions keys across up to 10 shards using 16,384 CRC16 hash slots, with hash tags `{...}` enabling atomic multi-key operations.

Enterprise Flash Tiering

Extends volatile RAM with high-speed local NVMe SSDs, scaling caches up to 2 TB at 70% lower cost.

Active-Active Geo-Replication

CRDT-powered multi-master write replication across continents with 99.999% Five-Nines availability SLA.

Data Persistence (RDB/AOF)

Periodic point-in-time binary snapshots to Azure Storage or continuous append-only transaction logging.

Cache Stampede Mitigation

Probabilistic early expiration (XFetch) repopulates hot keys before expiration, eliminating Thundering Herd database crashes.

Zero-Trust Security

Private Link endpoints, disabled access keys, and Microsoft Entra ID authentication with Redis 6.0+ ACLs.