Sunday, June 26, 2011

TIBCO BW Performance Tuning by JVM parameters

Every BusinessWorks engine runs in a Java Virtual Machine. As a result, the settings on the JVM influence the engine performance. Java provides below parameters to tune the memory usage and optimize engine performance.

i. HEAP SIZE:

Following parameter used to set the heap size in
bwengine.tra, designer.tra files for the engine:

Example:
tibco.env.HEAP_SIZE=256M

These values determine the amount of memory to be used by the engine.

ii. GARBAGE COLLECTION:

• The java object, such as a job, occupies memory from the time it is created to the time it is destroyed. Java provides garbage collection, an automated mechanism to clean up objects that still exist but are no longer used.

• To retrieve the garbage collection metrics for the BusinessWorks engine, specify the -verbose:gc option when starting the JVM used by the engine.

• You can set the Java memory parameters by using the java.extended.properties option in the bwengine.tra file.

For example, specify the following in the bwengine.tra to set the heap size to 512M and retrieve the garbage collection metrics for the engine.


java.extended.properties -Xms512m -Xmx512m -verbose:gc

Read more...

Sunday, June 12, 2011

What are the types of grouping or group actions in TIBCO BW?

Grouping Activities - Type of Group Actions in tibco bw.
  • None: Used for grouping without looping
  • Transaction Groups: Used to group activities that participate in a transaction. Eg. JDBC group activities
  • Iterate Loop: Used to iterate a group once for every item in a list
  • Repeat Until True Loop: Used to iterate a group until the specified condition is true
  • Repeat On Error Until True Loop: Used to iterate a group when an error occurs
  • If Groups: To conditionally execute business logic
  • While True Groups: Repeats the series of grouped activities as long as the given condition evaluates as true.
  • Critical Section: Used to synchronize process instances so that only one process instance executes the grouped activities at any given time.
  • Pick First: Allow process execution to wait for one or more events

Read more...

Popular Posts

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP