Adaptive Microservice Actor Scaling for Load Spikes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Microservices-based systems face challenges in dynamically adjusting resource allocation to handle sudden spikes in demand, leading to potential system failures due to inadequate resource management during surges in workload.

Innovation Solution

Implementing an analytic engine that analyzes load factors, determines the number of actors needed, and dynamically spawns additional actors to distribute the workload effectively, ensuring optimal resource allocation and handling of increased demands.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a static number of actors is used in microservices, then device complexity is reduced and ease of operation is improved, but the system cannot handle sudden spikes in demand leading to system failures

Engineering Contradiction:
Improvesystem reliabilityVSAvoidresource management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system dynamically adjusts the number of actors based on real-time load analysis. The analytic engine continuously monitors workload metrics and automatically spawns or terminates actors to match current demand, transforming the static resource allocation into a dynamic adaptive system that maintains reliability without manual intervention

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The analytic engine implements a feedback mechanism by continuously analyzing load factors and using this information to determine the optimal number of actors. This closed-loop control system monitors system performance and automatically adjusts resource allocation based on the analyzed feedback, preventing system failures during demand spikes

Inventive Principle:
Principle #23Feedback

2Adaptability or versatility

If additional actors are dynamically spawned to handle load spikes, then system reliability and adaptability are improved, but device complexity and resource management difficulty increase

Engineering Contradiction:
Improvedemand adaptabilityVSAvoidscaling mechanism complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system implements self-service through automated actor management. The analytic engine autonomously analyzes load conditions and decides when to spawn or terminate actors without human intervention. This self-managing capability provides high adaptability to demand changes while keeping operational complexity low through automation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary analysis of load factors before demand spikes occur. By continuously monitoring and analyzing workload metrics in advance, the analytic engine can proactively spawn actors before the system becomes overwhelmed, enabling smooth adaptation to upcoming demand increases without last-minute complexity

Inventive Principle:
Principle #10Preliminary action

3Productivity

If resource allocation is dynamically adjusted, then productivity and response to demand changes are improved, but loss of time for analysis and decision-making occurs

Engineering Contradiction:
Improveworkload processing capacityVSAvoidanalysis time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The analytic engine operates continuously, constantly analyzing load factors without interruption. This continuous monitoring and analysis eliminates idle time between demand changes and ensures that the system is always ready to adjust actor allocation. The uninterrupted analysis maintains high productivity by preventing any gaps in resource management responsiveness

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The system performs preliminary load analysis continuously in the background, so when demand changes occur, the decision-making process is already prepared or can quickly conclude. This advance preparation minimizes the actual response time needed when scaling decisions must be made, maintaining high productivity while reducing perceived analysis time

Inventive Principle:
Principle #10Preliminary action

4Reliability

If more actors are used to handle peak loads, then system capacity and reliability are improved, but use of energy and resource consumption increase

Engineering Contradiction:
Improvepeak load handling capabilityVSAvoidactor resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system dynamically adjusts the number of active actors to match the current workload demands. During peak loads, additional actors are spawned to maintain reliability and handling capability. During low-utilization periods, actors are terminated to reduce energy consumption. This dynamic adjustment ensures the system only consumes resources when actually needed, balancing reliability with energy efficiency

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20230342213A1System and method of adaptative scalable microservice
Publication Date: 2023.10.26 DELL PROD LP
  • US20230342213A1 patent drawing
  • US20230342213A1 patent drawing
  • US20230342213A1 patent drawing

AI summary

One example method includes analyzing a load factor regarding a workload for one or more actors in a data storage platform, wherein the workload includes a group of two or more connected jobs, applying one or more criteria to an output of the load factor analyzing, based on the applying a criterion from the one or more criteria, determining how many actors should be included in a swarm of actors necessary to perform all of the connected jobs, spawning the swarm of actors, and load balancing the connected jobs across the swarm of actors.