[V4] Simplify the set of controls around downloading artifacts

Aperta
#7,728 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by auditing MAX_CONCURRENT_CONTENT, Remote.download_concurrency, Remote.rate_limit, SYNC_MAX_IN_FLIGHT_ITEMS, SYNC_MAX_IN_FLIGHT_MB, and the download-stage batch size. Read the linked pull request discussion for context and trace where each control is applied. Done means the overlapping controls have a simpler, agreed design with their responsibilities clearly defined.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Feature

Is your feature request related to a problem? Please describe.

There exist many different controls around content downloading that all accomplish very similar, but not exactly the same things.

MAX_CONCURRENT_CONTENT
download_concurrency (on Remote)
rate_limit (on Remote)
SYNC_MAX_IN_FLIGHT_ITEMS and SYNC_MAX_IN_FLIGHT_MB (recently added)
Batch size of the download stage

Having all of these knobs is confusing and makes the code much more complicated than it needs to be.
We should audit all the different ways in which these overlap and try to simplify if we can.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
derived from this conversation: https://github.com/pulp/pulpcore/pull/7649#discussion_r3209269413

Lingua principale
Python
Stelle
641
Fork
178
Merge medio
17h 36m
PR unite (30g)
76

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pulp/pulpcore

Tutte le issue di pulp/pulpcore

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.