Optimize Performance of the Payroll Background Process

The payroll background process is a daemon process that runs continuously to handle periodic requests for processing. It’s used to submit processes such as the QuickPay for Anytime Pay process and Event Action Notifications.

Enable automatic multi-threading for the payroll background process to enhance performance of the submitted payroll processes and run multiple processes concurrently.

Use the Payroll Process Configuration task under Payroll to search for the delivered Pay Daemon Group process configuration group. Edit and enable the Pay Daemon Group configuration group to optimize the performance of the payroll background process by automatically identifying and assigning the correct number of threads to the process. The payroll background process can then execute large number of processing requests and handle multiple processes concurrently. For example, multiple runs of QuickPay for Anytime Pay can be processed concurrently.

Use the Maximum Number of Threads action parameter to enable automatic multi-threading for the payroll background process. This parameter indicates the maximum, total number of sub-processes dynamically created for a process. Perform these steps to enable the Pay Daemon Group.
  1. On the Payroll Process Configuration page search for the default group and under Parameter Name search for the Maximum Number of Threads parameter and note the value.
  2. Search for the delivered Pay Daemon Group and click Add under Parameter Name. Search for the Maximum Number of Threads parameter and enter an Overide Value.

    Set this parameter to approximately 10% of the Maximum Number of Threads on your default group for the process.

    For example, if the Maximum Number of Threads action parameter is set to 30 on the default group, set it to 3 on the Pay Daemon Group process configuration group.

    Note:

When you don't enter a value for the Maximum Number of Threads action parameter, the payroll background process runs using a single thread process.

The process sets the threads depending on the number of processing requests or pay daemon actions in the queue at a given time. A new thread is submitted for each 5,000 processes in the queue for the payroll background process until the Maximum Number of Threads is reached.

Enable Logging

Use the Pay Daemon Group process configuration group to control other parameters for the payroll background process, such as logging. If you want the processes running on the daemon to generate a log output, enable logging in the Pay Daemon Group.

Note: It’s recommended that you enable logging on the Pay Daemon Group process configuration group and not on the default group for the process.