InterviewSolution
| 1. |
What Is The Critical Section In Tibco Business Works And What Is It Used For? |
|
Answer» Critical section is used to sync process instances so that only once process instance executes the grouped activities at any given time. Any concurrently running process instances that contain a corresponding critical section group wait until the process instance that is CURRENTLY executing the critical section group completes. Particularly used for controlling access to shared variables. Critical section is one of the group actions. Others are iterating, repeat until true, repeat on error until true, while true, pick FIRST and transaction. If we select critical section as the group, then we get two options. Single group and multiple groups. Single Group If you wish to synchronize process instances for a single process definition in a single process engine (only one ear(instance) is deployed), perform the following:
Multiple Groups: If you wish to synchronize process instances for multiple process definitions, or if you wish to synchronize process instances across multiple process engines, perform the following:
Critical section is used to sync process instances so that only once process instance executes the grouped activities at any given time. Any concurrently running process instances that contain a corresponding critical section group wait until the process instance that is currently executing the critical section group completes. Particularly used for controlling access to shared variables. Critical section is one of the group actions. Others are iterating, repeat until true, repeat on error until true, while true, pick first and transaction. If we select critical section as the group, then we get two options. Single group and multiple groups. Single Group If you wish to synchronize process instances for a single process definition in a single process engine (only one ear(instance) is deployed), perform the following: Multiple Groups: If you wish to synchronize process instances for multiple process definitions, or if you wish to synchronize process instances across multiple process engines, perform the following: |
|