Dynamic Microservice Communication via Reinforcement Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current distributed computing systems lack the ability to dynamically adjust communication methods between microservices based on changing conditions, leading to suboptimal performance and efficiency in data transmission.

Innovation Solution

Implementing a reinforcement learning model that identifies optimal communication methods based on system conditions, using statistics from microservices to dynamically switch between communication methods such as point-to-point, m-servers-to-n-clients, broker-based, and shared-memory-based communications, leveraging SARSA reinforcement learning to adapt to changing operational conditions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a fixed communication method is used between microservices, then the system structure is simple and easy to manage, but the communication efficiency deteriorates under changing system conditions

Engineering Contradiction:
Improvecommunication configuration complexityVSAvoiddata transmission efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent implements dynamic communication method selection by introducing a reinforcement learning model that automatically adapts the communication method between microservices based on real-time system conditions. The system transitions from static configuration to dynamic adaptation, where the communication method changes according to workload characteristics, data size, and system state, thereby resolving the contradiction between simplicity and efficiency.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of communication method selection from fixed to variable. By using reinforcement learning to determine communication parameters (such as synchronous vs asynchronous, direct vs indirect communication) based on system conditions, the patent enables the communication configuration to adapt to different operational scenarios, improving transmission efficiency without significantly increasing complexity.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If communication methods are dynamically adjusted based on system conditions, then communication efficiency is improved, but the system complexity increases

Engineering Contradiction:
Improvemicroservice communication efficiencyVSAvoidcommunication management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements self-service by enabling the communication system to automatically select and adjust communication methods without manual intervention. The reinforcement learning model autonomously monitors system conditions and makes communication decisions, eliminating the need for complex manual configuration and management while improving communication efficiency.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system incorporates feedback mechanisms where communication performance and system conditions are continuously monitored and fed back to the reinforcement learning model. This closed-loop control enables the system to learn from past communication outcomes and continuously optimize communication method selection, managing complexity through intelligent feedback-driven adaptation rather than rigid complex rules.

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If reinforcement learning is used to select communication methods, then adaptability to changing conditions is improved, but the computational overhead increases

Engineering Contradiction:
Improveadaptation to system conditionsVSAvoidcomputational resource consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent applies partial action by using reinforcement learning selectively for communication method selection rather than for all system decisions. The reinforcement learning model is applied only to determine communication parameters, leaving other system operations to use standard efficient algorithms, thus reducing overall computational overhead while maintaining adaptability in communication.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11785065B2Dynamic microservice intercommunication configuration
Publication Date: 2023.10.10 NEC CORP
  • US11785065B2 patent drawing
  • US11785065B2 patent drawing
  • US11785065B2 patent drawing

AI summary

Methods and systems for managing communications include identifying a system condition in a distributed computing system comprising a first microservice in communication with a second microservice. A communications method is identified responsive to the identified system condition using a reinforcement learning model that associates communication methods with system conditions. The identified communications method is implemented for communications between the first microservice and the second microservice, such that the first microservice and the second microservice use the identified communications method to transmit data.