Unique namespace
A unique namespace determines the links that get removed if graph collapse happens.
A single merged profile and its corresponding identity graph should represent a single individual (person entity). A single individual is usually represented by CRMIDs and/or Login IDs. The expectation is that no two individuals (CRMIDs) are merged into a single profile or graph.
You must specify which namespaces represent a person entity in Identity Service using the identity optimization algorithm. For example, if a CRM database defines a user account to be associated with a single CRMID and a single email address, then the identity settings for this sandbox would look like:
- CRMID namespace = unique
- Email namespace = unique
A namespace that you declare to be unique will automatically be configured to have a maximum limit of one within a given identity graph. For example, if you declare a CRMID namespace as unique, then an identity graph can only have one identity that contains a CRMID namespace. If you do not declare a namespace to be unique, then the graph can contain more than one identity with that namespace.
-
Household entity representation (“household graphs”) are not supported at this time.
-
All namespaces that are person identifiers and that are used in the sandbox to generate identity graphs must be marked as a unique namespace. Otherwise, you may see undesirable linking results.
Namespace priority
Namespace priority determines how the identity optimization algorithm removes links.
Namespaces in Identity Service have an implicit relative order of importance. Consider a graph structured like a pyramid. There is one node on the top layer, two nodes on the middle layer, and four nodes on the bottom layer. Namespace priority must reflect this relative order to ensure that a person entity is accurately represented.
For an in-depth look at namespace priority and its complete functionalities and uses, read the namespace priority guide.
Process
Upon ingesting new identities, Identity Service checks if the new identities and their corresponding namespaces adheres to unique namespace configurations. If the configurations are followed, then ingestion proceeds and the new identities are linked to the the graph. However, if configurations are not followed, then the identity optimization algorithm will:
- Ingest the most recent event, while taking namespace priority into account.
- Remove the link that would merge two person entities from the appropriate graph layer.
Identity optimization algorithm details
When the unique namespace constraint is violated, the identity optimization algorithm will “re-play” the links and rebuild the graph from scratch.
-
Links are sorted by the following order:
- Latest event.
- Timestamp by sum of namespace priority (lower sum = higher order).
-
The graph would re-establish based on the above order. If adding the link violates the limit constraint (e.g. the graph contains two or more identities with a unique namespace), then the links is removed.
-
The resulting graph will then be compliant with the unique namespace constraint that you configured.