Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a WorkerChain class #13

Open
mathemaphysics opened this issue Feb 4, 2022 · 0 comments
Open

Create a WorkerChain class #13

mathemaphysics opened this issue Feb 4, 2022 · 0 comments

Comments

@mathemaphysics
Copy link
Owner

Just at the Worker class level we can create a series of worker that process data in steps just like a program. This is a pipeline with an adjustable width. It's workers run just like a program with the exception that their data can be relocated anywhere and consumed by another Worker or series of workers. The output of the previous Worker is the input to the next Worker in the chain.

The natural generalization of this WorkerChain class is a WorkerGraph. A single Worker can process data and send the results to any one of multiple other kinds of workers, depending on what was discovered in the message. This is the eventual goal of the concept. Such graphs of Workers are natural granular generalizations of a computer program with the exception that operations are always transferable to another worker without shared memory as a requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant