Performance improvements after 2.0
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 58/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 671
- Forks
- 76
- Merge medio
- 17 h 55 min
- PR fusionados (30 d)
- 46
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de iterative/PyDrive2
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Test cleanups after the 2.0 fix PRsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
maintenance priority-p2 tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
iterative/PyDrive2#399 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
awaiting response priority-p1 triage
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
iterative/PyDrive2#412 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
feature request fs priority-p2
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
iterative/PyDrive2#236 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de iterative/PyDrive2
Issues similares
-
A JSON chat answer blocks the backend event loop for the whole RAG runPosiblemente ocupada @NopeCharon la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Los mantenedores suelen responder en 1 día
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPosiblemente ocupada @jejjohnson la tomó hoy. Abiertotype:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
jejjohnson/integrix#144 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
freelawproject/litigant-portal#1307 ·
Los mantenedores suelen responder en 2 días