Docsity

Modeling - Clouds and Power Aware Computing - Lecture Notes, Study notes of Computer Science

Partial preview of the text

Download Modeling - Clouds and Power Aware Computing - Lecture Notes and more Study notes Computer Science in PDF only on Docsity!

BPEL disadvantage: more time to product… BPEL advantage: better reusability, analysis… To BPEL or not to BPEL? To BPEL or not to BPEL? Wednesday, April 07, 2010 5:56 PM Docsity.com

Write business logic in a custom language. Provide a large variety of services. No BPEL. The older strategy: salesforce.com: Write overall strategy in BPMN; Refine into BPEL; Plumb BPEL to services graphically without writing code. The newer strategy: intalioWorks.com: A tale of two strategies… A tale of two strategies… Wednesday, April 07, 2010 5:57 PM Docsity.com

Easily readable by a manager, and Clearly expresses observable intent , but Darn near impossible for a manager to write! BPMN is the Cobol of the new millenium! BPEL is not understandable to managers, but need not be, because it only implements the BPMN observables. It might be argued that BPEL caused clouds as we know them, by justifying their use. So, why are we this high up? So, why are we this high up? Wednesday, April 07, 2010 10:51 AM Docsity.com

Allows one to judge just how important reliability is, by answering "what-if" questions about service performance, and analyzing the cost of service delays, which justifies high-reliability services, which led to clouds! The real effect of BPMN The real effect of BPMN Wednesday, April 07, 2010 10:57 AM Docsity.com

BPMN analysis is a simple generalization of PERT (Program Evaluation and Review Technique), which is a generalization of Critical Path Method analysis (CPM). How to analyze BPMN How to analyze BPMN Wednesday, April 07, 2010 11:03 AM Docsity.com

A basic tool for project management Critical Path Method Task A - > B means A should precede B. Has a Start node : when project starts. Has an End node : when project is finished. Express task precedences as a task graph. Critical Path Method Wednesday, December 02, 2009 11:08 AM Docsity.com

Two BPMN processes (request and response) One CPM task (get data). Relating CPM and BPMN Wednesday, April 07, 2010 11:27 AM Docsity.com

A common business decision support technique Trace-driven simulation statistics on subprocess time requirements, and an actual trace of customer requests for a given day. Input: predictions of how that day would have gone if processes had been more (or less) efficient. Output: Cost: what you pay for service, or what it costs you to provide it yourself. Value: what customers do, and how much money you make. Key is cost/value analysis: Trace-driven simulation Wednesday, April 07, 2010 11:21 AM Docsity.com

Duration : how long it takes to do a task. Earliest start time : earliest time a task can be started = max of earliest completion times for prerequisites. Latest start time : latest time a task can be started and still finish with minimum completion time for project. Earliest completion time : earliest start time + task duration. Latest completion time : latest start time + task duration. Slack time : latest completion time - earliest completion time = latest start time - earliest start time. CPM Definitions A task is critical if its earliest start time is its latest start time, i.e., slack time = 0! Changing the time of a critical task changes overall behavior. Key idea: if a service is critical, improving it means something. Definitions Wednesday, December 02, 2009 11:28 AM Docsity.com

Critical tasks do not occur in isolation, but instead lie on a critical path from start to finish. There may be multiple critical paths. If any task on a critical path changes in duration, the whole project duration can change. The critical path theorem The critical path theorem Wednesday, December 02, 2009 11:30 AM Docsity.com

A task graph has a start, end, and intermediate tasks. A task graph Wednesday, December 02, 2009 11:16 AM Docsity.com

Label each task with its time. Mark start's earliest start time and earliest completion time as 0. its earliest start time is the maximum of predecessor earliest completion times and

its earliest completion time is its earliest start time plus its duration.

If a task's predecessors are marked with their earliest completion times,

From left to right (start to finish), At the end, every node is labeled with its earliest start and completion times. Forward scan: Forward algorithm Wednesday, December 02, 2009 11:24 AM Docsity.com

Mark end's latest start time and latest completion time as its earliest start time and completion time. its latest completion time is the minimum of successor latest start times and

its latest start time is its latest completion time minus its duration.

If a task's successors are marked with latest start time,

From right to left (finish to start), At the end, every node is labeled with its latest start and completion times. Backward scan: Backward algorithm Wednesday, December 02, 2009 11:24 AM Docsity.com

Start at end Compute latest completion and start times from end to beginning Backward scan example Wednesday, December 02, 2009 11:16 AM Docsity.com