Dynamic Service Endpoint Selection for Microservice Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional microservices in cloud environments face inefficiencies due to excess computation time, memory, and resources required for HTTP REST function calls, which can degrade performance and lead to maintenance challenges when users manually select service endpoints at deployment time.

Innovation Solution

A computer-implemented method dynamically determines and selects the optimal service endpoints to fulfill user requests using an optimization system, such as particle swarm optimization, to achieve the best overall solution by evaluating and optimizing service chains and machine learning models based on user requirements, resource usage, and performance metrics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If HTTP REST function calls are used for microservice communication, then service interoperability is achieved, but computation time and processing overhead increase

Engineering Contradiction:
Improveservice interoperabilityVSAvoidcomputation time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system pre-generates multiple candidate service endpoint combinations and evaluates their performance characteristics in advance. By preparing these options beforehand, the system avoids real-time computation overhead when processing actual requests, thus reducing computation time while maintaining service interoperability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically selects service endpoints based on real-time conditions and performance metrics rather than using static pre-configured endpoints. This dynamic adaptation allows the system to optimize computation time by choosing the fastest available endpoint while preserving interoperability across different services.

Inventive Principle:
Principle #15Dynamics

2Ease of operation

If manual endpoint selection is performed at deployment time, then system configuration is simplified, but system adaptability and performance optimization are reduced

Engineering Contradiction:
Improveconfiguration simplicityVSAvoidsystem adaptability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The system separates configuration concerns from runtime decision-making. Configuration simplicity is maintained by defining endpoint options at deployment time, while system adaptability is achieved by enabling runtime selection among these predefined options based on performance metrics and conditions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system autonomously selects optimal service endpoints at runtime without requiring manual intervention or complex configuration changes. This self-service capability maintains configuration simplicity while achieving high adaptability through automated endpoint selection based on real-time performance evaluation.

Inventive Principle:
Principle #25Self-service

3Productivity

If multiple service endpoints are implemented for optimal performance, then performance optimization is improved, but device complexity and maintenance difficulty increase

Engineering Contradiction:
Improveperformance optimizationVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system implements a universal endpoint selection mechanism that works across multiple service endpoints with different performance characteristics. This single multi-functional selection system manages multiple endpoints uniformly, achieving performance optimization without proportionally increasing system complexity or maintenance burden.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12050946B2Just in time assembly of transactions
Publication Date: 2024.07.30 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12050946B2 patent drawing
  • US12050946B2 patent drawing
  • US12050946B2 patent drawing

AI summary

Embodiments of the present invention provide methods, computer program products, and systems. Embodiments of the present invention can dynamically determine one or more endpoints to fulfill a user request. Embodiments of the present invention can select the dynamically determined one or more endpoints as the one or more endpoints that fulfill the user request. Embodiments of the present invention can execute the selected one or more endpoints to fulfill the user request.