andywer / andywer/ideabox

Beyond threads.js: Node.js cloud workers

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

説明

A distributed cluster of worker nodes, either hosted by the user or by an IaaS offering. Dispatch jobs to it as if it was a local threads.js worker pool.

Cluster is identified by a discovery endpoint URL. The discovery endpoint is either provided by the user or by the aforementioned IaaS provider. Workers use some kind of secret key / token to authenticate and join cluster.

Cluster users (usually backend services) can use the discovery endpoint to find worker nodes and authenticate using cluster credentials to manage jobs or query stats.

A cluster dashboard would of course be great.

## Benefits
- Super easy to use: You need a small SDK package, a cluster discovery URL and an authentication token to schedule jobs using the super-convenient threads.js API
- Super easy to set up if there is an IaaS offering

## TBD
- Provide docker images that allow using labelled docker containers as workers?
- Provide docker images that allow super easy dynamic deployment á la zeit.co's now?
- Three ways to use it (?)
- Use IaaS
- Host everything yourself
- Use discovery endpoint and dashboard by IaaS provider, but host workers yourself

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

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

評価

この issue はまだ評価されていません。

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

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