ETL Data Pipeline Congestion Control via Dynamic Reader Throttling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Data processing tools, such as ETL systems, face data overflow or buffer overflow issues when input data exceeds buffer capacity, leading to potential data loss and inefficiencies due to frequent on/off cycles of database readers.

Innovation Solution

Implementing a dynamic control mechanism that uses a global mutex parameter to detect congestion conditions across data pipelines, allowing database readers to refrain from reading data when congestion is detected, and resume reading when conditions improve, thereby avoiding frequent on/off cycles and ensuring efficient data processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If database readers continuously read data from databases, then data processing throughput is improved, but buffer overflow and data loss occur when input data exceeds buffer capacity

Engineering Contradiction:
Improvedata processing throughputVSAvoiddata loss prevention
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where the system continuously monitors buffer occupancy levels and uses this information to dynamically control database reader operations. When buffer occupancy exceeds a threshold, the system signals database readers to pause or slow down their data intake rate, preventing buffer overflow. This closed-loop control ensures that data processing throughput is maintained while reliably preventing data loss through real-time adaptive adjustment of reading operations based on buffer status feedback.

Inventive Principle:
Principle #23Feedback

2Reliability

If database readers are stopped to prevent buffer overflow, then data loss is prevented, but processing efficiency decreases due to frequent on/off cycles

Engineering Contradiction:
Improvedata loss preventionVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies dynamics by transitioning from static on/off control to dynamic rate adjustment of database readers. Instead of completely stopping readers when buffers are full, the system dynamically modulates their operating rate based on real-time buffer occupancy. This allows readers to operate at reduced capacity rather than shutting down entirely, maintaining continuous processing flow while adapting to buffer conditions, thereby preventing data loss without the efficiency penalty of frequent complete stoppages.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system implements periodic monitoring of buffer occupancy levels and uses this periodic feedback to rhythmically adjust database reader operations. Rather than continuous on/off cycling, the control mechanism operates in periodic cycles of monitoring and adjustment, allowing readers to maintain steady operation during normal conditions and smoothly transition to reduced operation only when necessary, reducing the frequency and severity of stop-start cycles.

Inventive Principle:
Principle #19Periodic action

3Reliability

If buffer capacity is increased to handle more input data, then data overflow is prevented, but memory usage and system resource consumption increase

Engineering Contradiction:
Improvebuffer overflow preventionVSAvoidmemory usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent changes the operational parameters of database readers dynamically based on buffer occupancy rather than relying on increased buffer capacity. By adjusting reading rates, batch sizes, and timing parameters in real-time according to actual buffer conditions, the system prevents overflow using software-based parameter control instead of hardware-based buffer expansion, thereby maintaining reliability without proportionally increasing memory consumption.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12026005B2Control mechanism of extract transfer and load (ETL) processes to improve memory usage
Publication Date: 2024.07.02 SAP SE
  • US12026005B2 patent drawing
  • US12026005B2 patent drawing
  • US12026005B2 patent drawing

AI summary

Embodiments are described for a data processing tool configured to cease operations of a plurality of database readers when detecting a congestion condition in the data processing tool. In some embodiments, the data processing tool comprises a memory, one or more processors, and a plurality of database readers. The one or more processors, coupled to the memory and the plurality of database readers are configured to determine a congestion condition in at least one data pipeline of a plurality of data pipelines of the data processing tool. Each data pipeline of the plurality of data pipelines connects a database reader and a transformer of the data processing tool, a transformer and a database writer of the data processing tool, or two transformers of the data processing tool. The one or more processors are further configured to refrain from reading data from one or more databases responsive to the congestion condition.