Date post: | 22-Jul-2016 |
Category: |
Documents |
Upload: | wishtree-technologies |
View: | 217 times |
Download: | 2 times |
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
PERFORMANCE TUNING
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Factors Influencing Engine PerformanceCategory Examples
Hardware CPU, Memory, Disk resources
Java JVM & JVM Configuration
Engine Number of engines, number of threads, job creators, flow control, job pool, etc.
Job/Message Job size
Process Design User scripts, sub-processes, inline processes, checkpoints, logging activities
Other Software External software, like relational DB, other TIBCO software product
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Process Execution in BW Engine
Max Jobs Flow Limit Thread Count Step Count Activation Limit
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Max Jobs Determines the maximum number of process instances that can be
held in the memory at a time.
The number of process instances that can be created in memory is also limited by the memory available on the machine & memory allocated to JVM.
MemoryMax Jobs = 0
ProcessStarter
Saturated
Max Jobs = 1Max Jobs = 5
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Max Jobs Max Jobs is set in Edit Service Configuration dialog box under
Configuration tab.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Flow Limit
Process instances can be held either in memory or on disk.
Flow Limit limits the total (memory + disk) number of process instances that can be created.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Flow Limit Flow Limit is set in Edit Service Configuration dialog box
under Configuration tab.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Contains the jobs Ready for
execution
BusinessWorks Engine ProcessingJob Pool
(In Memory)
Thread Pool
Disk
ProcessStarter
Max Jobs = 4Flow Limit = 6
Dispatch Queue
Job ExecutionHigh
Priority
LowPriority
Job at the top has
High Priority
Job at the bottom has Low Priority
= Flow Limit – Max Jobs= 6-4= 2
ReadyReadyReady
Now in all 3 jobs have been executed!Flow Controlled
SuspendedThe engine resumes creating new process instances when process instances, approximately half the value specified for Flow Limit have executed.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Performance Tuning of the BW Engine • Using variables in XPath to reduce the scanning depth everytime
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Performance Tuning of the BW Engine • So how do we do that? We need to select the ‘+’ sign which is located in
the Activity Input side and near to the ‘X’ sign. Select the + sign as shown in the figure
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Performance Tuning of the BW Engine
• When we click the ‘+’ sign, the below screen appears.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Performance Tuning of the BW Engine • Select variable as Statement Type as shown below. Give
the appropriate variable name and press OK
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Performance Tuning of the BW Engine • In this case, we use two variables, var & var2 which should
be mapped to the destination & total order price. This is shown as below
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Performance Tuning of the BW Engine • Now use these variables in the XPath statement of shipping_costs.
This is shown as below.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor distributed to another third party.
Thank You• Contact Us: • Wishtree Technologies
Suite 311, Bldg B,Ganga Osian(GO) Square IT Park, Wakad Rd, Kaspate Wasti,Wakad, Pune, 411057
• Contact No. +912060123456• Email id:
[email protected]• US Contact No. +415-251-5098• UK Contact No. +44 7937436285• Mobile No. India +91
9687206535• Website:
http://www.wishtreetech.com