ThreadCount (bw.engine.threadcount)

The threadCount property specifies the number of threads that the ActiveMatrix BusinessWorks engine allocates .The default value of engine threads is eight.

The jobs in memory are executed by the engine. The number of jobs that can be executed concurrently by the engine is limited to the maximum number of threads, indicated by this property. This property specifies the size of the job thread pool, and is applied to all the AppNodes in the AppSpace if set at the AppSpace level

Threads execute a finite number of tasks or activities uninterrupted and then yield to the next job that is ready. The thread count can be tuned to the optimum value by starting with a default value of eight threads and then doubling it up until maximum CPU is reached.

The CPU and memory resources should be measured under a typical processing load to determine if the default threadCount value is suitable for the environment. Please refer the below formats to set threadcount value on different container platforms:This value can be set either in the AppNode config.ini file or from the Admin UI as shown below.
  • Property = bw.engine.threadCount
  • Parameter location in the Admin UI = AppNodes > Select AppNode > Configure > General
  • Default Value = 8