3 ms·
can this loadbalance redis and memcache?
by oimaz 12y ago
can this loadbalance redis and memcache?
- phildougherty 12y agoYes it could. You would either need to have redis slave replication setup and then only load balance your read-replicas, or else you would need to use sticky sessions to always send requests back to the right node.. I'm not sure if sticky sessions is possible with TCP loadbalancing in nginx but I assume it is.
- elementai 12y agoDon't know for NGinx yet, but one can balance with HAProxy, e.g. create 2 backends for read/write respectively. http://blog.haproxy.com/2014/01/02/haproxy-advanced-redis-health-check/ http://blog.haproxy.com/2014/01/02/haproxy-advanced-redis-he...