Event Stream Modification Using Graph Database Branching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current event processing techniques are limited to serial storing of events, which restricts the ability to modify event streams beyond appending events at the end, lacking flexibility and functionality such as branching and merging.
Innovation Solution
A system that identifies events to add to an event stream based on criteria, allowing new events to be appended at any location, enabling features like branching, merging, and versioning by utilizing a graph database like neo4j for efficient storage and querying.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If events are stored serially in traditional event processing systems, then the system maintains simplicity in event storage and processing, but the system lacks flexibility to modify event streams (cannot branch, merge, or insert events at arbitrary locations)
Solution Approach 1:
The patent transitions from a one-dimensional serial event stream to a multi-dimensional event graph structure using Neo4j graph database. Events are no longer stored in a linear sequence but as nodes in a graph with multiple relationships, enabling branching, merging, and insertion at arbitrary locations while maintaining data integrity through graph theory principles.
Solution Approach 2:
The patent introduces an event graph database (Neo4j) as an intermediary layer between event production and event processing. This intermediary enables flexible event stream modification by providing graph-based operations (branching, merging, insertion) while preserving the underlying event data model and processing logic.
2Adaptability or versatility
If events are stored in a graph database structure, then the system enables flexible event stream modification with branching and merging capabilities, but the system increases complexity in data storage and querying
Solution Approach 1:
The patent implements a universal event graph model that handles multiple event stream operations (branching, merging, insertion, deletion) through a unified graph database interface. This multi-functional approach consolidates various event modification operations into a single coherent system, reducing the need for separate handling logic for each operation type.
Solution Approach 2:
The patent leverages graph database parameters and indexing mechanisms to optimize query performance. By strategically selecting graph traversal parameters, relationship types, and node properties, the system efficiently manages the complexity of graph-based event querying while maintaining flexibility in event stream modification.
3Ease of operation
If events can be appended at any location in the event stream, then the system supports collaboration and offline data management, but the system increases complexity in maintaining event stream consistency
Solution Approach 1:
The patent implements feedback mechanisms through graph database constraints and validation rules that automatically maintain event stream consistency. When events are inserted, branched, or merged at arbitrary locations, the graph database's built-in consistency checks and transactional integrity ensure that the event stream remains reliable and consistent without requiring complex manual validation.
Data Source
AI summary
A system, method, and computer program product are provided for event stream modification. In operation, a system identifies an event to add to an event stream. Moreover, the system appends the new event to at least one of any event in the event stream based on criteria.


