Azure Cache for Redis
Managed Redis cache offering OSS Redis and Redis Enterprise tiers.
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| clustering | boolean | — | no | false | inherited |
| evictionPolicy | enum | lru | lfu | ttl | none | no | — | ▸ lru |
| geoReplication | enum | none | passive | active | no | none | inherited |
| hashing | enum | none | consistent | no | none | inherited |
| invalidation | enum | ttl | event | none | no | ttl | inherited |
| managed | boolean | — | no | false | ▸ true |
| materialised | boolean | — | no | false | inherited |
| nonTlsPort | boolean | — | no | false | inherited |
| persistence | boolean | — | no | false | ▸ false |
| readBarrier | boolean | — | no | false | inherited |
| replication | enum | none | single-az | multi-az | multi-region | no | none | inherited |
| shards | integer | — | no | — | inherited |
| sku | enum | basic | standard | premium | enterprise | enterprise-flash | no | — | inherited |
| structure | enum | key-value | bloom-filter | hash-set | sorted-set | no | key-value | inherited |
| tier | enum | core | edge | no | core | inherited |
| ttlJitter | boolean | — | no | false | inherited |
| ttlSeconds | integer | — | no | — | inherited |
| usedAsPrimaryStore | boolean | — | no | false | inherited |
| zoneRedundancy | boolean | — | no | false | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
cache-as-primary-store-without-persistence
This cache is the only copy of its data and has persistence turned off. A restart loses the data outright.
- — all of these hold:
- — the node's `usedAsPrimaryStore` is true
- — the node's `persistence` is false
cache-missing-eviction-policy
A cache with no declared eviction policy inherits whatever the vendor chose, and most vendors default to evicting nothing. The cache fills up and then starts refusing writes.
- — any of these hold:
- — the node's `evictionPolicy` has no value
- — the node's `evictionPolicy` is "none"
materialised-cache-without-rebuild-path
A cache holding materialised views has to be rebuildable from a durable store or a worker. With nothing feeding it, a cold cache is a permanent gap rather than a slow start.
- — all of these hold:
- — the node's `materialised` is true
- — this does not hold:
- — the node has at least one incoming edge from a sql-database, nosql-database, worker or stream
nodes:
- { id: "cache-for-redis", component: "azure-cache-for-redis" }ApsaraDB for Memcachealibaba-apsaradb-memcacheApsaraDB for Redisalibaba-apsaradb-redisAmazon DynamoDB Accelerator (DAX)aws-daxAmazon ElastiCacheaws-elasticacheAmazon MemoryDBaws-memorydbAzure Managed Redisazure-managed-redisGeneric cachecacheCache clustercache-clustercogneecogneeDragonflydragonflyEVCacheevcacheMicrosoft GarnetgarnetVMware GemFiregemfireGraphitigraphitiHazelcasthazelcastApache IgniteigniteInfinispaninfinispanKeyDBkeydbLettalettaMem0mem0MemcachedmemcachedRedisredisRedis Cloudredis-cloudSquidsquidTrickstertricksterUpstash RedisupstashValkeyvalkeyVarnish CachevarnishZepzepMemorystore for Redisgoogle-memorystoreMemorystore for Memcachedgoogle-memorystore-memcachedMemorystore for Redis Clustergoogle-memorystore-redis-clusterMemorystore for Valkeygoogle-memorystore-valkeyIBM Cloud Databases for Redisibm-databases-for-redisOCI Cache with Redisoci-cache-redisOCI Cache with Valkeyoci-cache-valkey
# yaml-language-server: $schema=../../schema/component.schema.json # Azure Cache for Redis: managed OSS Redis and Redis Enterprise cache (retirement announced). # "How to configure Azure Cache for Redis": the default maxmemory-policy is volatile-lru and the # non-TLS port is disabled on new caches. "What is Azure Cache for Redis?": data persistence, # clustering and geo-replication are Premium and Enterprise features that are off unless configured. schemaVersion: "1" type: "component" id: "azure-cache-for-redis" kind: "cache" provider: "azure" docs: "https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-overview" aliases: ["Azure Redis Cache"] defaults: managed: true evictionPolicy: "lru" persistence: false properties: sku: type: "enum" values: ["basic", "standard", "premium", "enterprise", "enterprise-flash"] clustering: type: "boolean" default: false geoReplication: type: "enum" values: ["none", "passive", "active"] default: "none" nonTlsPort: type: "boolean" default: false zoneRedundancy: type: "boolean" default: false