HomeTyk Open Source API Gateway v2.xRedis Cluster & Tyk Pump

Redis Cluster & Tyk Pump

Tyk Pump also supports Redis cluster, simply update the pump.conf to use the cluster like so:

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

Then the cluster driver should be invoked instead of the standard Redis driver.

Was this article helpful to you? Yes No