Keep ids in redis.