Skip to content

First build image pushes are very slow, even though the registry already has the base layers #9284

Closed

Description

@sspeiche

As a new user create a new project and performs a build for the very first time, the initial image push time takes minutes but subsequent image pushes takes seconds. This doesn't make sense as the registry already has the base builder image, so we should streamline it so the client doesn't have to push it back.

Here are some samples:

  1. Existing user, deleted and created project sspeiche-test2
    Build times (base wildfly:10 + sample):
    1. 46 seconds
    2. 43 seconds
    3. 49 seconds
    4. 41 seconds
  2. Existing user, new project sspeiche-test3
    Build times (base wildfly:10 + sample):
    1. 4 minutes, 2 seconds
    2. 41 seconds
    3. 42 seconds
    4. 51 seconds
    5. 46 seconds
  3. Existing user, deleted and created project sspeiche-test3
    Build times (base wildfly:10 + sample):
    1. 48 seconds
    2. 49 seconds
    3. 45 seconds
    4. 43 seconds
Version

v3.2.0.44
Kubernetes Master:
v1.2.0-36-g4a3f9c5

Activity

  1. sspeiche commented on Jun 11, 2016

    @sspeiche
    ContributorAuthor

    /cc @smarterclayton @danmcp this is for the initial experience problem we talked about

  2. smarterclayton commented on Jun 11, 2016

    @smarterclayton
    Contributor

    @legionus @miminar I assume this is the link store on disk rejecting the link action on the initial pull. Which should be fixed with your distro upgrades. After that merges we should do a quick triage on this and see if there is a backportable fix.

  3. sspeiche commented on Jun 13, 2016

    @sspeiche
    ContributorAuthor
  4. smarterclayton commented on Jun 17, 2016

    @smarterclayton
    Contributor

    Beyond the change in the linkedBlobStore (which is the bulk of the issue), there may be further problems. Working with Jason I was seeing some long delays and other unexpected timeouts on push.

    Pullthrough #9394 issue is partially to blame, and think that we may have a a flake that is caused by us initializing the client libraries once per registry request that also sometimes fails (which I plan on fixing shortly). My worry is the there is another issue beyond this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions