memcached

Connects to a cluster of memcached services, a prefix can be specified to allow multiple cache types to share a memcached cluster under different namespaces.

memcached:
addresses:
- localhost:11211
prefix: ""
ttl: 300

Fields

addresses

array A list of addresses of memcached servers to use.

prefix

string An optional string to prefix item keys with in order to prevent collisions with similar services.

ttl

number A TTL in seconds to set for items, after this period keys will be removed.

retries

number The maximum number of retry attempts to make before abandoning a request.

retry_period

string The duration to wait between retry attempts.