Content-aware node selection for container creation

US11762850B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11762850-B2
Application numberUS-202017093369-A
CountryUS
Kind codeB2
Filing dateNov 9, 2020
Priority dateNov 9, 2020
Publication dateSep 19, 2023
Grant dateSep 19, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A computer-implemented method according to one embodiment includes receiving a manifest for a container image of a container to be created; identifying a mapping index for a cluster of computing nodes; and selecting a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method, comprising: receiving a manifest for a container image of a container to be created; identifying a mapping index for a cluster of computing nodes; selecting a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index, wherein the computing node that is linked to the largest number of content identifiers within the manifest is selected to create the container; and creating the container in the selected computing node including running an application within the container on the selected computing node. 2. The computer-implemented method of claim 1 , wherein the manifest for the container image includes metadata describing a plurality of files within the container image, the metadata including a list of content identifiers and content-based addresses. 3. The computer-implemented method of claim 1 , wherein the mapping index stores content identifiers of all container image files currently stored within each node of the cluster of computing nodes, where the content identifiers for each container image file currently stored within a node of the cluster of computing nodes are linked to an identifier for the node. 4. The computer-implemented method of claim 1 , wherein the mapping index stores only a prefix of each content identifier of all container image files currently stored within each node of the cluster of computing nodes. 5. The computer-implemented method of claim 1 , wherein for each node identifier within the mapping index, a number of content identifiers within the manifest that are linked to the node identifier is determined. 6. The computer-implemented method of claim 1 , further comprising identifying a subset of node identifiers within the mapping index to compare to the manifest. 7. The computer-implemented method of claim 1 , further comprising identifying a subset of all content identifiers within the manifest to compare to the mapping index. 8. The computer-implemented method of claim 1 , further comprising updating the mapping index in response to a retrieval of a container image file and a storage of the container image file at a computing node of the cluster. 9. The computer-implemented method of claim 1 , further comprising updating the mapping index in response to a removal of a container image file from a computing node of the cluster. 10. The computer-implemented method of claim 1 , further comprising scheduling a creation of the container at the selected computing node. 11. The computer-implemented method of claim 10 , further comprising mounting a file system for the container at the selected computing node, utilizing the manifest. 12. The computer-implemented method of claim 11 , further comprising: identifying, by the file system mounted for the container, a request to access data within a container image of the container; and retrieving the data, utilizing a location of the data determined utilizing the manifest. 13. The computer-implemented method of claim 1 , wherein the selecting includes comparing only node identifiers for computing nodes that meet one or more additional resource requirements to the manifest, wherein the additional resource requirements include a requirement selected from the group consisting of: a minimal amount of available cache memory for the computing node, and a minimal amount of nonvolatile storage for the computing node. 14. A computer program product for performing content-aware node selection for container creation, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method comprising: receiving, by the processor, a manifest for a container image of a container to be created; identifying, by the processor, a mapping index for a cluster of computing nodes; and selecting, by the processor, a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index, wherein for each node identifier within the mapping index, a number of content identifiers within the manifest that are linked to the node identifier is determined. 15. The computer program product of claim 14 , wherein the manifest for the container image includes metadata describing a plurality of files within the container image, the metadata including a list of content identifiers and content-based addresses. 16. The computer program product of claim 14 , wherein the mapping index stores content identifiers of all container image files currently stored within each node of the cluster of computing nodes, where the content identifiers for each container image file currently stored within a node of the cluster of computing nodes are linked to an identifier for the node. 17. The computer program product of claim 14 , wherein the mapping index stores only a prefix of each content identifier of all container image files currently stored within each node of the cluster of computing nodes. 18. The computer program product of claim 14 , wherein a node that is linked to the largest number of content identifiers within the manifest is selected to create the container. 19. The computer program product of claim 14 , comprising program instructions for creating the container in the selected computing node including running an application within the container in the selected computing node. 20. A system, comprising: a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to: receive a manifest for a container image of a container to be created, wherein the manifest for the container image includes metadata describing a plurality of files within the container image, the metadata including a list of content identifiers and content-based addresses; identify a mapping index for a cluster of computing nodes, wherein the mapping index stores content identifiers of all container image files currently stored within each node of the cluster of computing nodes, where the content identifiers for each container image file currently stored within a node of the cluster of computing nodes are linked to an identifier for the node; select a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index, wherein the computing node that is linked to the largest number of content identifiers within the manifest is selected to create the container; and create the container in the selected computing node and run an application within the container in the selected computing node.

Assignees

Inventors

Classifications

  • Hypervisor-specific management and integration aspects · CPC title

  • G06F16/11Primary

    File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14) · CPC title

  • G06F16/245Primary

    Query processing · CPC title

  • Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455) · CPC title

  • Creating, deleting, cloning virtual machine instances · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11762850B2 cover?
A computer-implemented method according to one embodiment includes receiving a manifest for a container image of a container to be created; identifying a mapping index for a cluster of computing nodes; and selecting a computing node within the cluster of computing nodes to create the container, based on a comparison of the manifest to the mapping index.
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/45558. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 19 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).