use redis directive