Skip to content

upgrade/switch: Support trickle-fetch #1375

Open

Description

@cgwalters

We should have explicit support for "trickle fetching" where we fetch as much as we can given a certain amount of bandwidth.

Related to this, it'd be good to document how to apply explicit bandwidth limits (via e.g. tc).

A simple way to do things today would be something like bootc upgrade --max-layers; that'd limit the number of newly fetched layers. Or we could have bootc upgrade --max-bytes 100M to fetch at most 100M of data (ignoring metadata overhead). Today at least with the default ostree-container backend we don't retain partially fetched layers, so that'd need to be done. Alternatively we could dig into whether c/storage supports all of this and build on unified storage.

Activity

  1. added
    enhancement
    area/client
    on Jun 16, 2025
  2. jlebon commented on Jul 17, 2026

    @jlebon
    Contributor

    Related to this, it'd be good to document how to apply explicit bandwidth limits (via e.g. tc).

    Yeah. They're obviously for different situations, but the I/O limiting one seems like the much likelier scenario? (And thus perhaps it shouldn't just be a doc thing, but instead have actual built-in support for it.)

    For data quota-based limiting, are you thinking about e.g. metered connections?

  3. cgwalters commented on Sep 3, 2026

    @cgwalters
    MemberAuthor

    Ideally podman would support this too, on the principle that anything bootc does around containers should align with general app containers.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clientenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions