Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Optimum thread count for WSRetry job

Arushi_Sharma
New Contributor
New Contributor

Hi

We have a use case where we want to increase the thread count for multithreaded WSRetry job. I can see in the properties file that the default setting is for 5.

Can you suggest upto what number we can increase the number of threads against the total number of jobs running.

5 REPLIES 5

Srinivas
Saviynt Employee
Saviynt Employee

Hi Srinivas,

Thanks for the above but I wanted to know if there is an optimum count which will ensure that other job threads are not impacted.

Srinivas
Saviynt Employee
Saviynt Employee

Hello @Arushi_Sharma

Since wsthread count is dependent on a lot of things, it is not easy to say and would probably depend on your environment.

What is the number of average tasks created on each provisioning run ? How frequently do they run ?

How many tasks are created during the peak time of the day ?

How are your user/account imports scheduled, how much is the time taken for these imports ? Do they run concurrently with the provisioning ? etc

Let's say if you have org.quartz.threadPool.threadCount=20 and WSRETRY Thread Count in UI as 20 and WSRetry job is running and has spawned 20 threads and they are all under execution:

  1. At the same time if a user import job is triggered, it will wait for one of the threads consumed by WSRETRY to complete
  2. At the same time if an account import job is triggered, it will wait for one of the threads consumed by WSRETRY to complete

You will have to factor in these considerations when you set your values.

Hope this helps!

Thanks & Regards

Srinivas

What can be the maximum value of org.quartz.threadPool.threadCount?40?

You can set to 40 but as per best practices set by saviynt it should be max 20.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.