Maintaining Background Processes Overview

Each new background processes require the creation of two new classes: a BatchJob and a ThreadWorker. These classes fit into the master-worker pattern used by the background process runtime infrastructure to overcome the throughput limitations encountered by single-threaded processes. By splitting work among many concurrent threads, often on multiple physical nodes, background processes can achieve excellent scalability and react to changing work demands without additional programming. In this pattern:

Diagram showing the relation between the Batch job, the thread work units, and the thread workers.