30.01.2015 Views

Designing processes - EMC Community Network

Designing processes - EMC Community Network

Designing processes - EMC Community Network

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Designing</strong> the Process<br />

Performance and stability of executing automated<br />

workflow activities<br />

The Process Engine’s multi-threaded workflow allows concurrent execution of automated workflow<br />

activities. The workflow agent responds to Content Server notifications and can execute queries based<br />

on a polling interval to claim work for its worker threads to execute.<br />

There are only two ways the workflow worker threads can execute the work:<br />

• Notification: They get notified through shared memory inter-process communication (IPC).<br />

• Claim query: The workflow master runs the UPDATE query that claims available items for<br />

working and then distributes the work to workers.<br />

If the automated workflow activities are not executing on time or never at all, check for the following:<br />

• The claim query can take too long to execute.<br />

This can occur when the number of worker threads is increased to a high number (for example, 100)<br />

with the intent that more workers results in better performance. However, with this increase, the<br />

UPDATE query executes as a nested loop in the underlying RDBMS, pinning the RDBMS CPU.<br />

This dramatically increases the time that it takes to execute the claim query. Check the statspack for<br />

top queries and if the UPDATE on dmi_workitem_s is taking a long time, then it is a confirmation<br />

of the problem.<br />

• Content Server is configured for high availability.<br />

With a Content Server high availability configuration, confirm that a unique dm_server_config<br />

object is specified for each content server. If you have two workflow masters operating using the<br />

same serverconfig object, then workflow automated activities execution can fail. To fix this problem,<br />

ensure that each content server has a unique serverconfig object.<br />

• You are not using the no_op method from Process Builder 6.5 or later.<br />

In Process Builder 6.5, the default DocBasic no_op method to run the automated activities<br />

such as splits, joins, and data mappers was changed. If you are using an older version of<br />

dm_noop_auto_method, switch to the newer version of dm_noop_auto_method_java.<br />

Large SDTs and performance<br />

Creating large SDTs or adding many SDTs to a process degrades performance in TaskSpace task<br />

lists. Try to create SDTs based on logically related objects and consolidate attributes if it makes<br />

sense within the process.<br />

Deployment considerations<br />

• Migrating or upgrading Process Builder, page 61<br />

• Process versioning, page 61<br />

60 <strong>EMC</strong> Documentum xCelerated Composition Platform Version 1.6 Best Practices Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!