Skip to content

Concurrent Mark and Sweep Garbage collector #4883

Open

Description

@ecdatadog

Description

The current implementation of the garbage collector is a sequential iteration over objects in the remote storage and so is very long when the registry is big and the majority of the time is consumed in network latency to fetch the objects .

Proposition : Do a concurrent mark and sweep logic to accelerate the garbage collection . From what I look, we can just create worker based on errgroup.

I am currently testing to validate if it is reliable and would like to see if it could be interesting for upstream

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions