add redis support and all work.