Redis Cluster

Tyk supports Redis cluster integration (please not this is different from a Redis master/slave setup). To work with a Redis cluster, simply specify it in your tyk.conf file:

"storage": {
    "type": "redis",
    "enable_cluster": true,
    "hosts" : {
        "server1": "6379",
        "server2": "6380",
        "server23: "6381",
    "username": "",
    "password": "",
    "database": 0,
    "optimisation_max_idle": 100

Tyk Dashboard and Tyk Pump also support redis cluster, and must have this setting enabled as well in their respective settings files in order to operate effectively.

Was this article helpful to you? Yes No