optimize get redis data