Closed
Solved
Agent(Standard or Advanced) Process Each record in different Thread or in same Thread
When Agent(Standard or Advanced) Processing some thousands of records will it Process each record in new thread or in same thread.
Hi,
Below explanation provides the running of the Agents irrespective of Agent type.
Once PegaRULES has been started and the agent activities have been enabled, the activity tasks must be run at their stated intervals.
Each agent activity started by the Master Agent is run in its own separate thread for processing, but when the agent wakes up, it queues the activity in a batch requestor that runs in a thread pool (of size specified in prconfig.xml threadpoolsize) from which these threads are obtained. This means that no more than the number of threadpoolsize agent activities will run concurrently, irrespective of the wakeup intervals on the queue.
Some agents (such as external lookup agents) may take more time to run their task (15 to 20 seconds) than other agents (.1 second). Threads for these different queues run concurrently.
Thanks,
Supraja