Probabilistic Replication Filters for Large-Scale Data Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data replication methods face challenges in efficiently tracking the status of large data sets, particularly when changes occur during replication, leading to resource-intensive and performance-impacting processes.

Innovation Solution

Utilizing a probabilistic replication filter (PRF), such as a cuckoo filter, to track entities that need to be replicated, reducing the need to store all entity identifiers and minimizing resource usage by allowing false positives but no false negatives, thus optimizing the replication process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional replication status tracking methods are used for large data sets, then complete tracking accuracy is achieved, but resource consumption increases substantially and performance deteriorates

Engineering Contradiction:
Improvereplication status tracking accuracyVSAvoidreplication performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent employs probabilistic data structures (Bloom filters, Cuckoo filters) that use minimal memory resources compared to traditional exact tracking methods. These structures allow approximate tracking of replicated entities with controlled false positive rates, sacrificing absolute precision for dramatically reduced resource consumption and improved performance on resource-constrained devices.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Solution Approach 2:

The system changes the tracking parameter from exact presence/absence to probabilistic presence with configurable false positive probability. By adjusting the filter size and hash function parameters, the system can trade off between memory usage and tracking accuracy, optimizing for different deployment scenarios.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If traditional replication status tracking methods are used for large data sets, then complete tracking accuracy is achieved, but memory and computational resources are excessively consumed

Engineering Contradiction:
Improvereplication status tracking accuracyVSAvoidmemory resources
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent employs probabilistic data structures (Bloom filters, Cuckoo filters) that use minimal memory resources compared to traditional exact tracking methods. These structures allow approximate tracking of replicated entities with controlled false positive rates, sacrificing absolute precision for dramatically reduced resource consumption and improved performance on resource-constrained devices.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Solution Approach 2:

The system changes the tracking parameter from exact presence/absence to probabilistic presence with configurable false positive probability. By adjusting the filter size and hash function parameters, the system can trade off between memory usage and tracking accuracy, optimizing for different deployment scenarios.

Inventive Principle:
Principle #35Parameter changes

3Stability of the object's composition

If replication tracking is performed across multiple process lifetimes, then complete replication status is maintained, but system complexity and operational difficulty increase

Engineering Contradiction:
Improvereplication state consistencyVSAvoidreplication management complexity
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The system pre-generates fingerprint representations for all entities in the data set before replication begins. These fingerprints are inserted into the probabilistic filter in advance, allowing the replication process to simply check presence rather than manage complex state transitions. This preliminary preparation simplifies the actual replication operations that span multiple process lifetimes.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of tracking complete entity data or complex state information, the system creates simplified fingerprint copies of entity identifiers and stores them in the probabilistic filter. This copying approach maintains replication status information in a compact, easy-to-manage form that persists across process boundaries without requiring complex state management logic.

Inventive Principle:
Principle #26Copying

Data Source

PatentEP3912038B1Data replication using probabilistic replication filters
Publication Date: 2025.09.10 MICROSOFT TECHNOLOGY LICENSING LLC
  • EP3912038B1 patent drawingFigure 1
  • EP3912038B1 patent drawingFigure 2
  • EP3912038B1 patent drawingFigure 3A

AI summary

A method of and system for asynchronous replication of data from a source database to a destination database is carried out by utilizing a probabilistic replication filter to manage the state of replication. The method may include receiving a list of identifiers for a plurality of entities in a data set in the source database, loading at least a portion of the list into a probabilistic replication filter, the portion including an identifier for each one of the plurality of entities in the data set that have not yet been replicated in the destination database, examining the list of identifiers to determine if a first identifier is in the probabilistic replication filter, and upon determining that the first identifier is in the probabilistic replication filter, replicating an entity associated with the first identifier and removing the first identifier from the probabilistic replication filter.