Skip to content

Prioritize solver already based on requirements #2689

@harshad16

Description

@harshad16

Is your feature request related to a problem? Please describe.
Our current model executes the solvers for packages at the same time.When a new solver is included, it brings in a lot of solvers execution to be done, based on the number of packages yet to be solved, which creates a bottle neck for the old solver.

For example:
Lets say:

  • pypi has 1million packages.
  • Thoth-station has three solvers, for say:
    • ubi8-py38
    • f34-py39
    • f35-py310
      And each solver is already enabled for execution. Assuming that all the solver have solved up to 98% of packages.
      Now in this mix, if we include ubi9-py39, then it would fill up the pipelines as they are more package yet to be solved.
      The package-release-job, would still look for new packages to solved, however they would be in queue.
      The wait of each solver depends on one another.

If we have consumer requesting a specific solver, we only have the option to halt the rest by removing them from the mix
and wait for the specific solver be up-to-date.

The goal is to find a solution for solver prioritization.

Describe the solution you'd like
None as of now.

Describe alternatives you've considered
Halting other solvers for specific solver.

Additional context

/priority important-longterm
/sig devsecops

Acceptance criteria

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.sig/devsecopsCategorizes an issue or PR as relevant to SIG DevSecOps.

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions