WAL restore starts a new process for every segment
メンテナーはふだん 3 日以内に返信
評価
調査の方向性
This is a design proposal, so settle the approach before writing code. Start with how barman-cloud-wal-restore launches per segment and how wal.maxParallel batches downloads, since those set the scope of the opt-in wal.persistentConnection client and the new wal.prefetch field. Done means maintainers agree on the allowed compression and encryption combinations and the prefetch semantics, not that a patch exists.
索引モデルが issue の本文から書いたものです。
説明
WAL restore through barman-cloud-wal-restore starts a new process for every segment. On an S3-compatible store, one gzip-compressed 16 MiB segment took about 1.53 s end to end, about 10.5 MB/s. A long-lived S3 client in the same process, still signing every request, took about 0.67 s for the same segment, about 24 MB/s.
The client would be opt-in (wal.persistentConnection) and limited to S3 with gzip or no compression. Encryption and restoreAdditionalCommandArgs would stay on barman-cloud-wal-restore. History files would stay on barman-cloud-wal-restore.
A second, related limitation is that wal.maxParallel downloads the requested segment and the following ones together, then waits for the whole batch before returning the requested segment. A separate field, wal.prefetch, is needed so the library can place a later segment into the spool without holding the requested one. The plugin would use that field in a follow-up change.
- 主要言語
- Go
- スター
- 11
- フォーク
- 30
- 平均マージ
- 3日 13時間
- マージ済み PR(30日)
- 16
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudnative-pg/barman-cloud のほかの issue
-
Dependency Dashboardオープン
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
cloudnative-pg/barman-cloud#5 ·
メンテナーはふだん 3 日以内に返信
cloudnative-pg/barman-cloud の issue をすべて見る
似ている issue
-
area: records fast-track-debt priority: normal
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
processor/genainormalizer
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
open-telemetry/opentelemetry-collector-contrib#52328 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
limitlessprojects/Go-Hybrid#1595 ·
メンテナーはふだん 1 日以内に返信
-
provider: hyper
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
charmbracelet/crush#4134 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
AvengeMedia/DankMaterialShell#3912 ·