+ All Categories
Home > Documents > Activatio n limit. maximum number of process instances that can concurrently be loaded into memory.

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

Date post: 19-Jan-2016
Category:
Upload: philippa-eaton
View: 215 times
Download: 0 times
Share this document with a friend
23
limit P ROCESS C ONFIGURATIONS IN T IBCO B USINESSWORKS MAX activati on limit
Transcript
Page 1: Activatio n limit. maximum number of process instances that can concurrently be loaded into memory.

l i m i t

P R O C E S S

C O N F I G U R AT I O N SI N

T I B C O B U S I N E S S W O R K S

M A X

a c t i v a t io n

l i m i t

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

m a x i m u m n u m b e r o f p r o c e s s i n s t a n c e s t h a t c a n c o n c u r r e n t l y b e l o a d e d i n t o

m e m o r y

M A X J O B S

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

A C T I V A T I O N L I M I T

o n c e a p r o c e s s i n s t a n c e i s l o a d e d , i t m u s t r e m a i n i n m e m o r y u n t i l i t

c o m p l e t e s

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

F L O W L I M I T

m a x i m u m n u m b e r o f c o n c u r r e n t l y r u n n i n g p r o c e s s i n s t a n c e t o s t a r t

b e f o r e s u s p e n d i n g t h e p r o c e s s s t a r t e r

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

Flow Limit Demystified

SYSTEM

fl o w l i m i t t o y o u r r e s c u e

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

Flow Limit Demystified

SYSTEM

fl o w l i m i t = 1

FLOW_CONTROLLED

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

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?

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

Leaving FLOW_CONTROLLED state

A process engine leaves this state when the number of

process instances completed is approximately half of the value specified

for the Flow Limit

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

Specifics : HTTP Receiver

“When Flow Limit is set on a process containing

this starter, the maximum number of incoming requests is limited to

FLOWL IM IT -1”

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

Recommended Usage

“Use minProcessors and maxProcessors to control the flow of

incoming HTTP requests instead of using the Flow

Limit property”

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

Max Jobs Demystified

Max Jobs = 5

MEMORY

DISK

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

Max Jobs Demystified“If you have sufficient system resources and do not expect

incoming events to exceed the limits of your system, specify

Max Jobs as 0 which allows the engine to create an unbounded

number of process instances and eliminates the overhead of

paging”

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

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”

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

Effects of configurations

Max Jobs Use Activation Limit 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

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

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

No paging of process instances

Use of Activation limit is ignored when Max Jobs is 0

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

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 timeand kept there until it completes its execution

This guarantees incoming events are processed in the order in which they occur

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

Effects of configurations

Max Jobs Use Activation Limit Flow Limit

There is no limit on the number of process instances that can be created

One process instance is loaded into memory at a timeand kept there until it completes its execution

This guarantees incoming events are processed in the order in which they occur

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

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

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

Effects of configurations

Max Jobs Use Activation Limit Flow Limit

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

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

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

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

Effects of configurations

Max Jobs Use Activation Limit Flow Limit

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

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

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

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

?


Recommended