add redis support and http adapter