Proxy over redis, HAProxy or twemproxy

haproxyredisreverse-proxy

The best way to hide switching of master/slave redis servers, is to use a proxy over master server.

Among proxy candidates, there is two more important (and used) choices: twemproxy and
haproxy(>=1.5)

If we are not interested of some twemproxy features (like sharding) (and intrested only on proxing job), which one is better (and why?)

Best Answer

If you do not need sharding, haproxy is a good choice.

haproxy is transparent, so you can use all redis command(scan/keys/info ...)

but you may need sharding someday :)