[V4] Simplify the set of controls around downloading artifacts

オープン
#7,728 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
python
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
641
フォーク
178
平均マージ
17時間 36分
マージ済み PR(30日)
76

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pulp/pulpcore のほかの issue

pulp/pulpcore の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。