Tachyon Oracle
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
Feature or enhancement
Proposal:
The big question is: how we can ensure that Tachyon is trustworthy?
In particular: the profiler reports some frames, effectively: some distribution of gathered samples. How do we know if they actually match reality? How well do they match reality?
Do we even report the distribution of samples that's similar to how the actual app behaves? Do we report impossible frames?
These are not theoretical questions, as demonstrated by #151426, #151613 or #151022.
Especially in the non-blocking mode we don't have fully atomic reads. If we use too many remote calls, traverse the frames, coro or task-waiters in an inefficient way, or invalidate the cache incorrectly - there's a room for introducing the noise (bias? drift? whatever the name).
Unfortunately, the CI is not the right tool for the job, given that we should avoid flaky tests at all costs and the statistical nature of Tachyon means that we cannot aim for 100% perfection. Even in the blocking mode, we simply cannot guarantee that we block the target ideally.
With the pipeline of changes happening the Tachyon, I think we should introduce some "harness" for this purpose.
This was discussed offline with @pablogsal
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
- gh-153806
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.
Línea de trabajo
Comienza revisando el contexto de Tachyon en las issues #151426, #151613 y #151022; después, inspecciona el trabajo vinculado gh-153806. La propuesta no especifica archivos, tests ni un punto de entrada; se consideraría terminado definir un harness que evalúe si las distribuciones de muestras y los frames reportados coinciden con el comportamiento observado de la aplicación, incluido el ruido del non-blocking-mode.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- devtools, observability, performance
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 15/100