Question
Societe Generale
IN
Last activity: 9 May 2017 11:16 EDT
Agents parallel processing
Hi Team, We have a requirement to enable one standard agent on multiple nodes to achieve parallel run and improve performance for case creation and also we have a requirement to make the process sequential if updates are for same case, that needs to be processed sequential in the order we received. Currently we are running agent in only one node which is causing the delay in case creation. Any suggestions to handle this without much of customization to the existing code.
***Moderator Edit: Vidyaranjan | Updated Categories***
Hiw many nodes are there in your application? As it is standard agent hence you should be able to go to each node in SMA and enable the same agent. Then this agent will run in more than one nodes parallelly and improve performance. For same case, the processing will be sequential because of the mechanism standard agents follow. Standard agent does not start executing the activity right away. Rather it first looks for an item in the queue, once an item(The Case) is found in queue, it will own the lock and start processing. Hence I believe, for your application also, one case will be queued once only for the same agent. Hence the same agent will not try to process the same case twice. If, there are two different agents, trying to access the same case, then definitely the second agent will fail to get the lock of the case as it is locked by another agent and it will go back to the queue.