Skip to content

Discovery of Concurrent with ProcessPools - #90

Open
BenCarter44 wants to merge 3 commits into
radical-cybertools:mainfrom
BenCarter44:feature/concurrent-processpool
Open

Discovery of Concurrent with ProcessPools#90
BenCarter44 wants to merge 3 commits into
radical-cybertools:mainfrom
BenCarter44:feature/concurrent-processpool

Conversation

@BenCarter44

@BenCarter44 BenCarter44 commented Aug 27, 2026

Copy link
Copy Markdown

Right now, when referencing the ConcurrentExecutionBackend by the "concurrent" tag, it defaults to use the ThreadPoolExecutor, as the constructor to the ConcurrentExecutionBackend is initialized as empty.

This PR allows for a user to use concurrent:process_pool as a tag which automatically fills in the ConcurrentExecutionBackend with a ProcessPoolExecutor.

Reasoning: Well, ThreadPoolExecutor has limited performance when running cpu-intensive tasks. ProcessPoolExecutor allows the user to take advantage of multiple cores for cpu-intensive tasks. This is used specifically in the digital twin use cases where we can't / shouldn't run Dragon on different devices (eg. a Raspberry Pi).

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

Successfully merging this pull request may close these issues.

1 participant