Self-optimizing container image filesystem
AssigneeSnowflake Inc.
InventorsDavid B. Bailey, Benoit Dageville, Egor Derevenetc, Mihir Sathe
Life of this patent
Estimating the term…
Abstract
A data platform is provided that builds a container image filesystem from a container image. The data platform executes an application that accesses the container image filesystem and the data platform records directory and file access activity of the container image filesystem by the application during execution. The data platform dynamically rebuilds the container image filesystem using the directory and file access activity, and mounts the container image filesystem as rebuilt during a subsequent execution of the application.
Claims20
A machine-implemented method comprising:
- building a container image filesystem from a container image;
- executing an application that accesses the container image filesystem;
- recording directory and file access activity of the container image filesystem by the application during execution;
- dynamically rebuilding the container image filesystem using the directory and file access activity resulting in a rebuilt container image filesystem, the rebuilding comprising:
- generating a new version of a metadata Binary Large Object (blob) and one or more content blobs, the one or more content blobs comprising one or more file segments;
- and
- coalescing accessed file segments of the one or more file segments into a reduced number of content blobs;
- and
- mounting the rebuilt container image filesystem during a subsequent execution of the application.
A system comprising:
- at least one processor;
- and
- at least one memory storing instructions that, when executed by the at least one processor, cause the system to perform operations comprising:
- building a container image filesystem from a container image;
- executing an application that accesses the container image filesystem;
- recording directory and file access activity of the container image filesystem by the application during execution;
- dynamically rebuilding the container image filesystem using the directory and file access activity resulting in a rebuilt container image filesystem, the rebuilding comprising:
- generating a new version of a metadata Binary Large Object (blob) and one or more content blobs, the one or more content blobs comprising one or more file segments;
- and
- coalescing accessed file segments of the one or more file segments into a reduced number of content blobs;
- and
- mounting the rebuilt container image filesystem during a subsequent execution of the application.
A machine-storage medium storing instructions that, when executed by one or more processors of a system, cause the system to perform operations comprising:
- building a container image filesystem from a container image;
- executing an application that accesses the container image filesystem;
- recording directory and file access activity of the container image filesystem by the application during execution;
- dynamically rebuilding the container image filesystem using the directory and file access activity resulting in a rebuilt container image filesystem, the rebuilding comprising:
- generating a new version of a metadata Binary Large Object (blob) and one or more content blobs, the one or more content blobs comprising one or more file segments;
- and
- coalescing accessed file segments of the one or more file segments into a reduced number of content blobs;
- and
- mounting the rebuilt container image filesystem during a subsequent execution of the application.
Dependencies are inferred from the claim text.