Slave of HAProxy?

27 views
Skip to first unread message

Jean-Michel Hiver

unread,
Feb 20, 2018, 6:24:48 AM2/20/18
to Redis DB
Hello guys

I currently have a cluster of redises as follows:

- 5 redis instances (1 master, 4 master-candidates)

- 3 sentinel instances

- 1 HA proxy which is used to proxy only the current master. This is so that we can transparently connect to the master through one IP without having to change the client code to use sentinel to find who the master is.

  I used the following receipie: 


I was wondering if there is any issues with setting up read-only slaves of the HAProxy address? Do you guys have any clue of what happens then when the master changes?
Reply all
Reply to author
Forward
0 new messages