added heartbeat and prefix for redis