# US 2019/0173940 A1 · Dynamic deployment of an application based on micro-services

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0173940 A1
- Document ID: US20190173940A1
- Status: Published application
- Kind: A1
- Application number: 16/266,184
- Filed: 2019-02-04
- Published: 2019-06-06
- Earliest claimed: 2017-05-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Antonio Bagarolo; Antonio Di Cocco; Claudio Marinelli; Luigi Pichetti
- Web page: https://patentgrep.com/patent/US20190173940A1

## CPC

- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 8/60: Software deployment
- G06F 11/302: {where the computing system component is a software system}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 41/0897: by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 43/08: Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L 43/0829: Packet loss
- H04L 43/087: Jitter
- H04L 43/20: the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/1036: Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 43/16: Threshold monitoring
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for determining a deployment configuration of multiple micro services that interact with each other is provided. The method includes the steps of determining a metric describing an amount of communication traffic between at least two of the micro services. Based on the metric, an execution environment may be determined for at least one of the micro services. Deployment information specifying that the at least one micro service shall be deployed on the determined execution environment may be generated.

## Claims

### Claim 1

A method comprising:
determining one or more pairs of plurality of micro services whose metric is higher than a predefined threshold;
grouping the one or more pairs into at least one group;
assigning each group of the at least one group to a respective execution environment, and each of a non-grouped micro services to a respective execution environment; and
deploying one or more new micro services on the execution environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the metric comprises executing the at least two micro services, analyzing log data generated by the plurality of micro services and calculating the metric based on the analyzing.

### Claim 3 (depends on 1)

The method of claim 1, wherein the metric describes an amount of communication traffic between at least two of the plurality of micro services

### Claim 4 (depends on 1)

The method of claim 1, wherein the execution environment is further determined based on an amount of available communication resources for data exchange between candidate execution environments on which the plurality of micro services could be deployed.

### Claim 5 (depends on 1)

The method of claim 1, wherein the execution environment is selected from the group consisting of: a computing node, a virtual machine instantiated on a computing node, a software container instantiated on a computing node, a cluster of multiple computing nodes, and a data center.

### Claim 6 (depends on 1)

The method of claim 1, further comprising modifying the deployment of an already instantiated micro service based on the deployment information, the modifying including migrating the already instantiated micro service from an original execution environment, on which the already instantiated micro service is currently finning, to a target execution environment specified by the deployment information.

### Claim 7 (depends on 1)

The method of claim 1, wherein the plurality of micro services interact with each other through a network, further wherein the metric is selected from the group consisting of: a network bandwidth capability, a network congestion, a delay, a delay jitter, and a loss rate.

### Claim 8

A computer program product, comprising a computer readable hardware storage device storing a computer readable program code, the computer readable program code comprising an algorithm that when executed by a computer processor of a computing system implements a method comprising:
determining one or more pairs of plurality of micro services whose metric is higher than a predefined threshold;
grouping the one or more pairs into at least one group;
assigning each group of the at least one group to a respective execution environment, and each of a non-grouped micro services to a respective execution environment; and
deploying one or more new micro services on the execution environment.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining the metric comprises executing the at least two micro services, analyzing log data generated by the plurality of micro services and calculating the metric based on the analyzing.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the metric describes an amount of communication traffic between at least two of the plurality of micro services

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein the execution environment is further determined based on an amount of available communication resources for data exchange between candidate execution environments on which the plurality of micro services could be deployed.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein the execution environment is selected from the group consisting of: a computing node, a virtual machine instantiated on a computing node, a software container instantiated on a computing node, a cluster of multiple computing nodes, and a data center.

### Claim 13 (depends on 9)

The computer program product of claim 9, further comprising modifying the deployment of an already instantiated micro service based on the deployment information, the modifying including migrating the already instantiated micro service from an original execution environment, on which the already instantiated micro service is currently running, to a target execution environment specified by the deployment information.

### Claim 14 (depends on 9)

The computer program product of claim 9, wherein the plurality of micro services interact with each other through a network, further wherein the metric is selected from the group consisting of: a network bandwidth capability, a network congestion, a delay, a delay jitter, and a loss rate.

### Claim 15

A computer system comprising:
a processor;
a memory device coupled to the processor; and
a computer readable storage device coupled to the processor,herein the storage device contains program code executable by the processor via the memory device to implement a method for determining a deployment configuration of a plurality of micro services that interact with each other, the method comprising:
determining one or more pairs of plurality of micro services whose metric is higher than a predefined threshold;
grouping the one or more pairs into at least one group;
assigning each group of the at least one group to a respective execution environment, and each of a non-grouped micro services to a respective execution environment; and
deploying one or more new micro services on the execution environment.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein determining the metric comprises executing the at least two micro services, analyzing log data generated by the plurality of micro services and calculating the metric based on the analyzing.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the metric describes an amount of communication traffic between at least two of the plurality of micro services

### Claim 18 (depends on 15)

The computer system of claim 15, wherein the execution environment is further determined based on an amount of available communication resources for data exchange between candidate execution environments on which the plurality of micro services could be deployed.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein the execution environment is selected from the group consisting of: a computing node, a virtual machine instantiated on a computing node, a software container instantiated on a computing node, a cluster of multiple computing nodes, and a data center.

### Claim 20 (depends on 15)

The computer system of claim 15, further comprising modifying the deployment of an already instantiated micro service based on the deployment information, the modifying including migrating the already instantiated micro service from an original execution environment, on which the already instantiated micro service is currently running, to a target execution environment specified by the deployment information.
