use redis and few redis fixes