Can twemproxy load balance read requests?

340 Views Asked by At

I want to use redis with master and slaves. I.e. several shards. Each shard has one master and several slaves.

Is it possible to configure twemproxy to use masters to write and slaves to read? Or all requests will go to the master?

1

There are 1 best solutions below

0
edlerd On BEST ANSWER

Nope, it is just able to distribute keys with various methods. It does not support read slaves. You could build sth. like that with haproxy easily though.