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

BF-Streams: Multiprocessing and pipelining #1120

Open
2 tasks
detlefarend opened this issue Dec 27, 2024 · 0 comments
Open
2 tasks

BF-Streams: Multiprocessing and pipelining #1120

detlefarend opened this issue Dec 27, 2024 · 0 comments
Assignees
Labels
BF Basic Functions/Infrastructure enhancement New feature or request

Comments

@detlefarend
Copy link
Member

Description/Motivation
Multiprocessing and pipelining shall be introduced into the stream processing.

a) Multiprocessing and plotting
This is already supported in dark mode (without visualization). Since Matplotlib supports multiprocessing via one process per figure, multiprocessing can be enabled for stream processing with visualization as well. There is a challenge in detail: shared figures.

b) Pipelining
Enhancement a) makes no sense without pipelining. Currently, a new instance is processed in sequence by all tasks of a workflow before the next instance is induced. A real parallelism is reached by inducing subsequent instances to a task whenever it has processed the current one. A new mechanism is needed that enabled asynchronous processing of the "finished" event.

Both measures in combination introduce real parallelism into the stream processing promising significant performance improvements with and without visualization.

Task list

  • 1. Do this
  • 2. Do that

Related issues
#...

Cross references
...

@detlefarend detlefarend added BF Basic Functions/Infrastructure enhancement New feature or request next release labels Dec 27, 2024
@detlefarend detlefarend self-assigned this Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BF Basic Functions/Infrastructure enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant