Performance improvements after 2.0
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 58/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Python
- Estrelas
- 671
- Forks
- 76
- Merge médio
- 17h 55min
- PRs com merge (30d)
- 46
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de iterative/PyDrive2
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
Test cleanups after the 2.0 fix PRsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
maintenance priority-p2 tests
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
iterative/PyDrive2#399 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
awaiting response priority-p1 triage
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
iterative/PyDrive2#412 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
feature request fs priority-p2
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
iterative/PyDrive2#236 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de iterative/PyDrive2
Issues semelhantes
-
A JSON chat answer blocks the backend event loop for the whole RAG runTalvez já em andamento @NopeCharon assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Mantenedores costumam responder em até 1 dia
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorTalvez já em andamento @jejjohnson assumiu hoje. Abertatype:bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
jejjohnson/integrix#144 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
freelawproject/litigant-portal#1307 ·
Mantenedores costumam responder em até 2 dias