Redis Cluster

Tyk supports Redis cluster integration (please note 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",
        "server3: "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