slow repeated publishing due to Contents Indexes generation
@neolynx がすでに取り組んでいます。
2025年5月1日 から。
評価
この issue はまだ評価されていません。
説明
We use aptly v1.6.1.
We have debian packages that contain thousends of files >30'000 files per package. We have a repo that has dozens of those packages.
When using aptly publish update or aptly publish switch aptly generates the Contents Indexes. Which is the mapping of all the files in a debian package to the debian package name.
According to this issue https://github.com/aptly-dev/aptly/issues/599 there should be some kind of caching mechanism in place. Such that already indexed packages are not indexed again. But this doesn't seem to work, as repeated publishing without any changes to the repo takes always about 6min on a 4-core AWS machine. Now, if we use -skip-contents it speeds up the publishing to about 700ms. Which means it must be the Contents Indexes generation.
My question is, does the caching really work, or did I misunderstand somthing about the caching described in https://github.com/aptly-dev/aptly/issues/599? Could it be that the caching is broken? Or at least broken for debian packages with >30'000 files?
We publish to local storage (not S3).
We also have "normal" repos with thouseds of "normal" debian packages, where the packages do not have so many files. And for those repos the publishing is within seconds.
- 主要言語
- Go
- スター
- 2.9k
- フォーク
- 436
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aptly-dev/aptly のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
aptly-dev/aptly の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
superplanehq/superplane#9007 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
yetone/magpie#3905 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信