IP Library Granted Patent US 11,451,615
Granted Patent B1
US 11,451,615 · App. 17/408,657 · Granted Sep 20, 2022

Probabilistic per-file images preloading

Inventor: Giuseppe Scrivano (Spezzano della Sila, IT)
Assignee: Red Hat, Inc.
H04L67/06G06F9/45558H04L67/02H04L67/1097G06F2009/45595
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,451,615
App. No.
17/408,657
Granted
Sep 20, 2022
Kind
B1
Abstract

A container image including multiple files is provided to multiple containers. First indications of a first set of files being used prior to a first set of containers reaching a ready state are received. Corresponding first values for each file of the multiple files in view of the first indications, wherein the corresponding first values are associated with a first probability that each file will be used prior to a new container reaching the ready state. Second indications of a second set of files being used after a second set of containers have reached the ready state are received. Corresponding second values are determined for each file of the multiple files in view of the second indications, wherein the corresponding second values are associated with a second probability that each file will be used before or after the new container reaches the ready state.

Claims (50)

1. A method comprising:

providing a container image comprising a plurality of files to a plurality of containers;

receiving, from a first set of containers of the plurality of containers, first indications of a first set of files of the plurality of files being used prior to the first set of containers reaching a ready state;

determining, by a processing device, corresponding first values for each file of the plurality of files in view of the first indications, wherein the corresponding first values are associated with a first probability that each file will be used prior to a new container reaching the ready state;

receiving, from a second set of containers the plurality of containers, second indications of a second set of files of the plurality of files being used after the second set of containers have reached the ready state;

determining corresponding second values for each file of the plurality of files in view of the second indications, wherein the corresponding second values are associated with a second probability that each file will be used before or after the new container reaches the ready state;

receiving, from a host system, a request for one or more files of the plurality of files of the container image, the request comprising a threshold value associated with one of the corresponding first values;

identifying the one or more files of the plurality of files having the corresponding first values that satisfy the threshold value; and

providing the one or more files to the host system.

2. The method of claim 1 , wherein the corresponding first values and the corresponding second values for each of the plurality of files are stored as metadata associated with each of the plurality of files.

3. The method of claim 1 , further comprising:

receiving, from the host system, a subsequent request for a particular file of the plurality of files;

halting the providing of the one or more files to the host system;

providing the particular file to the host system; and

resuming the providing of the one or more files to the host system.

4. The method of claim 1 , wherein the one or more files are to be used by a container supported by the host system.

5. The method of claim 1 , wherein the corresponding first values are used to identify the one or more files to be used by a container executing a service and wherein the corresponding second values are used to identify the one or more files to be used by a container executing a job.

6. The method of claim 1 , further comprising:

receiving, from the host system, a request for one or more files of the plurality of files of the container image, the request comprising a threshold value associated with a combination of the corresponding first values and the corresponding second values.

7. A system comprising:

a memory; and

a processing device, operatively coupled to the memory, to:

provide a container image comprising a plurality of files to a plurality of containers;

receive, from a first set of containers of the plurality of containers, first indications of a first set of files of the plurality of files being used prior to the first set of containers reaching a ready state;

determine corresponding first values for each file of the plurality of files in view of the first indications, wherein the corresponding first values are associated with a first probability that each file will be used prior to a new container reaching the ready state;

receive, from a second set of containers the plurality of containers, second indications of a second set of files of the plurality of files being used after the second set of containers have reached the ready state;

determine corresponding second values for each file of the plurality of files in view of the second indications, wherein the corresponding second values are associated with a second probability that each file will be used before or after the new container reaches the ready state;

receive, from a host system, a request for one or more files of the plurality of files of the container image, the request comprising a threshold value associated with one of the corresponding first values;

identify the one or more files of the plurality of files having the corresponding first values that satisfy the threshold value; and

provide the one or more files to the host system.

8. The system of claim 7 , wherein the corresponding first values and the corresponding second values for each of the plurality of files are stored as metadata associated with each of the plurality of files.

9. The system of claim 7 , wherein the processing device is further to:

receive, from the host system, a subsequent request for a particular file of the plurality of files;

halt the providing of the one or more files to the host system;

provide the particular file to the host system; and

resume the providing of the one or more files to the host system.

10. The system of claim 7 , wherein the one or more files are to be used by a container supported by the host system.

11. The system of claim 7 , wherein the corresponding first values are used to identify the one or more files to be used by a container executing a service and wherein the corresponding second values are used to identify the one or more files to be used by a container executing a job.

12. The system of claim 7 , wherein the processing device is further to:

receive, from the host system, a request for one or more files of the plurality of files of the container image, the request comprising a threshold value associated with a combination of the corresponding first values and the corresponding second values.

13. A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:

provide a container image comprising a plurality of files to a plurality of containers;

receive, from a first set of containers of the plurality of containers, first indications of a first set of files of the plurality of files being used prior to the first set of containers reaching a ready state;

determine, by the processing device, corresponding first values for each file of the plurality of files in view of the first indications, wherein the corresponding first values are associated with a first probability that each file will be used prior to a new container reaching the ready state;

receive, from a second set of containers the plurality of containers, second indications of a second set of files of the plurality of files being used after the second set of containers have reached the ready state;

determine corresponding second values for each file of the plurality of files in view of the second indications, wherein the corresponding second values are associated with a second probability that each file will be used before or after the new container reaches the ready state;

receive, from a host system, a request for one or more files of the plurality of files of the container image, the request comprising a threshold value associated with one of the corresponding first values;

identify the one or more files of the plurality of files having the corresponding first values that satisfy the threshold value; and

provide the one or more files to the host system.

14. The non-transitory computer-readable storage medium of claim 13 , wherein the corresponding first values and the corresponding second values for each of the plurality of files are stored as metadata associated with each of the plurality of files.

Assignments (2)
CHANGE OF NAME Recorded Mar 3, 2026
From: RED HAT, INC.
To: RED HAT, LLC
Reel/Frame 074913/0759 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 23, 2021
From: SCRIVANO, GIUSEPPE
To: RED HAT, INC.
Reel/Frame 057253/0305 →