Skip to content

DOC-6604 - thread pools #2298

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

Open
wants to merge 10 commits into
base: release/platform/4.13
Choose a base branch
from

Conversation

paulmoloneyr3
Copy link
Contributor

No description provided.

@paulmoloneyr3 paulmoloneyr3 requested a review from a team as a code owner April 30, 2025 10:10
@paulmoloneyr3 paulmoloneyr3 requested a review from vlajos May 8, 2025 10:37
@paulmoloneyr3 paulmoloneyr3 requested a review from vlajos May 8, 2025 12:42

- `additionalFlowThreadPools`

* The default Corda configuration creates a single thread pool whose size is configured by the *[flowThreadPoolSize]({{< relref "#enterpriseconfiguration" >}})* parameter. You can define *multiple* thread pools and assign flows to them; for example, to prioritize particular flows and to segregate them from other flows.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* The default Corda configuration creates a single thread pool whose size is configured by the *[flowThreadPoolSize]({{< relref "#enterpriseconfiguration" >}})* parameter. You can define *multiple* thread pools and assign flows to them; for example, to prioritize particular flows and to segregate them from other flows.
* The default Corda Enterprise configuration creates a single flow thread pool whose size is configured by the *[flowThreadPoolSize]({{< relref "#enterpriseconfiguration" >}})* parameter. You can define *multiple* thread pools and assign flows to them; for example, to prioritize particular flows and to segregate them from other flows.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the flowThreadPoolSize option's block probably needs to be updated to reflect that it influences only the default thread pool's size.

And the sum of the sizes of all thread pools sets the upper limit for the maximum number of flows executable in parallel.

So, for example, this first section got slightly outdated:

The number of threads available to handle flows in parallel...

Maybe the last two sections could be moved to the new thread pools page?
And this configuration section could use a link to that page, too.

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

Successfully merging this pull request may close these issues.

3 participants