How to increase the total number of processing threads in Portrait Dialogue

Product Feature: General Admin settings
How to increase the total number of processing threads in Portrait Dialogue
By default, the total number of threads processing/executing an operation is 16.
This may need to be changed due to performance issues to temporarily throttle operations so it does not overwhelm the available CPUs or back-end systems.
Alternately, it may need to be changed to speed up parallel processing of Dialogue operations. 

Ultimately, the reason will be determined by need, specific architecture, and performance requirements.

Here is how you change the maximum number of processing threads in Portrait Dialogue.
  • Open Windows registry(CMD/Regedit) 
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MillionHandshakes\6.1\DialogManagerService
  • Change the value of key MaxDialogTaskProcessingThreads to a number of you choice. Make sure you are entering in the Decimal checkbox in Base section.
  • After making the changes Restart the dialogue services (Services.msc) or restart the server if the change is not reflected in Dialogue Admin.
  • After making these changes in the registry, Task Monitor (within Dialogue Admin) may not show the new value for processing threads. It depends on the number of participants we are processing in that operation.
  • Do not set the thread count too high. The server processors may not be able to handle a large number of processing threads.
  • Set the MaxDialogTaskProcessingThreads value depending upon the number of server cores that are available on the server.
  • For 2 Core processor on the server, 40 is the maximum processing thread count that can be handled.
UPDATED:  September 7, 2017