Job Tuning Properties
Job tuning is done at the application level. Tuning can be narrowed to a specific application version, and a specific component within the application. Job tuning is set by the Flow Limit, and Priority application properties. When setting these properties, specify the application name. The application version and component name are optional. If the version or component name is not specified, then the property value applies to all versions or components in the application.
Refer to Setting and Overriding BusinessWorks Engine Properties for details on steps to set the properties.
Flow Limit (bw.application.job.flowlimit)
The bw.application.job.flowlimit property specifies the flow limit value for an application's process starters or service bindings. Flow limit is useful when the engine needs to be throttled as it specifies the maximum number of jobs that can be started before suspending the process starter. Thus ensuring that the incoming requests do not overwhelm the engine performance and the CPU and memory is preserved. If the number of jobs being created exceeds the bw.application.job.flowlimit, the engine suspends the creation of new jobs but continues executing the jobs in memory. The engine resumes creating new jobs when sufficient resources are available. There is no default bw.application.job.flowlimit value and it is not enforced by the engine unless the bw.application.job.flowlimit property is specified for an application.
Format:
bw.application.job.flowlimit.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=8
The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the FlowLimit value applies to all the components in the application.
Priority (bw.application.job.priority)
The Priority property specifies the application job's priority. The option for this property is one of low, normal, or high. The default value is normal. Engine threads process lower priority jobs only when higher priority jobs are all blocked from continuing. Lower priority jobs are not preempted while in execution.
Format:
bw.application.job.priority.<UsersBWApplicationName>[.<UsersBWApplicationVersion>][.<UsersBWComponentName>]=normal
The application name must be included in the property. The application version and component name are optional. If the component name is not specified, the FlowLimit value applies to all the components in the application.