BETA: This component is experimental and therefore subject to change outside of major version releases.

Stores key/value pairs in a map held in the memory-bound Ristretto cache.

# Common config fields, showing default values
ttl: ""

This cache is more efficient and appropriate for high-volume use cases than the standard memory cache. The add command is non-atomic, and therefore this cache is not suitable for deduplication.



The TTL of each item as a duration string. After this period an item will be eligible for removal during the next compaction.

Type: string
Default: ""

# Examples
ttl: 60s
ttl: 5m
ttl: 36h


The maximum number of retries before giving up on the request. If set to zero there is no discrete limit.

Type: number
Default: 3


Control time intervals between retry attempts.

Type: object


The initial period to wait between retry attempts.

Type: string
Default: "1s"


The maximum period to wait between retry attempts.

Type: string
Default: "5s"


The maximum period to wait before retry attempts are abandoned. If zero then no limit is used.

Type: string
Default: "30s"