developit / developit/workerize

Feature: worker pooling

オープン
#27 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
4.4k
フォーク
87
PR マージ指標
30日以内にマージされた PR はありません

説明

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!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
frontend, web-dev
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。