Concept of Max Job, Flow Limit and Activation Limit

  • Max Jobs — Specifies the maximum number of process instances that can concurrently be loaded into memory.
  • Activation Limit — Specifies that once a process instance is loaded, it must remain in memory until it completes.
  • Flow Limit — Specifies the maximum number of currently running process instance to start before suspending the process starter.
  • The Max Jobs field in the Process Configurations dialog allows you to specify the maximum number of concurrent process instances that can be stored in memory. For example, if you set Max Jobs to 5, the process engine can only keep five process instances in memory. Any process instances created once the maximum is reached must be paged out to disk.
  • Specifying a value for Max Jobs causes the process engine to incur some overhead for managing the paging of process instances to and from disk. If you have sufficient system resources and do not expect incoming events to exceed the limits of your system, consider specifying Max Jobs as 0. This allows the process engine to create an unbounded number of process instances and eliminates the overhead of paging.
Keeping Services in Memory
The Use Activation Limit field specifies that once a process instance is loaded into memory, it should not be paged out to disk until it completes. This option is useful if you wish to specify sequential processing of incoming events, or if you want to enforce limited concurrent execution of process instances.
The Max Jobs and Use Activation Limit options work together to provide different concurrency limits. The Flow Limit field also affects the concurrency limit.
Below table shows the various results of setting these variables :
PICture

Leave a Reply

Your email address will not be published. Required fields are marked *

Main Menu