Services and Complexity Roger Sessions CTO ObjectWatch.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Co- location Mass Market Managed Hosting ISV Hosting.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Announcing Demo Announcing.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
NEXT: Overview – Sharing skills & code.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
 Paul Vick Principal Architect Microsoft Corporation  Lucian Wischik Software Engineer Microsoft Corporation.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Ian Ellison-Taylor General Manager Microsoft Corporation PC27.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Sr. Dir. – Systems Architecture Inlet Technologies.

IoCompleteRequest (Irp);... p = NULL; …f(p);
Mark Michaelis Chief Computer Nerd IDesign/Itron/IntelliTechture DTL313.
Ctrl-K, X Ctrl-K, S
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Возможности Excel 2010, о которых следует знать
Title of Presentation 11/22/2018 3:34 PM
Title of Presentation 12/2/2018 3:48 PM
Building SaaS Solutions on Windows Azure
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
4/27/17, Bell #8 What amount of net pay has been earned this period?
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
What’s New in Visual Studio 2012 for Web Developers
Presentation transcript:

Services and Complexity Roger Sessions CTO ObjectWatch

The Questions Many SOAs fail. Why? What can we do about it?

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

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?

What ’ s Causing the Problem? Complexity!

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

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

Example: Interlibrary Loan Library 1Library 2 Inter Library Loan Agency

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

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?

- 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

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.

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

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

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) x log(bf) / Equivalent to log(bf) Glass’s Constant

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 log(bf) log(cn)

An SOA with m services has a total complexity (in SCUs) of Sessions’s Formula for SOA Complexity ∑ i=1 m log(bfi) log(cni)

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 Total: 1009

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 Total: 314

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.

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.

SIP Simple Iterative Partitions

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

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

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

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

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.

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.

For more information

Sessions On-Demand & Community Resources for IT Professionals Resources for Developers Microsoft Certification & Training Resources Resources

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.

© 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.