Improve performance of transcode&prepare tasks
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Empieza localizando las implementaciones de las tareas de transcode y prepare y el bucle actual de un segmento cada vez. Mide el throughput existente y luego investiga los límites de concurrencia de Go y cómo podría afectar el trabajo paralelo a broadcasters, orchestrators y Bs. Se considera terminado cuando el transcoding es más rápido sin reducir la fiabilidad de la infraestructura, pero no se especifica el valor de paralelismo aceptable.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
These tasks are unreasonably slow right now, probably because they transcode 1 segment at a time and our transcoding latency is not so much better than realtime (for a 4k video, I transcoded 10 minutes in 8 minutes).
We can improve this by parallelizing the transcoding process. This can be done easily by using go's concurrency abstractions. The only more complex part here is defining how much we're parallelizing without affecting the reliability of the transcoding infrastructure like the broadcaster, orchestrators, etc. The Bs might try to use the same O concurrently, which may not work well if we parallelize it in 5x or sth like that.
So the implementation here could be easy if it is just transcoding N segments at once or something like that, but picking the right value for N can be a complex task.
- Lenguaje dominante
- Go
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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 livepeer/task-runner
-
Out of bounds panics when processing catalyst callback messagesQuizá libre de nuevo @gioelecerati la tomó hace 1353 días y no hay ningún pull request abierto. Abierto
livepeer/task-runner#136 · 1 asignado ·
-
"error processing ffprobe output: no video track found in file" for audio only inputQuizá libre de nuevo @red-0ne la tomó hace 1381 días y no hay ningún pull request abierto. Abierto
livepeer/task-runner#121 · 1 asignado ·
-
catalyst task lost (last update 1m58.390845005s ago) after retrying for an Acceleration faultQuizá libre de nuevo @thomshutt la tomó hace 1402 días y no hay ningún pull request abierto. Abierto
livepeer/task-runner#115 · 3 comentarios · 1 asignado ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
livepeer/task-runner#108 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
livepeer/task-runner#105 ·
Todos los issues de livepeer/task-runner
Issues similares
-
goose sub-agent runs are never indexed: blame finds no session for any file a `delegate` child wroteAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
wakatime/wakatime-cli#1649 ·
Los mantenedores suelen responder en 1 día
-
PathBuffer.Pop corrupts later error locations when a key contains "." or "["Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
danielgtaylor/huma#1135 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
stacklok/toolhive-catalog#1734 ·
Los mantenedores suelen responder en 1 día
-
Docs: how to get more careful answers (Effort, reasoning models, Reasoning level, Deliberate)Abiertodocumentation priority:p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yeixio/toskar-core#697 ·
Los mantenedores suelen responder en 1 día