methodology of enterprise application capacity planning by real life examples

31
<Insert Picture Here> Methodology of enterprise applications capacity planning by real life examples Leonid Grinshpan, Ph.D. Consulting Technical Director, Oracle Corporation Share to Facebook Share to LinkedIn Share toTwitter Share to SlideShare

Upload: leonid-grinshpan-phd

Post on 25-May-2015

1.529 views

Category:

Documents


0 download

DESCRIPTION

This presentation contains real life examples of enterprise applications capacity planning methodology described in details in author’s book: “Solving Enterprise Applications Performance Puzzles: Queuing Models to the Rescue”

TRANSCRIPT

Page 1: Methodology of enterprise application capacity planning by real life examples

<Insert Picture Here>

Methodology of enterprise applications capacity

planning by real life examples

Leonid Grinshpan, Ph.D.

Consulting Technical Director, Oracle Corporation

Share to Facebook

Share to LinkedIn

Share toTwitter

Share to SlideShare

Page 2: Methodology of enterprise application capacity planning by real life examples

The views expressed in this

presentation are author’s own and

do not reflect the views of the

companies he had worked for neither

Oracle Corporation.

All brands and trademarks mentioned

are the property of their owners.

The presentation is based on

2

The presentation is based on

author’s book

“Solving Enterprise Applications

Performance Puzzles: Queuing

Models to the Rescue”

(available in bookstores and from Web

booksellers from March 2012)

http://www.amazon.com/Solving-

Enterprise-Applications-Performance-

Puzzles/dp/1118061578/ref=sr_1_1?ie=

UTF8&qid=1326134402&sr=8-1

Page 3: Methodology of enterprise application capacity planning by real life examples

Presentation’s goal

Learning by examples is the fastest way to master enterprise

applications capacity planning methodology

This presentation contains real life examples of enterprise applications

capacity planning methodology described in details in author’s book:

“Solving Enterprise Applications Performance Puzzles:

3

“Solving Enterprise Applications Performance Puzzles:

Queuing Models to the Rescue”

(available in bookstores and from Web booksellers from March 2012)

http://www.amazon.com/Solving-Enterprise-Applications-Performance-

Puzzles/dp/1118061578/ref=sr_1_1?ie=UTF8&qid=1326134402&sr=8-1

Page 4: Methodology of enterprise application capacity planning by real life examples

Input data for capacity planning

1. Workload characterization

� List of business transactions

� Number of users per each business transaction

� Per each transaction an anticipated number of transactions per user

per hour (transaction rate).

� Per each transaction its response time expected by the application

users.

4

Example of workload characterization

Page 5: Methodology of enterprise application capacity planning by real life examples

Input data for capacity planning

2. Hosting platform

� Hardware architecture (connections

among servers and numbers

of servers on each tier)

5

Example of hardware architecture

� Distribution of application’s software components among servers

(software components hosted by each server)

� Specification of each server (number of cores and CPUs, clock

speed, RAM size etc)

� Operating system (Windows, LINUX, etc)

Page 6: Methodology of enterprise application capacity planning by real life examples

Input data for capacity planning

3. Transactions profiles

� Profile of each business transaction

Transaction profile is comprised of the time intervals a transaction has spent in

system servers it has visited when application was serving only single request

Example of transactions profiles

6

Page 7: Methodology of enterprise application capacity planning by real life examples

Input data for capacity planning

4. What-if scenarios

Each modeling estimate is generated for a specified set of input data that includes:

– Workload.

– Profile of each transaction.

– Hardware architecture, specification of servers (number of servers, number of

CPUs on each server, server types).

– Distribution (hosting) of application’s components among servers.

7

Changing any of the above represents new what-if scenario.

Page 8: Methodology of enterprise application capacity planning by real life examples

Mapping system into model

System

8

System’s model

Page 9: Methodology of enterprise application capacity planning by real life examples

Solving model

�Author usesTeamQuest software to solve models http://teamquest.com/

� It is possible to solve models using open source software packages. One

of them is Java Modeling Tools (JMT); it is developed by Politecnico di

Milano and can be downloaded from http://jmt.sourceforge.net/. A few

following slides demonstrate its basic functionality.

9

Page 10: Methodology of enterprise application capacity planning by real life examples

Solving model using opens source package

Workload definition

10

Page 11: Methodology of enterprise application capacity planning by real life examples

Solving model using opens source package

Specification of hardware servers

11

Page 12: Methodology of enterprise application capacity planning by real life examples

