Event Tap ETL for Web Server Data Freshness

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for extracting and recording program events from running programs, such as Web servers, face inefficiencies and limitations, particularly in large-scale environments where data freshness and availability are critical, leading to increased costs and inability to capture non-HTML content events.

Innovation Solution

The implementation of event taps that transform, buffer, and load server events into a database efficiently, using a distributed database system with event interceptors and a load stage to manage high event rates, allowing direct insertion into database nodes and reducing the burden on the database while maintaining data freshness.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If logs are collected and processed through conventional ETL methods, then data can be stored in a database, but data freshness deteriorates due to significant processing time delays

Engineering Contradiction:
Improvedata freshnessVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the ETL process into distributed event interceptors deployed across multiple servers, each independently capturing and processing events locally. This segmentation eliminates the single-point bottleneck in conventional ETL, enabling parallel processing that maintains data freshness while reducing overall processing time delays.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Event interceptors perform preliminary action by capturing and pre-processing events at the source before they need to be analyzed. The interceptors buffer events in memory and perform initial filtering and formatting, so that when data is transferred to the database, it is already prepared and current, minimizing processing delays and maintaining data freshness.

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If Web beacon technique is used to capture traffic data, then event information can be collected, but processing speed deteriorates and becomes unacceptably slow for large-scale environments

Engineering Contradiction:
Improveevent data volumeVSAvoidprocessing speed
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent introduces event interceptors as intermediary components between the Web server and the database. These interceptors act as mediators that efficiently capture events directly from server memory structures, transform them into the required format, and buffer them for batch insertion. This intermediary layer eliminates the slow conventional ETL pipeline while maintaining the ability to handle large volumes of event data at high processing speeds.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If direct event extraction is performed from running servers, then data freshness is improved, but database burden increases due to high event rates requiring millions of transactions per second

Engineering Contradiction:
Improvedata freshnessVSAvoiddatabase transaction load
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements periodic action through batch processing intervals. Event interceptors continuously capture events in memory and periodically flush buffered events to the database in batches rather than inserting each event individually. This periodic batching dramatically reduces database transaction load while maintaining data freshness, as the time between batches is minimal and the batch insertion operation is far more efficient than individual transactions.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

Event interceptors perform preliminary buffering and aggregation of events in memory before transferring to the database. By pre-collecting multiple events and preparing them for insertion, the system reduces the number of database transactions required. This preliminary action maintains data freshness since events are buffered in memory with minimal delay, while simultaneously reducing the database burden by consolidating multiple insert operations into fewer batch transactions.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10229175B2High-throughput extract-transform-load (ETL) of program events for subsequent analysis
Publication Date: 2019.03.12 TERADATA US INC
  • US10229175B2 patent drawing
  • US10229175B2 patent drawing
  • US10229175B2 patent drawing

AI summary

An event tap associated with a server, such as a Web server, at a machine can transform a server event into a tuple, select a database node for the tuple, and place the tuple in a queue for that database node, and then flush the queue periodically directly into database notes. The use of an event tap can thus reduce the computational burden on the database while keeping the server event data in the database relatively fresh.