+ All Categories
Home > Documents > PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

Date post: 22-Jul-2016
Category:
Upload: wishtree-technologies
View: 217 times
Download: 2 times
Share this document with a friend
Description:
Wishtree is one of the fastest growing companies in India providing Enterprise Learning Solutions. Our aim is to service the learning & development needs of your organization and serve as your reliable outsourcing partner. We are committed towards fulfilling your Capacity Building and Training requirements. Wishtree Learning draws experience from experts in the field and provides complete learning solutions, specifically designed for and across organizational hierarchies. The training outsourcing solutions that we provide are a suite of professional training processes that enable our clients to obtain quantifiable. Keeping in mind our clients’ varying resources, we provide “In class” as well as “virtual” training based on preferences and budget. 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.
15
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
Transcript
Page 1: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 2: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 3: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 4: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 5: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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.

Page 6: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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.

Page 7: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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.

Page 8: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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.

Page 9: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 10: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 11: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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.

Page 12: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 13: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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

Page 14: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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.

Page 15: PERFORMANCE TUNING | Business works | BUSINESSWORKS INTRODUCTION | COURSE CONTENT | WISHTREE TECHNO

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


Recommended