I am working on integrating CIM to one of our systems. It seems whenever we perform a create or delete on a profile, the changes takes about 10 seconds to take affect.
If I try to get a profile just after creation, it returns record not found. If I try to get a profile just after deletion, an empty profile is returned with proper CustomerProfileId.
I can work around this by introducing an artificial delay but that slows down the API by a lot.
Please help.
11-28-2024 01:27 AM
Sounds like an eventual consistency issue! Instead of adding delays, try a retry mechanism with exponential backoff—it’s faster and more efficient. Also, check if the CIM docs mention consistency settings or flags that could help.
12-10-2024 01:52 AM