Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Manmohit Absent Member.
Absent Member.
1720 views

What is the significance of water_mark in ThreadPooling in Artix

Hi

What is the exact significance of below water_marks

thread_pool:high_water_mark = "25";

thread_pool:low_water_mark = "24";

thread_pool:initial_threads = "23";

and how to determinr that our C++ code is using these values for thread.

What happen if we change the value of these parameters.

Tags (1)
0 Likes
2 Replies
scott_kay Absent Member.
Absent Member.

RE: What is the significance of water_mark in ThreadPooling in Artix

Thread creation is relatively expensive in terms of compute cycles and therefore can account for increased delays in responding to client requests. So in order to minimize the delay associated with the thread creation a 'thread pool' is created and managed in Artix, and in almost all modern application server architectures.

Thread pool settings are available to tune the size and scalability of the thread pool based on your application requirements. The initial_threads setting is the number of threads that will be available to your application once the initialization of Artix is complete. Similarly, the low_water_mark is the minimum number of threads that you want to be available in the thread pool. And likewise the high_water_mark is the maximum number of threads you want in the pool, at which point incoming requests are queued up to the max_queue_size until a worker thread becomes available to execute the request.

This article talks more about configuration of these properties for JAX-RPC applications:

community.microfocus.com/.../22709.how-to-configure-thread-pools-in-artix-jax-rpcc.aspx

Cheers and best regards,

-Scott Kay

0 Likes
RolandS Absent Member.
Absent Member.

RE: What is the significance of water_mark in ThreadPooling in Artix

Fro further details please also see

- the "Artix 5.6.3 Configuration Reference, C++ Runtime", chapter "Multi-threading"

- the "Artix 5.6.3 Configuring and Deploying Artix Solutions, C++ Runtime", chapter "Artix Configuration"

The above documents are available below:

   supportline.microfocus.com/productdoc.aspx

by selecting

   Product family: CORBA Middleware

   Product: Artix

   Release: 5.6.3

and scroll down to the "Artix 5.6.3 C++" collection of documents.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.