Stores key/value pairs in a map held in the memory-bound Ristretto cache.
# Common config fields, showing default valueslabel: ""ristretto:ttl: ""
# All config fields, showing default valueslabel: ""ristretto:ttl: ""retries: 0retry_period: 50ms
This cache is more efficient and appropriate for high-volume use cases than the standard memory cache. However, the add command is non-atomic, and therefore this cache is not suitable for deduplication.
This cache type supports setting the TTL individually per key by using the
ttl field of a cache processor or output in order to
override the general TTL configured at the cache resource level.
The TTL of each item as a duration string. After this period an item will be eligible for removal during the next compaction.
# Examplesttl: 60sttl: 5mttl: 36h
The maximum number of retry attempts to make before abandoning a request.
The duration to wait between retry attempts.