Real-Time Group Membership Tracking via Precomputed State Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face challenges in accurately tracking and validating membership change events in real-time, particularly in large-scale systems, due to issues like duplicate events, late-arriving events, and high computational loads, which hinder efficient filtering and aggregation of data.

Innovation Solution

A computer-implemented method and system that preprocesses new records to create a normalized data table, filters out invalid records, and computes metrics on an analytics processing database, enabling real-time tracking of membership changes and aggregation of valid data events.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If all membership change events are validated and processed in real-time, then measurement precision is improved, but computing power is excessively consumed

Engineering Contradiction:
Improveaccuracy of membership change event validationVSAvoidcomputational load
Core Design Contradiction:
Measurement precisionVSPower

Solution Approach 1:

The system performs preliminary actions by maintaining pre-computed state information about collection memberships in memory. Before validating a membership change event, the system checks this pre-existing state data to quickly determine validity, avoiding the need to scan entire historical event logs. This preliminary preparation of validation data dramatically reduces the computational power needed for real-time event validation while maintaining high precision.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If real-time membership tracking is implemented, then productivity is improved, but device complexity increases

Engineering Contradiction:
Improvespeed of membership trackingVSAvoidsystem architecture complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system segments the membership tracking functionality into distinct components: an event publishing component that collects membership change events, a state management component that maintains collection membership states in memory, and a validation component that compares events against current state. This segmentation allows each component to be optimized independently and simplifies the overall system architecture while enabling real-time tracking productivity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces an intermediary validation mechanism that sits between event publication and event processing. This intermediary checks events against pre-computed state information before they are fully processed, acting as a filter that simplifies downstream processing. The intermediary layer enables real-time tracking without requiring complex real-time computation throughout the entire system.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of information

If duplicate events are filtered out, then loss of information is reduced, but computing power is excessively consumed

Engineering Contradiction:
Improveaccuracy of event processingVSAvoidcomputational load
Core Design Contradiction:
Loss of informationVSPower

Solution Approach 1:

The system performs preliminary action by maintaining an in-memory state representation of collection memberships before events are processed. When a membership change event arrives, the system immediately checks this pre-computed state to determine if the event represents a genuine change or a duplicate. This preliminary check against current state information enables duplicate detection with minimal computational overhead, reducing information loss without excessive power consumption.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250165897A1Computer-implemented Method for Real-Time Group Membership Tracking and Related System
Publication Date: 2025.05.22 KLAVIYO INC
  • US20250165897A1 patent drawing
  • US20250165897A1 patent drawing
  • US20250165897A1 patent drawing

AI summary

A computer-implemented method for tracking membership of a collection based on new records corresponding to new membership change events. The method comprises receiving a batch of new records for membership change events from a segmentation engine; preprocessing the new records and historic records to exclude invalid membership change events; creating a normalized data table of the valid membership change events; and sending the normalized data table to an analytics processing database for computing at least one metric for the collection based on the normalized data table. Optionally, the collection is an audience and the metric is segment growth. Related computer systems are described.