Professional Documents
Culture Documents
Process
Process
Process
activation limit
MAX JOBS
maximum number of process instances that can concurrently be loaded into memory
ACTIVATION LIMIT
FLOW LIMIT
maximum number of concurrently running process instance to start before suspending the process starter
FLOW_CONTROLLED state
WHEN?
When a process engine reaches the Flow Limit, it is placed in this state
The process engine can continue executing existing process instances, but new process instances are not allowed.
WHAT?
A process engine leaves this state when the number of process instances completed is approximately half of the value specified for the Flow Limit
When Flow Limit is set on a process containing this starter, the maximum number of incoming requests is limited to
Recommended Usage
and to control the flow of incoming HTTP requests instead of using the Flow Limit property
Use
DISK
MEMORY
Effects of configurations
Max Jobs
Flow Limit
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
Effects of configurations
Max Jobs
Flow Limit
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
Effects of configurations
Max Jobs
Use Activation Limit
Flow Limit
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
Effects of configurations
Max Jobs
Use Activation Limit
Flow Limit
Effects of configurations
Max Jobs
Use Activation Limit
Flow Limit
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
Effects of configurations
Max Jobs
Use Activation Limit
Flow Limit
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
Effects of configurations
Max Jobs
Use Activation Limit
Flow Limit
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
Effects of configurations
Max Jobs
Use Activation Limit
Flow Limit
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
Effects of configurations
Max Jobs
Use Activation Limit
Flow Limit
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