IBM Business Process Manager V8.5 Performance Tuning and Best Practices
Total Page:16
File Type:pdf, Size:1020Kb
Front cover IBM® WebSphere® IBM Business Process Manager V8.5 Performance Tuning and Best Practices Learn valuable tips for tuning Get the latest recommendations See example settings Mike Collins Zi Hui Duan Andreas Fried Ben Hoflich Chris Richardson Torsten Wilms ibm.com/redbooks International Technical Support Organization IBM Business Process Manager V8.5 Performance Tuning and Best Practices February 2015 SG24-8216-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (February 2015) This edition applies to Version 8.5.5 of IBM Business Process Manager and Version 8.5.5 of IBM Business Monitor. © Copyright International Business Machines Corporation 2015. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x IBM Redbooks promotions . xi Preface . xiii Authors . xiv Now you can become a published author, too! . xvii Comments welcome. xvii Stay connected to IBM Redbooks . xvii Chapter 1. Overview . 1 1.1 Products covered in this publication . 2 1.2 Publication structure . 3 Chapter 2. Architecture best practices . 5 2.1 Top tuning and deployment guidelines . 6 2.2 Modeling and developing applications . 8 2.2.1 Common best practices . 9 2.2.2 Process Designer architecture best practices. 9 2.2.3 Integration Designer best practices. 13 2.3 Topology . 16 2.3.1 Deploy appropriate hardware . 17 2.3.2 Deploy local modules in the same server . 18 2.3.3 Best practices for Deployment Environments . 18 2.3.4 Evaluate service providers and external interfaces. 19 2.4 Client environments. 21 2.4.1 Optimize the topology . 21 2.4.2 Use a high-performing browser. 23 2.4.3 Enable browser caching . 23 2.4.4 Physical location of servers. 23 2.4.5 Use modern desktop hardware . 23 2.5 Large business objects . 24 2.5.1 Factors affecting large business object size processing . 24 2.5.2 Large object design patterns. 25 2.5.3 Data management. 26 2.6 Use 64-bit JVMs . 27 2.7 Business Monitor. 27 2.7.1 Event processing. 27 © Copyright IBM Corp. 2015. All rights reserved. iii 2.7.2 Dashboard. 28 2.7.3 Database server . 28 2.7.4 Topology . 28 Chapter 3. Development best practices . 29 3.1 BPMN business process authoring best practices . 30 3.1.1 Clear variables in exposed human services . 30 3.1.2 Do not use multi-instance loops in system lane or batch activities . 31 3.1.3 Use conditional joins only when necessary. 32 3.1.4 Follow guidelines for error handling . 32 3.1.5 Use sequential system lane activities efficiently . 33 3.1.6 Ensure the Process Center is properly tuned and managed . 34 3.1.7 Use fast connection for Process Designer and Process Center . 34 3.1.8 Prevent WSDL validation from causing slow web service integration . 35 3.2 Case authoring best practices. 35 3.2.1 Use required and automatically started case activities . 36 3.2.2 Use case folder properties . 36 3.3 Integration Designer best practices. 36 3.3.1 Use share-by-reference libraries where possible . 36 3.3.2 Ensure content in Toolkits is needed for multiple applications . 37 3.3.3 Advanced Content Deployment considerations . 37 3.3.4 Business object parsing mode considerations . 39 3.3.5 Service Component Architecture considerations . 47 3.3.6 Business Process Execution Language business process considerations. 48 3.3.7 Human task considerations. 49 3.3.8 Business process and human tasks client considerations . 50 3.3.9 Transactional considerations . 51 3.3.10 Invocation style considerations . 53 3.3.11 Large object considerations . 56 3.3.12 Mediation Flow Component considerations . 57 3.4 Browser environment considerations . 59 3.5 WebSphere InterChange Server migration considerations . 60 Chapter 4. Performance tuning and configuration. 63 4.1 Tuning checklist. 64 4.2 Common tuning parameters . 66 4.2.1 Tracing and logging flags . 66 4.2.2 Java memory management tuning parameters. 67 4.2.3 Message-driven bean ActivationSpec. 68 4.2.4 Process Engine navigation thread pools. 69 4.2.5 Java Message Service connection pool sizes. 69 iv IBM Business Process Manager V8.5 Performance Tuning and Best Practices 4.2.6 Java Database Connectivity data source parameters. 70 4.2.7 Tuning the Virtual Member Manager LDAP cache . 71 4.2.8 Messaging engine properties . 73 4.2.9 Run production servers in production mode . 73 4.3 Process Portal tuning and usage . 73 4.3.1 Use a high-performing browser. 74 4.3.2 Enable browser caching . 74 4.3.3 Locate the Process Portal physically close to the Process Server . 74 4.3.4 Use the WORK tab to refresh the Task List . 74 4.3.5 Use modern desktop hardware . 74 4.3.6 Disable or uninstall add-ins or extensions. 75 4.3.7 Process Portal Dashboard . 75 4.4 Business Processing Modeling Notation business process tuning . 76 4.4.1 How to Change Configuration Settings for BPMN Processing . 76 4.4.2 Tune the Event Manager. 76 4.4.3 Tune Participant Groups . 80 4.4.4 Use fast disk subsystem for recovery logs and Lucene Task Search indexes . 81 4.4.5 Remove unnecessary snapshots from the Process Server . 81 4.4.6 Disable notifications and automatic task list refreshes if they are not required. 81 4.4.7 Tune cache parameters . 83 4.5 Process Center tuning. 84 4.6 Advanced tuning . 85 4.6.1 Trace and monitor considerations. 85 4.6.2 Tune for large objects . 86 4.6.3 Tune for maximum concurrency . 86 4.6.4 Clustered topology tuning . ..