Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor snapshotting #561

Merged
merged 1 commit into from
Feb 14, 2019
Merged

Conversation

dlorenc
Copy link
Collaborator

@dlorenc dlorenc commented Feb 14, 2019

We were writing an extra (large) filesystem snapshot to disk in a tarball at the start of each stage. We don't need the base FS saved as a tarball anywhere.

This refactors our snapshotting to separate creating a tar from deciding what to put in the tar, so we can skip writing it during the initial FS layer.

With this change: "Writing tar file": 2118800
Without: "Writing tar file": 1560463300

Copy link
Collaborator

@priyawadhwa priyawadhwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!!

@dlorenc dlorenc merged commit 8d78db4 into GoogleContainerTools:master Feb 14, 2019
@dlorenc dlorenc deleted the refsnap branch February 14, 2019 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants