Publisher Tenant Domain Limits: Enforce Admission While Bounding DNS Evidence Retention
A media platform's customer-domain bill includes provisioning, reconciliation, retained evidence, and support time spent explaining why a publication cannot add another hostname. Start by counting retained evidence. In an illustrative design with 200 publishers and 3 domains each, keeping 30 complete daily inventory snapshots means retaining 18,000 domain observations for 600 current domains.…
The article discusses the importance of setting tenant domain limits within a media platform, emphasizing the need to enforce admission while bounding DNS evidence retention. By counting retained evidence and setting a limit on the number of domains a customer can add, the platform can better manage resources and avoid confusion when published records disagree with the DNS provider's inventory.
The article outlines a proposed application policy for managing domain limits, including the use of separate data fields for tenant identifier, normalized domain, desired state, reservation state, and last observed provider state. It also recommends using a single database transaction to check headroom, reserve capacity, and ensure uniqueness, with provisioning occurring after the transaction.
The article stresses that the application's admission of domains should be independent of how quickly the DNS provider's inventory catches up, and that the contract preserving application admission should remain intact even when changing DNS vendors.
Brief written by urgent.news; may contain errors — check the original.
Source: dev.to