API Gateway Predictive Load Balancing via Machine Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing API gateway systems lack efficient mechanisms for load balancing and workload optimization, particularly in considering path properties and system telemetry, which can lead to suboptimal performance and network degradation.

Innovation Solution

The implementation of machine learning (ML) techniques within an API gateway to collect and analyze path properties and system telemetry, enabling predictive analytics for proactive load balancing and workload optimization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional load balancing methods are used in API gateway, then implementation is simple, but performance optimization is insufficient and network degradation occurs

Engineering Contradiction:
ImproveAPI gateway performanceVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by collecting path properties and system telemetry data before performance degradation occurs, enabling predictive analytics to forecast potential issues and proactively optimize load balancing decisions, thus preventing network degradation while maintaining manageable system complexity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements continuous feedback mechanisms by monitoring path properties, system telemetry, and performance metrics in real-time, using this feedback to dynamically adjust load balancing strategies and maintain optimal API gateway performance without excessive complexity

Inventive Principle:
Principle #23Feedback

2Productivity

If machine learning techniques are implemented for predictive analytics, then performance optimization improves, but computational resources and system complexity increase

Engineering Contradiction:
Improveworkload optimization efficiencyVSAvoidcomputational resources
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system applies partial machine learning techniques by using ML models only for specific predictive analytics tasks where they provide the most value, rather than applying ML throughout the entire system, thus improving workload optimization efficiency while controlling computational resource consumption

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system introduces intermediary components such as feature engineering layers and model caching mechanisms that bridge raw data and ML models, reducing the computational burden on the ML algorithms themselves while maintaining high productivity in workload optimization

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If real-time monitoring of path properties and system telemetry is performed, then performance prediction accuracy improves, but data collection overhead increases

Engineering Contradiction:
Improveperformance prediction accuracyVSAvoiddata collection time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system extracts only the most critical path properties and system telemetry metrics that have the highest correlation with performance degradation, rather than collecting all possible data points, thus achieving high prediction accuracy while minimizing data collection overhead and time loss

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system applies different monitoring granularities to different parts of the system, with intensive monitoring for critical components and paths and lighter monitoring for less critical areas, optimizing the balance between prediction accuracy and data collection efficiency

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20250184240A1Predictive System for Optimizing API Behaviors
Publication Date: 2025.06.05 CISCO TECHNOLOGY INC
  • US20250184240A1 patent drawing
  • US20250184240A1 patent drawing
  • US20250184240A1 patent drawing

AI summary

The disclosure relates to a system and method of optimizing one or more paths between an Application Programing Interface (API) gateway and one or more endpoints. Properties associated with each of a plurality of paths between at least one device and an API gateway are collected, and the properties associated with each of the plurality of paths are monitored to determine a current level of performance for each of the paths. Using gathered data, the API gateway can then analyze, using machine learning, the current level of performance for each of the paths and the current load of the at least one device to determine if a corrective action is needed to maintain an optimal performance of the API gateway, the plurality of paths, and the at least one device.