tilegroxy Docs
Used by the memcached cache.

Example

  • YAML

  • JSON

datastores:
  - name: memcached
    id: memcached-0
    host: 127.0.0.1
    port: 11211
{
  "datastores": [
    {
      "name": "memcached",
      "id": "memcached-0",
      "host": "127.0.0.1",
      "port": 11211
    }
  ]
}

Configuration

Configuration options
Parameter Description Type Required Default

ID

The unique identifier of the datastore used to reference this datastore elsewhere in configuration

string

Yes

None

Host

The host of the memcached server. A convenience equivalent to supplying servers with a single entry. Do not supply both this and servers

string

No

127.0.0.1

Port

The port of the memcached server. A convenience equivalent to supplying servers with a single entry. Do not supply both this and servers

int

No

11211

Servers

The list of servers to connect to supplied as an array of objects, each with a host and key parameter. This should only have a single entry when operating in standalone mode. If this is unspecified it uses the standalone host and port parameters as a default, therefore this shouldn’t be specified at the same time as those

Array of host and port

No

host and port