Store charids in redis.