Data Processing Engine Metadata Caching to Reduce Network Overhead

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing big data processing engines face performance deterioration and efficiency loss due to frequent network access for metadata, causing network delays and jitter, especially when accessing external databases.

Innovation Solution

Cache metadata from external databases into the memory of the data processing engine and establish heartbeat channels to ensure data consistency, reducing network access and maintaining efficient data processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If metadata is frequently accessed via network from external database catalog, then data processing engine can obtain required metadata information, but network delay and jitter occur causing performance deterioration

Engineering Contradiction:
Improvemetadata access reliabilityVSAvoiddata processing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent caches metadata from external database catalogs into local memory before it is needed for data processing operations. This preliminary action stores frequently accessed metadata locally, eliminating the need for repeated network accesses during job execution and thereby resolving the contradiction between reliable metadata access and processing efficiency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a local catalog/memory as an intermediary layer between the data processing engine and external database catalogs. This intermediary stores metadata locally and provides it to the processing engine without requiring direct network access to external databases, thus maintaining reliability while eliminating network-induced performance degradation

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If catalog of external database is accessed multiple times via network, then metadata can be obtained for data processing, but network overheads increase reducing processing performance

Engineering Contradiction:
Improvemetadata availabilityVSAvoidnetwork overhead
Core Design Contradiction:
Loss of informationVSLoss of energy

Solution Approach 1:

The patent performs preliminary caching of metadata into local memory before data processing jobs require it. This advance preparation ensures metadata is readily available without requiring repeated network accesses, thereby eliminating network overhead while maintaining complete metadata availability for processing operations

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If network access is used for catalog queries, then external database metadata can be retrieved, but network unavailability impacts job execution

Engineering Contradiction:
Improvemetadata source flexibilityVSAvoidjob execution reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent introduces a local catalog as an intermediary that stores copies of external database metadata locally. This intermediary provides metadata availability independent of network status, ensuring job execution reliability while maintaining the flexibility to access diverse metadata sources through the same interface

Inventive Principle:
Principle #24Intermediary (Mediator)

4Stability of the object's composition

If heartbeat channel is established to check metadata updates, then metadata consistency is ensured, but additional network communication is required

Engineering Contradiction:
Improvemetadata consistencyVSAvoidnetwork communication overhead
Core Design Contradiction:
Stability of the object's compositionVSLoss of energy

Solution Approach 1:

The patent implements periodic heartbeat channels that check for metadata updates at scheduled intervals rather than continuously. This periodic approach maintains metadata consistency by detecting changes when they occur, while minimizing network communication overhead by remaining inactive between heartbeat intervals

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS20250252054A1Data Processing Method, Data Processing Engine, Computing Device, and Storage Medium
Publication Date: 2025.08.07 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US20250252054A1 patent drawing
  • US20250252054A1 patent drawing
  • US20250252054A1 patent drawing

AI summary

A data processing method includes determining a to-be-accessed external database for a data processing job and a target access object in the external database; caching metadata of the target access object from the external database into a memory of the data processing engine; and accessing the metadata from the memory to execute the data processing job. According to the foregoing method, the metadata in the external database is cached into the memory of the data processing engine, and the metadata is accessed from the memory. This can avoid a catalog of the external database from being accessed for a plurality of times via a network.