Add A Howto Page About Concurrency in Python
Abierto
@ericsnowcurrently ya está trabajando en esto.
Desde el 19/8/2024.
docs
- Lenguaje dominante
- Python
- Estrellas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
It would help to have a place where the various approaches to concurrency in Python are explained and compared. It would be especially useful to enumerate the most common concurrency-oriented workloads and show how to implement them using the different concurrency models.
I expect we would cover the following concurrency models:
- threads (
threadingandconcurrent.futures) - multi-processing (
multiprocessingandconcurrent.futures) - async/await
- CSP/actor model (PEP 734
interpreters) - distributed (e.g. SMP/dask)
Other related resources:
- https://github.com/faster-cpython/ideas/wiki/Tables:-Workloads
- https://github.com/faster-cpython/ideas/wiki/All-About-Python-Benchmarking
- https://github.com/ericsnowcurrently/concurrency-benchmarks
Linked PRs
- gh-123163
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.
Evaluación
Este issue todavía no se ha evaluado.