2

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?)

Taha Jahangir
  • 2,122
  • 1
  • 15
  • 16

1 Answers1

2

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 :)

ning
  • 36
  • 2