Forum Discussion

raytoles_75680's avatar
raytoles_75680
Icon for Nimbostratus rankNimbostratus
Feb 25, 2015

Load Balancing Redis Instance

Anyone out there try to load balance redis? I can't find much on this and was curious about the ability to load balance redis instances.

 

6 Replies

  • Yes Redis has load balancing "clustering" but we are getting better performance with F5 in front of the 2 Redis nodes that are configured in a Master/Slave orientation. Each pair of Redis nodes have a specific device priority to create HA failover on our F5 LTM.

     

  • For the F5 health monitor I used the Redis service listening port. In our case we configured Redis to listen on port 7000 but I think the default port is 6379. We are also using ManageEngine to monitor the host systems Redis is running on.

     

  • Found this while researching my own master slave configuration. I am having great success using Master/Slave configuration. For health checks on which node to use for the pool I have a monitor.

    monitor redis-is-master {
       defaults from tcp
       interval 2
       timeout 5
       recv "role:master"
       send "info\r\nquit\r\n"