Skip to content

Files

Latest commit

57f063d · Jan 15, 2024

History

History
52 lines (36 loc) · 1.05 KB

memcached.md

File metadata and controls

52 lines (36 loc) · 1.05 KB

Memcached Driver

Before configuring the Memcached driver, please make sure that the Memcached Server is installed and running. You can read more about this in the documentation.

Configuration

The complete memcached driver configuration:

{% code title=".rr.yaml" %}

version: "3"

kv:
  # User defined name of the storage.
  memcached:
    # Required section.
    # Should be "memcached" for the memcached driver.
    driver: memcached
    config:
      # Optional section.
      # Default: "127.0.0.1:11211"
      addr: "127.0.0.1:11211"

{% endcode %}

Options

Below is a more detailed description of each of the memcached-specific options:

Addr

addr: String of memcached connection in format "[HOST]:[PORT]".

In the case that there are several memcached servers, then the list of connections can be listed in an array format, for example:

{% code title=".rr.yaml" %}

version: "3"

kv:
  memcached:
    driver: memcached
    config:
      addr: [ "127.0.0.1:11211", "127.0.0.1:11222" ]

{% endcode %}