implemeneted websocket read from redis