Memorystore for Redis

gcpCachegoogle-memorystore

Managed single Redis instance, basic or replicated standard tier.

Provider
gcp
Kind
Cache
Category
Data
Properties · 5 set by this component
propertytypevaluesrequiredkind defaultthis component
evictionPolicyenumlru | lfu | ttl | noneno—▸ lru
hashing · advancedenumnone | consistentnononeinherited
invalidationenumttl | event | nonenottlinherited
managedboolean—nofalse▸ true
materialised · advancedboolean—nofalseinherited
memorySizeGb · component propertyinteger—no1inherited
persistenceboolean—nofalse▸ false
readBarrier · advancedboolean—nofalseinherited
replicationenumnone | single-az | multi-az | multi-regionnonone▸ none
serviceTier · component propertyenumbasic | standard-hanobasicinherited
shardsinteger—no—inherited
structure · advancedenumkey-value | bloom-filter | hash-set | sorted-setnokey-value▸ key-value
tier · advancedenumcore | edgenocoreinherited
transitEncryption · component propertyboolean—nofalseinherited
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: "memorystore", component: "google-memorystore" }
Other Cache products · 36
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Memorystore for Redis: a single managed Redis instance. "Redis overview" states the Basic
# tier has no replication and that RDB snapshots are not on by default; "Supported Redis
# configurations" gives volatile-lru as the default maxmemory policy, and the gcloud
# reference defaults --tier to basic and --size to 1 GiB.
schemaVersion: "1"
type: "component"
id: "google-memorystore"
kind: "cache"
provider: "gcp"
docs: "https://cloud.google.com/memorystore/docs/redis/supported-redis-configurations"
defaults:
  evictionPolicy: "lru"
  replication: "none"
  persistence: false
  structure: "key-value"
  managed: true
properties:
  serviceTier:
    type: "enum"
    values: ["basic", "standard-ha"]
    default: "basic"
  memorySizeGb:
    type: "integer"
    default: 1
  transitEncryption:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/google-memorystore.md