Presentation is loading. Please wait.

Presentation is loading. Please wait.

Activatio n limit. maximum number of process instances that can concurrently be loaded into memory.

Similar presentations


Presentation on theme: "Activatio n limit. maximum number of process instances that can concurrently be loaded into memory."— Presentation transcript:

1 activatio n limit

2 maximum number of process instances that can concurrently be loaded into memory

3 once a process instance is loaded, it must remain in memory until it completes

4 maximum number of concurrently running process instance to start before suspending the process starter

5 Flow Limit Demystified flow limit to your rescue

6 Flow Limit Demystified flow limit =1 FLOW_CONTROLLED

7 FLOW_CONTROLLED state When a process engine reaches the Flow Limit, it is placed in this state WHEN? The process engine can continue executing existing process instances, but new process instances are not allowed. WHAT?

8 Leaving FLOW_CONTROLLED state half A process engine leaves this state when the number of process instances completed is approximately half of the value specified for the Flow Limit

9 Specifics : HTTP Receiver

10 Recommended Usage

11 Max Jobs Demystified Max Jobs = 5 MEMORY DISK

12 Max Jobs Demystified

13 Activation Limit Demystified “It is useful if you wish to specify sequential processing of incoming events or if you want to enforce limited concurrent execution of process instances”

14 Effects of configurations Unlimited number of process instances can be created and can be concurrently loaded into the memory Use of Activation limit is ignored when Max Jobs is 0

15 Allows ‘n’ process instances to be created before placing process starter in flow controlled state No paging of process instances Use of Activation limit is ignored when Max Jobs is 0

16 Allows ‘n’ process instances to be created before placing process starter in flow controlled state One process instance is loaded into memory at a time and kept there until it completes its execution This guarantees incoming events are processed in the order in which they occur

17 There is no limit on the number of process instances that can be created One process instance is loaded into memory at a time and kept there until it completes its execution This guarantees incoming events are processed in the order in which they occur

18 Allows ‘n’ process instances to be created before placing process starter in flow controlled state One process instance is loaded into memory at a time Incoming events can be processed in any order as process instances are not kept in memory until they complete execution

19 There is no limit on the number of process instances that can be created ‘m’ process instances can be loaded into memory at a time and processed concurrently Ensures limited amount of concurrent processing. Useful when you have limited resources like database connections. Set ‘m’ to a small number, use activation limit. Each loaded process uses a resource until it completes. Once it completes, a new process is loaded and would use the same resource

20 Allows ‘n’ process instances to be created before placing process starter in flow controlled state ‘m’ process instances can be loaded into memory at a time and processed concurrently Ensures limited amount of concurrent processing. Useful when you have limited resources like database connections. Set ‘m’ to a small number, use activation limit. Each loaded process uses a resource until it completes. Once it completes, a new process is loaded and would use the same resource

21 There is no limit on the number of process instances that can be created ‘m’ process instances can be loaded into memory at a time and processed concurrently After ‘m’ process instances are created, new process instances are paged to disk. There is no guarantee of the order in which the process instances are executed

22 Allows ‘n’ process instances to be created before placing process starter in flow controlled state ‘m’ process instances can be loaded into memory at a time and processed concurrently After ‘m’ process instances are created, new process instances are paged to disk. There is no guarantee of the order in which the process instances are executed

23 ?


Download ppt "Activatio n limit. maximum number of process instances that can concurrently be loaded into memory."

Similar presentations


Ads by Google