ApsaraDB for Redis

alibabacloudCachealibaba-apsaradb-redis

Managed Redis-compatible in-memory store that persists data to disk with AOF and RDB policies.

Provider
alibabacloud
Kind
Cache
Category
Data
Also known as
KVStore
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
architecture · component propertyenumstandard | cluster | read-write-splittingno—inherited
edition · component propertyenumredis-open-source | tair-enterpriseno—inherited
evictionPolicyenumlru | lfu | ttl | noneno—inherited
hashing · advancedenumnone | consistentnononeinherited
invalidationenumttl | event | nonenottlinherited
managedboolean—nofalse▸ true
materialised · advancedboolean—nofalseinherited
persistenceboolean—nofalse▸ true
readBarrier · advancedboolean—nofalseinherited
replicationenumnone | single-az | multi-az | multi-regionnononeinherited
shardsinteger—no—inherited
storageMedium · component propertyenumdram | persistent-memory | essdno—inherited
structure · advancedenumkey-value | bloom-filter | hash-set | sorted-setnokey-value▸ key-value
tier · advancedenumcore | edgenocore▸ core
ttlJitter · advancedboolean—nofalseinherited
ttlSecondsinteger—no—inherited
usedAsPrimaryStore · advancedboolean—nofalseinherited
Rules that apply · 3

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
Use it in a design
nodes:
  - { id: "apsaradb-redis", component: "alibaba-apsaradb-redis" }
Other Cache products · 36
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# ApsaraDB for Redis: managed in-memory key-value store compatible with the Redis protocol.
# "What is Tair (Redis OSS-compatible)?" describes a fully managed cloud-native database on an
# active-active high-availability cluster architecture that stores data in both memory and on disk
# using the AOF and RDB persistence policies, and gives the two editions, Redis Open-Source Edition
# and Tair (Enterprise Edition), with DRAM, persistent memory and ESSD/SSD storage media. No default
# eviction policy is stated in the documentation, so none is set here.
schemaVersion: "1"
type: "component"
id: "alibaba-apsaradb-redis"
kind: "cache"
provider: "alibabacloud"
docs: "https://www.alibabacloud.com/help/en/redis/product-overview/what-is-apsaradb-for-redis"
aliases: ["KVStore"]
defaults:
  managed: true
  persistence: true
  structure: "key-value"
  tier: "core"
properties:
  edition:
    type: "enum"
    values: ["redis-open-source", "tair-enterprise"]
  storageMedium:
    type: "enum"
    values: ["dram", "persistent-memory", "essd"]
  architecture:
    type: "enum"
    values: ["standard", "cluster", "read-write-splitting"]

The same page as markdown, for an agent: /catalogue/components/alibaba-apsaradb-redis.md