Skip to Content
IdentityRealtime and Warehouse Identity

Realtime and Warehouse Identity

An identity graph can have two halves. The warehouse half resolves the people in your warehouse models on each run. The realtime half links people from your events as they arrive. Both apply the same rules, and they agree on one profile ID for each person.

Your events and your warehouse feed one set of graph rules; the realtime graph sends what it observed to the warehouse, the warehouse sends what it decided back to the realtime graph, and both use the same profile ID

What each half does best

Realtime halfWarehouse half
SeesEvery event as it arrives: sign-ins, page views, app opens, server eventsEverything your warehouse holds: CRM records, orders, loaders
LinksWithin moments of the eventOn each resolution run
RulesThe graph’s deterministic rules: families, priorities, limits, attribution, blocked valuesThe same rules, plus probabilistic matching
Gives youA current profile for personalization, realtime audiences and syncsGolden records and the profiles your models and audiences use

How they stay in step

  • What the stream saw reaches the warehouse. Each pair of identifiers the realtime half linked is written to your warehouse as an observation, with the profile ID it was given. The next warehouse run reads them, so a sign-in seen only on your website is part of the warehouse’s person too, and keeps the same profile ID.
  • What the warehouse decided reaches the stream. After each run, the warehouse’s verdicts are brought into the realtime graph. A link only your CRM knows (an email and a customer number on one record) joins the person in realtime, and their next event lands on the merged profile.
  • A known customer is known from their first event. When a customer your warehouse already holds signs in on a new browser, the browser joins that customer at once, before the next run.
  • What the warehouse sees on many people links nobody. A value your warehouse finds on several people, such as a shared family tablet or a placeholder user ID like guest, never joins people in realtime, and a lookup of it returns no one.
  • A device past a person’s limit links nobody. When your warehouse finds a person with more values of a family than its per-profile limit allows (more browsers than the limit, say), it keeps as many as the limit allows and treats the rest as shared. In realtime, an event from one of those extra devices links to no one and resolves to no one, until it carries something else that identifies the person.
  • Blocked values link nobody on either side. A value on your workspace’s blocked-values list, such as the placeholder unknown, joins no one in the warehouse either, so the two halves never disagree about it.
  • The warehouse has the final word on what it has seen. When the two judge the same evidence differently, the warehouse’s verdict is applied, with the reason warehouse_corrected. On its own, the realtime half only ever merges.

Probabilistic matching

Fuzzy name matching, household matching and IP clusters use statistics only your warehouse has. They are applied by the warehouse half, and reach realtime after the next run: two profiles your warehouse joined probabilistically are one person in realtime from then on, and realtime never joins people on a probabilistic match by itself.

Profile IDs on both sides

For a graph with both halves, the ID your warehouse identity tables call ss_id is the realtime profile ID. Both engines choose which ID survives a merge by the same order (the oldest profile, with warehouse-confirmed profiles first), so they keep the same ID whichever of them saw the merge first.

A graph with only a warehouse half keeps working exactly as before. Its IDs are its own, and nothing about its runs changes until you give it a realtime half.

Last updated on