Back to results
US 9,959,104 B2Granted
Dependency-based container deployment
AssigneeInternational Business Machines Corporation
InventorsXiao Long Chen, David L. Kaminsky, Xi Ning Wang, Zhe Yan, Zheng Zhao
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention relate to a method, device and computer program product for container deployment. By comparing the target libraries required by a target container to be deployed and the libraries that have been loaded on the candidate hosts, the costs of deploying the target container on the candidate hosts can be estimated. Then a target host is selected from among the plurality of candidate hosts based on the determined costs.
Claims14
A computer-implemented method comprising:
- obtaining first information indicating a set of target libraries utilized by a target container to be deployed;
- determining a plurality of candidate hosts, wherein the plurality of candidate hosts:
- (i) utilize the same operating system as the target container to be deployed, and (ii) include at least one deployed container that utilizes at least one library in common with the set of libraries utilized by the target container to be deployed;
- obtaining second information indicating a set of libraries that have been loaded for the at least one container deployed on the plurality of candidate hosts;
- determining a cost of deploying the target container on the plurality of candidate hosts based, at least in part, on the first information and the second information;
- selecting a target host from the plurality of candidate hosts based on the cost for deploying the target container wherein:
- the target container is a first container;
- and
- the target host is a first host selected from among the plurality of candidate hosts;
- and further comprising:
- deploying the first container to the first host;
- deploying a second container to a second host selected from the plurality of candidate hosts, the second container being associated with the first container, the second host being different from the first host;
- and
- deploying a bridge component operable to communicate data between the first container and the second container.
11 more elements
Dependencies are inferred from the claim text.