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

Define inter-process communication #5

Open
jhpierce opened this issue Mar 28, 2022 · 0 comments
Open

Define inter-process communication #5

jhpierce opened this issue Mar 28, 2022 · 0 comments
Labels

Comments

@jhpierce
Copy link
Collaborator

jhpierce commented Mar 28, 2022

How should pre-process, process, and post-process communicate?

Overall, the process must leverage multithreading, since the nature of the work is primarily IO-bound - especially pre and post processing.. I'm picturing using python Queues to pass objects in between phases. Queues will enable us to define the level of parallelism at each layer, as well as max queue size, etc. We want this to be lightning fast locally.

What should the objects passed from Pre-Process to Process look like? And from Process to Post-Process? We'll probably want models representing the results of pre-processing, processing, and post-processing.

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

No branches or pull requests

1 participant