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

Implementation of parallel exchange requests #443

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

sjanel
Copy link
Owner

@sjanel sjanel commented Aug 10, 2023

std::execution::par do not provide guarantee of parallel calls.
Addition of a in-house made ThreadPool implementation to avoid creating / destroying threads during launch of requests, and use it in ExchangeOrchestrator class.

Maximum number of threads is configurable in generalconfig.json file. By default it is set to 1.

@sjanel sjanel added the enhancement New feature or request label Aug 10, 2023
@sjanel sjanel force-pushed the feature/parallel-exchange-requests branch 5 times, most recently from 05bf6b1 to e8e455e Compare August 11, 2023 15:56
@sjanel sjanel force-pushed the feature/parallel-exchange-requests branch from e8e455e to a5513aa Compare August 11, 2023 16:36
@sjanel sjanel merged commit 278af63 into main Aug 11, 2023
15 checks passed
@sjanel sjanel deleted the feature/parallel-exchange-requests branch August 11, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant