tom: support redis too