+ All Categories
Home > Documents > Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Date post: 22-Dec-2015
Category:
Upload: dennis-clarke
View: 217 times
Download: 1 times
Share this document with a friend
Popular Tags:
27
Case Study V: Help Desk Service CSCI 8710 Fall 2008
Transcript
Page 1: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Case Study V: Help Desk Service

CSCI 8710Fall 2008

Page 2: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Help Desk System

• A high-tech company w/ 21,600 employees who access a variety of resources

• A new help-desk application is being designed:– Access to a DB of Frequently Asked Questions

(FAQ). Keyword-based search. – Creation of help tickets. If the FAQ DB does not

solve the problem a help ticket is created. – Tracking and verification of the status of open

help tickets.

Page 3: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Help Desk System

Page 4: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Data for Application Sizing

Page 5: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Worload Intensities

• Calculate λ for FAQ, ticket, and status functions during peak period …

• Design E-R model of DB to hold FAQs, tickets, etc.

• Translate E-R model to DB design (tables)• Estimate cardinality of tables (rows * row size)

Page 6: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Entity-Relationship Model for theDatabase Design

Page 7: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Database Design for the Help-DeskSystem

Page 8: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Database Table Data

Page 9: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Specifying Transaction Logic forSPE Purposes

• Use a language that captures the major structural components of a transaction.– Loops and average number of times executed.– Branch statements and branching probabilities.– Switch statements and case probabilities.– Database access (i.e., select and update) statements.

• Estimate number of I/Os per transaction• Use benchmark data and number of i/os to

estimate the CPU time• Example of such a language: Clisspe

Page 10: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Transaction Logic for Query onFAQ Database

Page 11: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Transaction Logic for the Creationof a New Ticket

Page 12: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Transaction Logic for Viewing theStatus of Open Tickets

Page 13: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Estimating Number of I/Os

• Estimate the number of I/Os per database access statement.– Consider the existence and types of indexes on

the tables.– Estimate the number of index blocks accessed.– Estimate the number of data pages accessed.

Page 14: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

B*-Tree Indexes

Page 15: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

B-Tree Calculations

Page 16: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Indexes for the Database Tables

Page 17: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Estimating No. I/Os Due to a SelectStatement

Page 18: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Database Table Sizes

Page 19: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Computing Number of I/Os

Page 20: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Computing Number of I/Os

Page 21: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Computing Number of I/Os

Page 22: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Computing Service Demands

Page 23: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

The Software Development Life Cycle and Inputs to SPE

Page 24: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Traditional Software Development Life Cycle

• Common approach:– consider Functional Requirements only during

development and check Performance Requirements at the end.

– fix the system if performance is not good!• Problem:– it is very costly and time consuming to fix the

problem after the system is ready!– fixing the problem may imply major software

rewrites.

Page 25: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Integrating Software Performance EngineeringInto the Software Development Life Cycle

Page 26: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Service Demand Generation

Page 27: Case Study V: Help Desk Service CSCI 8710 Fall 2008.

Recommended