Lytics Platform Data Flow and Access

Overview

When data is brought into Lytics, it organizes diverse data structures and tables to accommodate the customer's evolving data activation requirements. This document will delve into the various data storage methods employed by Lytics and explain the purpose, access, and behavior of these different storage structures.

The Lytics' Graph

The system records each unique identifier (ID) as separate nodes within the graph structure. A collection of nodes linked by edges corresponds to a singular profile. The data associated with the most robust ID present in an incoming event is stored. While not directly accessible via the API, this information is made available through the "Identity" tab in the conductor. The graph undergoes immediate updates upon the arrival of new events. Generally, the response time from a graph update to the corresponding entity ranges from milliseconds to seconds.

Graph view of consumer profiles in Conductor

Raw Data Store

The system efficiently stores every event received from Lytics, both in batch and real-time modes. Each event includes a timestamp indicating when the event took place and when it entered the Lytics system. Although this information is not directly accessible through the API or user interface (UI), it is possible to transmit the events downstream using our out-of-the-box (OOTB) integrations, such as the BigQuery (BQ) export feature. This scenario seamlessly transfers the events from the raw storage to designated downstream tables. These operations can be initiated or concluded at any given time. The raw storage option also serves as a valuable resource for replaying data in the event of corrupted or malformed data, ensuring data integrity throughout the account.

Entity/Profile

The system diligently maintains and stores the latest Lytics profiles, ensuring their accuracy and relevance. These profiles encompass various attributes, such as scores and segment memberships. Users can conveniently access these profiles through the user interface (UI) using the Decision Engine functionality. Additionally, the profiles can be retrieved programmatically via the API, utilizing any of the existing profile IDs.

To facilitate this process, you can reference the profile's URL in the UI, which contains the necessary ID value for API access.

πŸ“˜

URL Example : https://app.lytics.com/entity/user/_uids/[ProfileID]?aid=[AID]&view=details

The transition from data entry to the updated entity is typically swift, with response times ranging from milliseconds to seconds. The updated entity is a valuable resource for real-time activations, including trigger-based exports, membership in client-side experiences or audiences, and client-side attribute updates. These functionalities enable seamless and immediate user interactions based on their up-to-date profiles.

Entity view of consumer profiles in Decision Engine

Segmentation

The system securely stores and maintains up-to-date Lytics Audiences, encompassing profiles and their membership within these audiences. The system employs indexes on profile attributes to facilitate efficient retrieval and modifications, enabling fast access to the desired data. Users can conveniently access and interact with the audiences through the user interface (UI) using the Decision Engine feature. Alternatively, audiences can be accessed programmatically via the API, providing flexibility for data retrieval in a one-to-many fashion.

Audiences can be created through Lytics Segment API using Segment QL, offering a powerful tool for audience customization. When referencing audiences in the UI, the Segment ID can be found within the URL, aiding API-based operations.

πŸ“˜

URL Example: https://app.lytics.com/audiences/[SegmentID]summary?aid=AID

As the last table to be updated after an event, the audience table exhibits a slightly longer update time compared to other components. However, since this table is not involved in real-time processes, it does not impact latency or affect the responsiveness of other functionalities.

Note: To allow the system indexes on profile attributes, the creation of new fields will need to be added to this index first, creating an additional delay before new fields will be visible in the audience builder.

The Segment feature is vital in several aspects, including audience creation, populating the field information tab, and facilitating batch exports. It is a fundamental building block for audience segmentation and targeted campaigns within the Lytics platform.
Audience view in Decision Engine