Performance improvements after 2.0
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 58/100
調査の方向性
Read GoogleDriveFile.Upload() and the filesystem retry path affected by #443. Compare the current upload flow with Drive’s resumable upload session guide, focusing on retaining the session and querying its received byte offset after a connection failure. Done means retries resume from that offset while retaining the pre-generated file ID; the issue gives a 256 MiB offline measurement for comparison.
索引モデルが issue の本文から書いたものです。
説明
Performance work deliberately left out of the 2.0 release. Each item works correctly today; it only costs more time, traffic or requests than it needs to.
Resume an interrupted upload instead of starting it again
Since #443 the filesystem repeats an upload whose connection fails, and a pre-generated file ID makes the repeat safe (no duplicate file). The repeat starts from the first byte, though:
fs.put_file("model.bin", "root/models/model.bin") # 256 MiB
If the connection drops after 240 MiB, the filesystem sends the whole 256 MiB again, 496 MiB in total. Up to three repeats can send the file four times.
Drive keeps a resumable upload session after a dropped connection. The client can ask the session how many bytes Drive has received (an empty PUT with Content-Range: bytes */<size>) and continue from that offset (Drive guide). That needs the upload in GoogleDriveFile.Upload() to keep its session between chunks and expose the offset, and the filesystem retry to resume that session instead of calling Upload() again. The pre-generated ID stays, for a final answer that is lost.
Measured offline: a 256 MiB upload whose connection drops at 240 MiB sends 496 MiB across two sessions.
🤖 Generated with Claude Code
- 主要言語
- Python
- スター
- 671
- フォーク
- 76
- 平均マージ
- 17時間 55分
- マージ済み PR(30日)
- 46
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
iterative/PyDrive2 のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Test cleanups after the 2.0 fix PRs対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
maintenance priority-p2 tests
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
iterative/PyDrive2#399 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
awaiting response priority-p1 triage
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
iterative/PyDrive2#412 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feature request fs priority-p2
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
iterative/PyDrive2#236 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
iterative/PyDrive2 の issue をすべて見る
似ている issue
-
A JSON chat answer blocks the backend event loop for the whole RAG run対応中かも @NopeCharon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
The-OpenROAD-Project/ORAssistant#656 ·
メンテナーはふだん 1 日以内に返信
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionError対応中かも @jejjohnson が今日担当しました。 オープンtype:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
jejjohnson/integrix#144 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
finos/ai-governance-framework#459 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
freelawproject/litigant-portal#1307 ·
メンテナーはふだん 2 日以内に返信