Unified Stream Processor for Batch Performance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data pipeline architectures, such as Lambda and Kappa, face challenges in achieving real-time processing while maintaining data integrity and supporting complex operations, leading to inefficiencies and increased hardware and software complexity.

Innovation Solution

A stream processing engine with additional hardware and software is used to process events, featuring a stream processor, queue, spooler, and auditor to ensure event accuracy and reduce processing time, eliminating the need for batch processors and duplicating processing logic.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If Lambda pipelines use both batch and stream processors concurrently, then real-time processing speed is improved, but hardware requirements and processing complexity increase due to duplication

Engineering Contradiction:
Improvereal-time processing speedVSAvoidprocessing complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent merges batch and stream processing into a single unified stream processing pipeline that can handle both real-time events and batch operations sequentially, eliminating the need for separate processing systems and reducing hardware requirements while maintaining real-time processing capabilities

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The stream processor is designed to be multi-functional, capable of performing both real-time stream processing and batch processing operations within a single system, allowing it to replace the need for separate batch and stream processors while maintaining versatility

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

2Speed

If Kappa pipelines use only stream processing without batch processing, then processing speed is improved, but data integrity and complex operations capability deteriorate

Engineering Contradiction:
Improveprocessing speedVSAvoiddata integrity
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The stream processor dynamically switches between processing modes, operating in real-time stream processing mode for speed and in batch processing mode for data integrity verification and complex operations, allowing the system to adapt its processing approach based on operational requirements

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system periodically performs batch processing operations within the stream processing pipeline to verify data integrity and perform complex operations, maintaining reliability while preserving overall processing speed through structured periodic verification

Inventive Principle:
Principle #19Periodic action

3Reliability

If batch processors are used to ensure data integrity, then reliability is improved, but processing speed and real-time capability deteriorate

Engineering Contradiction:
Improvedata integrityVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The system performs data integrity verification and complex operations during the stream processing phase itself through periodic batch operations, rather than relying on separate post-processing batch jobs, ensuring reliability is built into the real-time processing flow

Inventive Principle:
Principle #10Preliminary action

4Adaptability or versatility

If Lambda pipelines duplicate processing logic in both stream and batch processors, then processing capability is improved, but maintenance complexity and development time increase

Engineering Contradiction:
Improveprocessing capabilityVSAvoiddevelopment time
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent consolidates processing logic into a single stream processing pipeline that handles both real-time and batch operations, eliminating code duplication between separate stream and batch processors and significantly reducing development and maintenance complexity

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11681569B2Streaming data pipeline with batch performance
Publication Date: 2023.06.20 YAHOO ASSETS LLC
  • US11681569B2 patent drawing
  • US11681569B2 patent drawing
  • US11681569B2 patent drawing

AI summary

Disclosed are embodiments for providing batch performance using a stream processor. In one embodiment, a system is disclosed comprising a stream processor configured to process events emitted by an event stream and output processed events; a queue configured to receive the processed events from the stream processor; a spooler configured to read the processed events from the queue and write the processed events to a buffer; and an auditor process configured to extract a written event from the buffer and confirm that the written event matches an event present in the event stream.