state persistent in redis