Solving model using opens source package

Specification of transaction profiles

12

Page 13: Methodology of enterprise application capacity planning by real life examples

Solving model using opens source package

Modeling results (utilization of servers and transaction times)

13

Page 14: Methodology of enterprise application capacity planning by real life examples

Model deliverables

DELIVERABLES

� Average transaction response time for each transaction

� Utilization of each hardware server

Transaction time (seconds) Utilization of system servers (%)

14

Page 15: Methodology of enterprise application capacity planning by real life examples

Common what-if scenarios

1. Changing hardware platform

2. Analysis of different operating systems

3. Workload variations

4. Assessment of impact of network and remote users

5. Changing number of cores and CPUs

15

5. Changing number of cores and CPUs

6. Server farms

7. Redistribution of application’s software components

Page 16: Methodology of enterprise application capacity planning by real life examples

Case study 1. Customer: Financial institution. Application: Financial reporting

Workload characterization

16

Page 17: Methodology of enterprise application capacity planning by real life examples

Case study 1. Customer: Financial institution. Application: Financial reporting

Hosting platform

17

Page 18: Methodology of enterprise application capacity planning by real life examples

Case study 1. Customer: Financial institution. Application: Financial reporting

Transactions profiles

18

Page 19: Methodology of enterprise application capacity planning by real life examples

Case study 1. Customer: Financial institution. Application: Financial reporting

What-if scenarios

19

Page 20: Methodology of enterprise application capacity planning by real life examples

Case study 1. Customer: Financial institution. Application: Financial reporting

Project recommendations

20

Page 21: Methodology of enterprise application capacity planning by real life examples

Case study 2. Customer: Pharmaceutical corporation. Applications: Corporate

Planning and Budgeting, Financial reporting

Workload characterizationCustomer requested to provide capacity estimates for nine workloads

21

Page 22: Methodology of enterprise application capacity planning by real life examples

Case study 2. Customer: Pharmaceutical corporation. Applications: Corporate

Planning and Budgeting, Financial reporting

Hosting platform

22

Page 23: Methodology of enterprise application capacity planning by real life examples

Case study 2. Customer: Pharmaceutical corporation. Applications: Corporate

Planning and Budgeting, Financial reporting

Transactions profiles

23

Page 24: Methodology of enterprise application capacity planning by real life examples

Case study 2. Customer: Pharmaceutical corporation. Applications: Corporate

Planning and Budgeting, Financial reporting

What-if scenarios

Customer requested to provide capacity estimates for five hardware platforms and nine workloads

24

Page 25: Methodology of enterprise application capacity planning by real life examples

Case study 2. Customer: Pharmaceutical corporation. Applications: Corporate

Planning and Budgeting, Financial reporting

Analysis of modeling results

30 what-if scenarios evaluated, this is an example of one scenario modeling estimates and conclusions

25

Page 26: Methodology of enterprise application capacity planning by real life examples

Case study 2. Customer: Pharmaceutical corporation. Applications: Corporate

Planning and Budgeting, Financial reporting

Project recommendations

Recommended hardware specifications for different workloads

26

Page 27: Methodology of enterprise application capacity planning by real life examples

Example 1. Customer: Major credit card company. Applications: Financial

consolidation, Financial reporting

Workload characterizationWorkload is generated by the users located on different continents

27

Page 28: Methodology of enterprise application capacity planning by real life examples

Example 2. Customer: Major credit card company. Applications: Financial

consolidation, Financial reporting

Analysis of modeling resultsComparison of transaction times for two hardware platforms

28

Page 29: Methodology of enterprise application capacity planning by real life examples

Example 3. Customer: Major credit card company. Applications: Financial

consolidation, Financial reporting

Analysis of modeling resultsComparison of server utilizations for four hardware platforms

29

Page 30: Methodology of enterprise application capacity planning by real life examples

Example 4. Customer: Medical equipment manufacturer. Applications: Financial

consolidation, Planning, Financial reporting

Analysis of modeling resultsIdentification of “hokey stick” effect

30

For short transactions system exhibits classical hockey stick effect

because transaction time starts growing exponentially after number of users exceeds 200 (

polynomial black line on chart)

Page 31: Methodology of enterprise application capacity planning by real life examples

Contact author

Want to know more about

enterprise applications capacity planning?

Contact Leonid Grinshpan at [email protected]

Share this presentation

31

Share to Facebook

Share to LinkedIn

Share toTwitter

Share to SlideShare