Modeling session states in microservices on cloud infrastructures
AssigneeHybris AG
InventorAhmad Hassan
Life of this patent
Estimating the term…
Abstract
Methods, systems, and computer-readable storage media for provisioning resources for microservice-based applications hosted in cloud infrastructures, implementations including actions of receiving event data from each of a plurality of microservices hosted in a cloud infrastructure, for each microservice, determining a load metric based on a probability distribution, comparing each load metric to one or more thresholds to effect respective comparisons, and selectively initiating provisioning of one or more instances of at least one microservice based on a respective comparison.
Claims20
A computer-implemented method for provisioning resources for microservice-based applications hosted in cloud infrastructures, the method being executed by one or more processors and comprising:
- receiving, by the one or more processors, event data from each of a plurality of microservices hosted in a cloud infrastructure;
- for each microservice, determining, by the one or more processors, a load metric based on a probability distribution provided as:
-
-
- (
- x
- )
- =
- ∑
- i
- =
- 1
- k
-
-
- a
- i
- (
- β
- i
- )
- α
- i
-
- (
- x
- )
- α
- i
- +
- 1
-
- e
- -
- Σ
- i
- =
- 1
- k
-
- (
- x
- β
- i
- )
- α
- i
- where αi is a shape parameter, βi is a scale parameter, x is the session time, and k is a number of microservices in the plurality of microservices;
- comparing, by the one or more processors, each load metric to one or more thresholds to effect respective comparisons;
- and
- selectively initiating, by the one or more processors, provisioning of one or more instances of at least one microservice based on a respective comparison.
A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for provisioning resources for microservice-based applications hosted in cloud infrastructures, the operations comprising:
- receiving event data from each of a plurality of microservices hosted in a cloud infrastructure;
- for each microservice, determining a load metric based on a probability distribution provided as:
-
-
- (
- x
- )
- =
- ∑
- i
- =
- 1
- k
-
-
- a
- i
- (
- β
- i
- )
- α
- i
-
- (
- x
- )
- α
- i
- +
- 1
-
- e
- -
- Σ
- i
- =
- 1
- k
-
- (
- x
- β
- i
- )
- α
- i
- where αi is a shape parameter, βi is a scale parameter, x is the session time, and k is a number of microservices in the plurality of microservices;
- comparing each load metric to one or more thresholds to effect respective comparisons;
- and
- selectively initiating provisioning of one or more instances of at least one microservice based on a respective comparison.
A system, comprising:
- a computing device;
- and
- a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for provisioning resources for microservice-based applications hosted in cloud infrastructures, the operations comprising:
- receiving event data from each of a plurality of microservices hosted in a cloud infrastructure;
- for each microservice, determining a load metric based on a probability distribution provided as:
-
-
- (
- x
- )
- =
- ∑
- i
- =
- 1
- k
-
-
- a
- i
- (
- β
- i
- )
- α
- i
-
- (
- x
- )
- α
- i
- +
- 1
-
- e
- -
- Σ
- i
- =
- 1
- k
-
- (
- x
- β
- i
- )
- α
- i
- where αi is a shape parameter, βi is a scale parameter, x is the session time, and k is a number of microservices in the plurality of microservices;
- comparing each load metric to one or more thresholds to effect respective comparisons;
- and
- selectively initiating provisioning of one or more instances of at least one microservice based on a respective comparison.
Dependencies are inferred from the claim text.