Event Processing System Duplicate Detection Failover

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Event processing systems face issues with event duplication due to failures, leading to user experience deterioration and resource wastage, especially during failovers when the backup data center loses track of processed events.

Innovation Solution

Implementing an event tracking system that identifies and blocks duplicate events by comparing event identifiers and information, allowing only permitted events to be processed once, and ensuring seamless failover by replicating event data from the main data center to the backup data center.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the backup data center processes events during failover, then event processing continuity is maintained, but duplicate events may be processed causing user experience deterioration and resource wastage

Engineering Contradiction:
Improveevent processing continuityVSAvoidduplicate event processing
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The system performs preliminary actions by maintaining an event tracking log that records all processed events before failover occurs. When failover happens, the backup data center uses this pre-established tracking information to identify and filter duplicate events, preventing harmful duplicate processing while maintaining continuity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The event tracking system provides feedback by continuously monitoring and recording processed events. During failover, this feedback mechanism allows the backup data center to compare incoming events against the tracking log, identifying duplicates and preventing their processing, thus resolving the contradiction between continuity and duplicate prevention.

Inventive Principle:
Principle #23Feedback

2Productivity

If all events are processed without duplication checks, then event processing efficiency is maintained, but events may be processed multiple times causing business impact and resource wastage

Engineering Contradiction:
Improveevent processing efficiencyVSAvoidresource wastage
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The system extracts only the essential tracking information (event identifiers and processing status) from the full event data into a separate tracking log. This extraction allows for efficient duplicate detection without processing or storing complete event details, maintaining processing efficiency while preventing resource wastage from duplicate handling.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of duplicating and processing complete event objects, the system creates lightweight copies of event identifiers and tracking metadata. These minimal copies enable rapid duplicate detection with negligible overhead, preserving event processing efficiency while avoiding the resource costs of full event duplication.

Inventive Principle:
Principle #26Copying

3Loss of energy

If duplicate event processing is prevented with strict checking, then resource efficiency is improved, but event processing complexity increases

Engineering Contradiction:
Improveresource efficiencyVSAvoidevent processing complexity
Core Design Contradiction:
Loss of energyVSDevice complexity

Solution Approach 1:

The event processing system is segmented into distinct components: event reception, tracking log management, duplicate detection module, and event processing module. This segmentation isolates the complexity of duplicate prevention into a dedicated module, making the overall system more manageable while maintaining resource efficiency through specialized handling.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An event tracking log serves as an intermediary between event reception and event processing. This mediator component handles the complex task of duplicate detection by comparing incoming events against recorded events, simplifying the main processing logic while ensuring resource efficiency through accurate duplicate prevention.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Ease of manufacture

If the backup data center loses track of processed events during failover, then failover simplicity is maintained, but duplicate events cannot be identified and processed

Engineering Contradiction:
Improvefailover simplicityVSAvoidprocessed event tracking
Core Design Contradiction:
Ease of manufactureVSLoss of information

Solution Approach 1:

The event tracking functionality is merged into the failover mechanism itself. The tracking log is maintained as part of the data center's state and is transferred or replicated along with other critical data during failover. This merging ensures that event tracking information is preserved during failover without adding separate complex systems.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The event tracking system serves multiple functions: it tracks processed events for duplicate prevention, maintains data center state for failover, and provides audit information. This multi-functionality allows the same mechanism to support both failover simplicity and event tracking without requiring separate dedicated systems.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11960364B2Event processing
Publication Date: 2024.04.16 CAPITAL ONE SERVICES LLC
  • US11960364B2 patent drawing
  • US11960364B2 patent drawing
  • US11960364B2 patent drawing

AI summary

An event processing system may identify duplicate events and prevent one or more of the duplicate events from being processed. The event processing system may determine the duplicate events, which are not permitted to be processed more than once, and allow these duplicate events to be processed exactly once. The event processing system may allow events, which are permitted to be processed more than once, to be processed without determining whether the events are duplicate events. If a main data center of the event processing system fails, a backup data center may take over instantly event processing from the main data center and may prevent events that have been processed by the main data center from being processed. Multiple data centers may work together and process events in an active-active mode by offering the exactly once processing as well as removing any duplicate events from upstream systems.