Thread pools
Thread pools (TP) automate activities (including sleep) by threads in that pool. Each thread in a pool controls a separate automatic activity. Thread pools can also be associated with synchronous maps.
TotalAgility provides the following thread pools out of the box.
-
Default Thread Pool
-
Default Transformation Server Thread Pool
-
Knowledge Base Thread Pool
Default Thread Pool: This thread pool is available for non-capture automatic activities. It contains 16 threads, which means that TotalAgility can execute 16 automatic activities simultaneously. Additional activities queue up on the thread pool queue (TPQ) and execute on a first-come, first-served basis.
Default Transformation Server Thread Pool: This thread pool is available for Capture automatic activities. It enables you to assign specific Transformation Server instances to process different jobs, allowing you to dedicate certain instances to high-priority tasks.
Knowledge Base Thread Pool: This thread pool is automatically assigned to a newly created "Add to Knowledge Base" activity. It contains 32 threads. As this activity can take a while to execute when adding a large document, the Knowledge Base Thread Pool prevents this activity from interfering with the performance of other types of activities.
You cannot modify the name or delete the default thread pools; however, you can change their other settings.
You can create multiple thread pools. Multiple thread pools offer the following advantages:
Once thread pools are created, you can use these thread pools in a process.
Only on-premise TotalAgility supports thread pools; TotalAgility running in on-premise multi-tenant or Azure environments does not support them.
How to: Add a thread pool