andywer / andywer/threads.js

Worker in a worker and other parallelization architecture examples

Open
#313 4 comments 0 reactions 0 assignees View on GitHub
documentation question
Dominant language
TypeScript
Stars
3.5k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

I am running service what launches its own master node worker and that master worker needs to launch other slave worker nodes.

I'm interested in seeing this use case example and other multi worker setups.

### In this particular implementation, I'm trying to create a pool of slave workers from within the master worker.

Running into webpack issues at the moment.

`Critical dependency: require function is used in a way in which dependencies cannot be statically extracted`

`Critical dependency: the request of a dependency is an expression`

`require.extensions is not supported by webpack. Use a loader instead.`

Any thoughts or comments?

I can post a minimal example to illustrate my initial appoach.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.