Upsert vs Create for DNS Provisioning in Fintech Onboarding Failure Detection
The article argues that teams should choose between upsert and create for DNS writes based on whether an existing record is an expected outcome or evidence of an ownership conflict. Upsert suits retries because it converges on the desired record, while create surfaces conflicts when another party may have claimed a domain. Update is criticized as a poor bootstrap choice since it assumes the record already exists. The piece recommends distinguishing three states (desired record present, different record present, write outcome unknown) and reading back after ambiguous writes. It also advises paging based on onboarding SLO breaches or fingerprint mismatches rather than a simple failure count.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in