27
Troy Burnett Vice President IWMS Solutions Mark Johnson Manager Development

TRI-1-Case Studies in Improving TRIRIGA Application Performance

Embed Size (px)

Citation preview

Page 1: TRI-1-Case Studies in Improving TRIRIGA Application Performance

Troy BurnettVice President IWMS Solutions

Mark JohnsonManager Development

Page 2: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Introductions

• About EDI

• Assessing TRIRIGA Application Performance

• Common Issues

• Case Studies

• Questions

Page 3: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Troy Burnett

– Over 20 years experience in enterprise software

implementations and technologies

– Eight years with TRIRIGA and IBM

– Four years with IBM Software Group ATG (SWAT Team)

• Mark Johnson

– Over Eight Years experience in enterprise software

implementations and technologies

– Six years with TRIRIGA, IBM, and Business Partners

– Two years with IBM Software Group ATG (SWAT Team)

Page 4: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Known within IBM as the ‘SWAT Team’

• Supported over 40 GBS and BP projects

• Worked on the front lines for SWG

– High priority defect resolution

– Business Partner enablement

– Performance issue resolution

Page 5: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Florida Corporation

• Founded 1999

• Privately Held

• 25% Growth in 2014

• HQ In St. Petersburg, FL

• Opening a Las Vegas Office

Page 6: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Advanced TRIRIGA expertise– Application

– Platform

• BIRT Report development

• Standard and specialized

training classes

• Enhancing TRIRIGA

Applications for verticals

• Level 3 support

• Maximo Integrations

Page 7: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• User Response Time

– Revising Activating Records

– Actions which initiate long running WF’s

• Large Volume Processing

– Data Migration

– Record processing

Page 8: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Poor workflow thread settings

• Use of workflow instance saving

• Use of iterator tasks for large data sets

• Keeping a process single threaded when it could

take advantage of multiple threads. (Synchronous vs

Asynchronous)

• Performing unnecessary formula recalculations

• Unnecessary retrieval of record sets already

retrieved previously.

Page 9: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Large implementation of TRIRIGA Facilities

• Over 22,000 Space records across 2,000 buildings

• Monthly Space Audit to capture chargeback data

Page 10: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• From a technical perspective, what is TRIRIGA

doing?

– Space Audit associates with selected Floor records.

– Activate action creates ‘Audit’ and ‘History’ records used for

reporting.

– Classic example of large volume record processing loop.

Page 11: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• What happened when testing began against real

data?

– First run ran for 8.5 hours

– Space Audit is a snapshot, so the system had to remain ‘quiet’

during process

– The process wouldn’t fit into a viable maintenance window

Page 12: TRI-1-Case Studies in Improving TRIRIGA Application Performance

Solution:

• Passed needed records from parent to child workflows

with variable tasks eliminating 90,695 duplicate record

retrieval database hits.

• Moved logic from synchronous workflows to

asynchronous workflows in order to take advantage of

multiple threads.

• Adjusted workflow threads from default settings to better

utilize underlying infrastructure.

Page 13: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Large implementation of TRIRIGA Real Estate Lease

• Over 5,000 leases to migrate through abstraction to

lease activation

• Approvals and Review Assumptions required before

lease activation

• Some leases have 30 year terms

Page 14: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• From a technical perspective, what is TRIRIGA

doing?

– Lease Abstract record ‘Completed’ to create RE Lease record

– RE Lease record generate ‘Review Assumptions’ to generate

amortization schedule

– Generation of Fiscal Line Items

Page 15: TRI-1-Case Studies in Improving TRIRIGA Application Performance
Page 16: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• What happened when testing began against real

data?

– Each lease was taking an average of 90 minutes to complete to

the Approval

– Project ‘Go Live’ was less than two months away

– 5,000 leases at 1.5 hours per lease…

Page 17: TRI-1-Case Studies in Improving TRIRIGA Application Performance

Solution:

• Combined two separate workflows that each iterated

through the Fiscal Line Item records to perform

separate calculations into a single workflow that

iterated the data set once.

• Removed the slow iterator task by converting the

now consolidated workflow to a recursive workflow.

• Removed unused or unnecessary workflow tasks.

Page 18: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Large implementation of TRIRIGA

• Recent major application upgrade

• Thousands of existing Service Agreements managed

• Users experienced slow performance on all features

of the form

– Clicking Revise on the Service Agreement caused a 26 second

wait before the form went to Revision in Progress

Page 19: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• From a technical perspective, what is TRIRIGA

doing?

– Revision Action triggering numerous slow performing

Workflows

– Calculating numerous formulas vis the execution of Tririga

Queries

Page 20: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• What happened when testing began against real

data?

– Form response was very slow

– Revision was taking 26 seconds on average

– End User complaints were rising

Page 21: TRI-1-Case Studies in Improving TRIRIGA Application Performance

Before…

Page 22: TRI-1-Case Studies in Improving TRIRIGA Application Performance

Solution…

• Required changes to the modify record tasks due to

the number recalculations of formulas

• Formulas recalculated included numerous ones with

Query Objects in the formula

Page 23: TRI-1-Case Studies in Improving TRIRIGA Application Performance

After…

Page 24: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Localize the high priority performance issues

• Defining all of the WF’s that execute in the process

– Run performance test suite

– Analysis includes timings of WF’s and Tasks

– Does Workflow logic makes sense

• Find the pain points

• Deeper level analysis of each Task’s impact

– Analysis includes WF logic improvement options

• Design and document proposed solution

Page 25: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Implement design and rerun performance test suite

– Validate performance improvement results

• Create Deployment Documentation

– Insures seamless and error free deployment within client’s

environments

• Survey Users for Performance Improvement

Validation

Page 26: TRI-1-Case Studies in Improving TRIRIGA Application Performance

• Enhanced Application Upgrades

– Expert Application Upgrade includes Performance Upgrade

• Application Health Check

– Review for naming standard compliance

– Deep review at meta data level for potential issues

– Monitor priority processes for performance improvement

• Application Performance Training

– Includes App Developer tools

Page 27: TRI-1-Case Studies in Improving TRIRIGA Application Performance