Download presentation
Presentation is loading. Please wait.
Published byLillian McBride Modified over 9 years ago
1
Services and Complexity Roger Sessions CTO ObjectWatch
2
The Questions Many SOAs fail. Why? What can we do about it?
3
The project will not meet business needs. The project will have poor quality. The project will be delivered late. The project will exceed its budget. “ At-Risk ” IT Projects
4
60% of IT budgets are invested in at-risk projects. Costing the world economy 6.5 trillion USD per year Costing the New Zealand economy 21 billion NZD per year The problem is getting worse. Exponentially! Who cares?
5
What ’ s Causing the Problem? Complexity!
6
What About Complexity Failure rates are proportional to complexity Cost is proportional to complexity Agility is inversely proportional to complexity Security is inversely proportional to complexity. Maintainability is inversely proportional to complexity. The Bottom Line: Complexity is Very Bad
7
The Claim Say architecture A and B both solve the business problem Say A is twice as complex as B Then A will cost twice as much, work half as well, and be twice as likely to fail as B
8
Example: Interlibrary Loan Library 1Library 2 Inter Library Loan Agency
9
Solution One Borrower ILLA Lender Borrow Book Process Positive Response Process Negative Response Process Borrow Request Request IL Loan Process Positive Lender Response Process Negative Lender Response Respond to Borrower Receive New Book Item Update Catalog Process ILLA Request Agree to Loan Request Reject Loan Request Process New Book
10
Solution Two Borrower ILLA Lender Borrow Book Process Positive Response Process Negative Response Receive Catalog Receive New Book Item Update Catalog Process Borrow Request Agree to Loan Request Reject Loan Request Process New Book Which SOA is least complex?
11
- Facts and Fallacies of Software Engineering by Robert Glass For every 25 percent increase in problem complexity, there is a 100 percent increase in solution complexity. Glass’s Law
12
For every 25 percent increase in the business functionality in a service, there is a 100 percent increase in the complexity of that service. Glass’s Law Applied to SOAs For every 25 percent increase in the number of connections in a service, there is a 100 percent increase in the complexity of that service.
13
SCU = Standard Complexity Unit The amount of complexity in an average atomic business function implemented in an idealized green field environment with no internal or external interactions. Examples of atomic business functions: process-check, hire-employee, remove- from-inventory
14
1.25 functionality = 2 X complexity Glass’s Law Fx Cx Bird’s Formula A system with bf business functions is 10 log(Cx) x log(bf) / log(Fx) times more complex than a system of 1 business function. Bird’s Formula
15
is with constants replaced Equivalent to Simplifying Bird’s Formula 10 log(2) x log(bf) / log(1.25) 10 log(Cx) x log(bf) / log(Fx) 10.30103 x log(bf) /.09691 Equivalent to 10 3.10 log(bf) Glass’s Constant
16
A system with bf business functions and cn connections has a complexity value (in SCUs) of 10 log(Cx) x log(bf) / log(Fx) + 10 log(Cx) x log(cn) / log(Fx) Sessions’s Formula for Service Complexity Equivalent to 10 3.10 log(bf) + 10 3.10 log(cn)
17
An SOA with m services has a total complexity (in SCUs) of Sessions’s Formula for SOA Complexity ∑ i=1 m 10 3.10 log(bfi) + 10 3.10 log(cni)
18
Complexity of Solution One Borrower ILLA Lender Borrow Book Process Positive Response Process Negative Response Process Borrow Request Request IL Loan Process Positive Lender Response Process Negative Lender Response Respond to Borrower Receive New Book Item Update Catalog Process ILLA Request Agree to Loan Request Reject Loan Request Process New Book bdcompcncomptotal 33033061 74227422844 330474105 Total: 1009
19
Complexity of Solution Two Borrower ILLA Lender Borrow Book Process Positive Response Process Negative Response Receive Catalog Receive New Book Item Update Catalog Process Borrow Request Agree to Loan Request Reject Loan Request Process New Book bdcompcncomptotal 474474148 292917 474474148 Total: 314
20
Two SOA Solutions Solution 1: 1009 SCUs Solution 2: 314 SCUs Solution 1 will cost 3 times more than Solution 2 and be 3 times more likely to fail.
21
But We Have a Problem We can’t exhaustively examine every possible solution. Why not? For 20 business functions, there are more than 50 trillion SOA solutions. We need a directed process.
22
SIP Simple Iterative Partitions
23
The Process - Identification Inter Library Loan Borrow Loan Ask to borrow Process positive response Process negative response Receive catalog Process request Agree to loan Refuse to loan Process new book Add book to catalog
24
The Process - Partitioning Ask to borrow Process positive response Process negative response Receive catalog Process loan request Agree to loan Refuse to loan Process new book Add book to catalog A A A A B B B B C
25
The Process - Subsetting Ask to borrow Process positive response Process negative response Receive catalog Process loan request Agree to loan Refuse to loan Process new book Add book to catalog A A A A B B B B C
26
The Process - Connecting Ask to borrow Process positive response Process negative response Receive catalog Process loan request Agree to loan Refuse to loan Process new book Add book to catalog
27
Goals of SIP A process to drive the simplest possible SOA that solves a given business problem Based on mathematical models of complexity, partitioning, and set theory. Reproducible and verifiable.
28
Summary IT is in a multi-trillion dollar crisis. The major cause is complexity We must build the simplest possible SOAs. SIP is a process for finding the simplest possible SOA.
29
For more information
31
www.microsoft.com/teched Sessions On-Demand & Community http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification & Training Resources Resources
32
COMPLETE YOUR EVALUATION FORMS IN COMMNET AND BE IN TO WIN ONE OF THE 150 DAILY PRIZES* GIVE US YOUR FEEDBACK & WIN INSTANTLY! *For full terms & conditions and more information, please visit the CommNet Portal.
33
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.