Thursday 4 May 2017

Redis mutilple cluster with node js

We are trying to add another redis slave to the existing configuration of a master and a slave. We are using redis in a node app, where we are configuring redis master and slave like below in json file.

"redis" : {
"master" : {
"host" : "x.x.x.x."
},
"slave" :{
"host" : "x.x.x.x."
}}

As this is JSON, i can't add a new key as "slave". Could any one tell me how can I configure this?



via Anjan Kumar

No comments:

Post a Comment