Kubernetes Data Locality via DAG Feature Analyzer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Kubernetes faces challenges in managing data locality, leading to increased network latency due to its stateless resource management architecture, which fails to inform big data applications about resource allocations to containers, resulting in inefficient resource utilization and potential deployment failures.

Innovation Solution

Implementing a self-discovery method using a directed acyclic graph (DAG) feature analyzer to identify the best dynamic resources available for task execution, which dispatches a sidecar to collect resource data and recommends optimal resource allocation, thereby enhancing data locality and reducing latency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If Kubernetes uses stateless resource management architecture, then the system complexity is reduced and ease of operation is improved, but data locality cannot be managed and network latency increases

Engineering Contradiction:
Improveease of operationVSAvoidnetwork latency
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent implements self-service by enabling big data applications to autonomously discover and select optimal executor pods based on data locality metrics. The DAG feature analyzer and sidecar components allow applications to self-determine the best resources without human intervention, resolving the contradiction by maintaining Kubernetes' stateless simplicity while adding intelligent self-directed resource selection capabilities that reduce network latency through data locality optimization.

Inventive Principle:
Principle #25Self-service

2Adaptability or versatility

If Kubernetes treats all machines as a single pool of resources, then resource utilization flexibility is improved, but data locality awareness is lost and deployment reliability decreases

Engineering Contradiction:
Improveresource utilization flexibilityVSAvoiddeployment reliability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent implements feedback mechanisms where the sidecar continuously collects resource data from executor pods and feeds this information back to the DAG feature analyzer. This feedback loop enables the system to maintain flexible resource pooling while simultaneously achieving data locality awareness. The analyzer uses this feedback to identify optimal executor pods for each task, ensuring deployment reliability by selecting resources that minimize network latency while preserving the flexibility of treating all machines as a single resource pool.

Inventive Principle:
Principle #23Feedback

3Device complexity

If no resource allocation information is provided to big data applications, then the system complexity is reduced, but resource utilization efficiency decreases and deployment failures occur

Engineering Contradiction:
Improvesystem complexityVSAvoidresource utilization efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent introduces intermediary components (sidecar and DAG feature analyzer) that act as mediators between the Kubernetes resource pool and big data applications. These intermediaries collect resource allocation information from executor pods and present optimized recommendations to applications without requiring changes to the core Kubernetes architecture. This approach maintains low system complexity while significantly improving resource utilization efficiency by enabling data locality-aware task scheduling.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Reliability

If manual intervention is used for resource allocation decisions, then deployment reliability is improved, but automation level decreases and time consumption increases

Engineering Contradiction:
Improvedeployment reliabilityVSAvoidautomation level
Core Design Contradiction:
ReliabilityVSExtent of automation

Solution Approach 1:

The patent implements self-service automation where the DAG feature analyzer automatically makes resource allocation decisions based on collected resource data and data locality metrics. The system autonomously identifies the best executor pods for each task without requiring manual intervention, achieving both high automation level and deployment reliability. The automated decisions are based on objective metrics collected from the cluster, ensuring reliable resource allocation while eliminating manual overhead and time consumption.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20230222004A1Data locality for big data on kubernetes
Publication Date: 2023.07.13 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20230222004A1 patent drawing
  • US20230222004A1 patent drawing
  • US20230222004A1 patent drawing

AI summary

Controlling data locality in a Kubernetes computing environment by establishing a Kubernetes computing environment including a controller and at least one executor pod for running an application, and receiving a request for a task to be run in the Kubernetes computing environment. The controller dispatches a sidecar to collect resource data from the at least one executor pod for an input to a directed acyclic graph (DAG) feature analyzer. The directed acyclic graph (DAG) feature analyzer identifies from the at least one executor pod a best dynamic resource that are available to execute. The at least one executor pod meeting the best dynamic resource that is available executes the task to be run in the Kubernetes computing.