a redis proxy midware for HA