OCI Cache with Valkey
Managed Valkey clusters with a private TLS-only endpoint, sharded or non-sharded.
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| clusterMode | enum | non-sharded | sharded | no | non-sharded | inherited |
| engineVersion | enum | valkey-7-2 | valkey-8-1 | no | valkey-8-1 | inherited |
| evictionPolicy | enum | lru | lfu | ttl | none | no | — | 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 |
| nodeCount | integer | — | no | — | inherited |
| persistence | boolean | — | no | false | ▸ false |
| privateEndpointOnly | boolean | — | no | true | inherited |
| readBarrier | boolean | — | no | false | inherited |
| replication | enum | none | single-az | multi-az | multi-region | no | none | inherited |
| shards | integer | — | no | — | inherited |
| structure | enum | key-value | bloom-filter | hash-set | sorted-set | no | key-value | ▸ key-value |
| tier | enum | core | edge | no | core | inherited |
| tlsOnly | boolean | — | no | true | inherited |
| ttlJitter | boolean | — | no | false | inherited |
| ttlSeconds | integer | — | no | — | inherited |
| usedAsPrimaryStore | 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-valkey", component: "oci-cache-valkey" }ApsaraDB for Memcachealibaba-apsaradb-memcacheApsaraDB for Redisalibaba-apsaradb-redisAmazon DynamoDB Accelerator (DAX)aws-daxAmazon ElastiCacheaws-elasticacheAmazon MemoryDBaws-memorydbAzure Cache for Redisazure-cache-for-redisAzure 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-redis
# yaml-language-server: $schema=../../schema/component.schema.json # OCI Cache with Valkey: the same managed cache service running the open source Valkey engine. # "About OCI Cache" lists Valkey 8.1 (the recommended version) and Valkey 7.2, and states a non-sharded # cluster carries one primary and up to four replicas while a sharded cluster has three or more shards. # TLS-only connections over a private endpoint apply to Valkey clusters as they do to Redis ones. schemaVersion: "1" type: "component" id: "oci-cache-valkey" kind: "cache" provider: "oci" docs: "https://docs.oracle.com/en-us/iaas/Content/ocicache/overview.htm" defaults: managed: true structure: "key-value" persistence: false properties: engineVersion: type: "enum" values: ["valkey-7-2", "valkey-8-1"] default: "valkey-8-1" clusterMode: type: "enum" values: ["non-sharded", "sharded"] default: "non-sharded" nodeCount: type: "integer" tlsOnly: type: "boolean" default: true privateEndpointOnly: type: "boolean" default: true