developit / developit/workerize

Feature: worker pooling

Abierto
#27 2 comentarios 4 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
4.4k
Forks
87
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hello,

It would be great if I could create a pool of workers. That way, parallelizing hot paths could be completely abstracted using `workerize`.

Considerations:
* To implement worker pooling, a worker may have to know when another worker is busy, so it can handle take over handling new requests until becomes busy itself
* Since workers independently manage memory, they would all have to run the same code, and there would have to be a way to run a function on all workers simultaneously in order to share state

It will be interesting to see what we will need to do for this. Would you accept a PR?

Thanks for considering!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

The issue names no files, tests, or entry points, so begin by locating workerize's worker creation and request-dispatch code. Define how workers report busy state, take over requests, and run a function across all workers; done requires a documented, working worker pool with those semantics.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
frontend, web-dev
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
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.