SlideShare a Scribd company logo
1 of 26
Download to read offline
SCALE11X Devopsdays Keynote




                “Promise Theory
                  for Dummies”
                           @botchagalupe

                                        1

Friday, February 22, 13
SCALE11X Devopsdays Keynote




                           “History of
                          Management”
                           @botchagalupe

                                            2

Friday, February 22, 13
Gonna take a little diversion first..
What I found when researching this presentation was there was a much more interesting
story here.
Whoami




             John Willis
          @botchagalupe
              Enstratus
      VP of Customer Services

                                                                        subscribe in

                                                                        iTunes



                                            3

Friday, February 22, 13
We do cloud management and of course I am hiring (like everyone else)
Anything more regarding that please come talk to me...
Food for Thought




       Deterministic vs Indeterministic
       Obligation vs Cooperation
       Exact vs Inexact Science
       Classic vs Quantum
       Absolutes vs Probabilities




                                               5
                                               4

Friday, February 22, 13
I want to start you thinking about these words and there differences as a place holder for
the rest of this discussion.
Indeterminism is the concept that events (certain events, or events of certain types) are
not caused, or not caused deterministically (cf. causality) by prior events. It is the
opposite of determinism and related to chance.
Correlation and causation are basically the same vs Correlation is not Causation.
How I got here - 2011?




       Mark Burgess
       Gene Kim
       Ben Rockwood




                                           5

Friday, February 22, 13
I was giving a presentation here 2011 and Chef & Puppet - mark story...
Also in 2011 I met Gene Kim (Founder of tripwire, visible ops, the Phoenix project
(Goldratt/TOC) , devops cookbook
@benr gave an awesome 2011 LISA keynote on devops transformation... and (deming)
How I got here - 2012?




                                             5
                                             6

Friday, February 22, 13
Spent most of last year researching deming and his impact on devops...
Using System of Profound knowledge.. on amazon outages...
Outline




       History of Management
       History of Config Management
       Promise Theory




                                              5
                                              7

Friday, February 22, 13
--Enough foreplay...
--This is an outline of this presentation.
-- History of Man is important for 2 reasons. 1) gives us a better idea how we get to PT
and 2) also explains how 2 devops
--Walk through what I am calling the history of management. (it may be a boodoggle but
I hope it’s interesting and u find it related)
--Since CM is near and dear to my heart I think we can use CM as a base line for this
discussion related to in/determ topics expressed earlier
--Use complex systems as an anchor to explain promise theory...
History of Management Timeline - Pre 20th Century

 1000000 BC                              1687 AD
 Stone Tools                             Principia
                                         Mathematica   1787 AD
                                                       Interchangeable
                                                       Parts/Division of
                          8000 BC                      Labor
                          Fitted Parts

                                                                 1840 AD
                                                                 go-no-go tolerance


   Deterministic

    Indeterministic

                                                                     1859 AD
                                                                     Origin of Species


                                                                       1872 AD
                                                                       Statistical Mechanics

                                                                              1890 AD
                                                                              Chaos Theory
                                                       5
                                                       8

Friday, February 22, 13
Shewhart’s book timeline “Statistical Methods” .. history of quality control...
Newtonian Physics.. Fact based thinking deterministic thinking.
Ilya Prigogine “The end of Certainty”
Ludwig Eduard Boltzmann - Statistical Mechanics -
He tried to emulate what Darwin had done in biology as an evolutionary approach to
physics (multip particles (100 sextillion) 21 zeros...
Henri Poincaré on Chaos Theory..
History of Management Timeline - 20th Century

 1911 AD
 Principles of Scientific
                                                            1950 AD
 Management                    1927 AD                      Post War
                               Mass Production              Neo Taylorism
    1916 AD
    Relativity: The Special
    and General Theory                   1940 AD
                                         Decentralized Management
                                         Alfred P Sloan

   Deterministic

    Indeterministic                                                         1988 AD
                                                                            Lean Manufacturing

                               1950 AD
     1924 AD
                               Deming in Japan                        1984 AD
     Control Charts
                                                                      The GOAL (TOC)



                                1956 AD                                           1993 AD
       1927 AD                  Toyota Production Systems                         System of Profound
       Uncertainty Principle
                                                                                  Knowledge (SoPK)
                                                   5
                                                   9

Friday, February 22, 13


--Lean coined by John Krafcik in his 1988 article, "Triumph of the Lean Production
System,
--known to the world through Jim Womack’s The Machine That Changed the World
-- Important point here... Shewhart, Deming, Goldratt were all Physists ..
-- 20-th century was a sort of “end of Certainty... way of thinking... that not only
influenced physics but influenced management science...
History of Management Timeline - 21st Century



                                          2000 AD
                                          Who Cares?




   Deterministic

    Indeterministic

                                          2005 AD                          20115 AD
    2001 AD
                                          The Four Steps to the Epiphany   Lean Startup
    Agile Manifesto


                    2003 AD
                    Kanban for Software
                                                       2009 AD
                                                       Devops
                                                                             2013 AD
                           2004 AD
                                                                             The Phoenix Project
                           Promise Theory
                                                         10
                                                          5

Friday, February 22, 13
Two important themes,,,
1) the mapping of events that directly relate to what we call devops and promise theory
2) Turn of the 20th century there was the new renaissance thinking rooted in
indeterminism..

15Mins
History of Configuration Management




       First Generation
         Tivoli, HP, BMC
       Second Generation
         CFEngine, Puppet, Chef
       Third Generation
            Complex Systems




                                               11
                                                5

Friday, February 22, 13


Third generation needs to be based on complex systems (indeterministic models,
probability based models)
-- It’s only logical to contend... As the rate of change increases, scale increases and
complexity increase so does IT Entropy...
-- Tell the scale deterministic vs in deterministic model..
Promise Theory




         Promise theory is a model of
         voluntary cooperation
         between individual,
         autonomous actors or agents
         Who publish their intentions
         to one another in the form of
         promises.




                                            12
                                             5

Friday, February 22, 13
Promise Theory uses math (algebra) (actually atomic theory) to put science behind the
concept of a promise... .
Implementations of Promise Theory




       Economics and Game Theory
       Organizational Behavior
       Systems Management
       Quantified Self Movement




                                  13
                                   5

Friday, February 22, 13
Patterns of Obligations vs Cooperation



        Failure
             It must not fail
             It will fail
        Automation
          It must look like this
             It should look like this
        Visualization
          Show me what it looks like
             Show me what you think it looks like

                                             14
                                              5

Friday, February 22, 13
remember our discussion regarding deterministic vs indeterministic models...
Obligations vs Promises



        Obligation is not a promise
        Obligations are a problematic ideal
        Obligations oversimplify information
        Obligation allows you to take things for granted
        Obligations can come from anywhere




                                               15
                                                5

Friday, February 22, 13
--An obligation is deterministic and a promise is indeterministic
-- An obligation assumes facts...
-- Over simplification in that you know all the external agents reactions before hand.
( You will look like this)
-- You have simplified all the edge cases .. DNS must work...
-- Tell the devopsworkshop story... large telco ... never, never, never break... never never
never
-- Airplanes break all the time.. it’s not about them not breaking it’s about how you
handle the breaks...
--Apollo 13 Ed Harris.. great failure story..
--promises impy contingency.. obligations do not..
--A promise is a I’ll do what i can based on what I know as opposed to this must happen
even though the ..
reality is there are a lot of things out of my control...
Deconstructing Promises


       There must be agents in
       order for promises to
       exist
       Intention is a description
       of behavior
       Body explains the
       quality and quantity of
       the intention
       Quality is (type, topic or
       subject for the promise)
       Quantity (how much of
       the realm of possibility
       for that subject is being
       promised)                            16
                                             5

Friday, February 22, 13
--Key point intention becomes a promise once it is a) documented and b) it has scope
(exposed to another agent)
Deconstructing Promises (example)



    promise quality:
      “I will feed your cat”
    promise quantity:
      “on Monday &
     Friday mornings”
    promisee:
     “my neighbor”
    promisor:
     “me”
                                17
                                 5

Friday, February 22, 13


Quality/Quantity
Deconstructing Promises




                                         18
                                          5

Friday, February 22, 13
A promise of B from agent 1 to agent 2
Deconstructing Promises




                                                       My Neighbor



                          Me




                                              19
                                               5

Friday, February 22, 13
There are promises to give and promises to receive
We use + for give and - for receive..
Let’s use the feed the cat example...
I promise to feed the cat (a1) and (a2) promises me access to get in his house...
This leads to the concept of trust related to promise theory...
My neighbor makes the assumption that I am reliable and won’t trash his house drink
his 25yr old scotch.
I make the assumption that I can get in his house (he gave me the correct alarm code).
For example I don’t want to have to wake up early to find out I can’t get in or even
worse the alarm goes off (get arrested)
-This also ties in an economic relationship.. maybe my N makes more money on M & F
and/or he pays me.
-Maybe I do it to be a good neighbor or I know I will need his help in the future...
You see how this voluntary cooperation can start to manifest...




Last but by no means least, because promises anchor a sender to a receiver with a
directional arrow, they form networks and hence there are two kinds of promises:
promises to give and to receive. We write these using a + (give) and a − (receive) sign.

Here, the source of the data a1 promises to make the data available to a2 (per- haps by
running an appropriate daemon and granting some access controls (for a cfengine-like
DNS Example




                                                20
                                                 5

Friday, February 22, 13
--Let’s see how promise theory helps us to understand something we think is obvious:
the Domain Name Service.
--Given that promises are service oriented, we might think that it is trivial to model this
service by a single promise from a server to each client.
--The promise made by the DNS server to reply to requests is certainly important:
DNS Example




                                            21
                                             5

Friday, February 22, 13
--Actually the DNS service makes a general promise to provide query information.
--This, in fact, involves two promises
-- The server promises receive requests (-)
-- and it also promises to give a reply (+)
--- Important note here is that the agents are autonomous.
DNS Example




                                              22
                                               5

Friday, February 22, 13
-- Lets look at a more complicated view of this relationship... where there is a browser,
resolver and server...
-- The local resolver promises to give some answer to the web browser and to accept its
requests.
-- Key point here is the resolver has only agreed to accept requests and return request.
It has not agreed to forward the request in it’s promise to the browser.
DNS Example




                                              23
                                               5

Friday, February 22, 13


-- We need promises from the resolver
-- It will forward the request and it receive the request
-- Can you see how this level of decomposition and atomic thinking start taking a bunch
of assumptions out of the picture...
-- Forces you to stop taking things for granted...
-- Bring back the point of complexity and CAS... in Avionics there isn;t one big box that
says all things are working or not..
-- It’s lots of little autonomous agents cooperating to react and correct failures...
--important point.. including the human..
-- The human becomes an agent as part of the CAS not the engine that drives the
model
Key Points



        One of the strengths of this way of thinking is that
        it does not let you take things for granted.
        Decomposing into agents and promises allows us
        to see how a system works.
        Confronting detailed (atomic) expectation of
        behavior, not just the ones that we think are big
        and important.
        The entire chain of responsibility begins to appear
        as we start thinking in these terms.



                                    24
                                     5

Friday, February 22, 13
Putting the Science back into IT




Friday, February 22, 13

All of those guys have read these books....
What do you think these guys have in common? All enginners two started out
as physiscts...
Reference Material



        http://research.iu.hio.no/promises.php
        http://cfengine.com/markburgess/
        blog_devops.html
        http://www.amazon.com/Total-Quality-Information-
        Systems-Technology/dp/1884015700
        http://www.youtube.com/watch?v=4CCXs4Om5pY
        http://www.slideshare.net/jurquhart/gluecon-
        keynote
        http://www.kitchensoap.com/



                                   26
                                    5

Friday, February 22, 13

More Related Content

More from John Willis

Divine and felonios cyber security devopsdays austin 2018
Divine and felonios cyber security  devopsdays austin 2018Divine and felonios cyber security  devopsdays austin 2018
Divine and felonios cyber security devopsdays austin 2018John Willis
 
Devops - A Long Strange Trip It's Been
Devops - A Long Strange Trip It's BeenDevops - A Long Strange Trip It's Been
Devops - A Long Strange Trip It's BeenJohn Willis
 
DevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's Been
DevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's BeenDevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's Been
DevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's BeenJohn Willis
 
You build it - Cyber Chicago Keynote
You build it -  Cyber Chicago KeynoteYou build it -  Cyber Chicago Keynote
You build it - Cyber Chicago KeynoteJohn Willis
 
Art of the Possible - Serverless Conference NYC 2017
Art of the Possible - Serverless Conference NYC 2017 Art of the Possible - Serverless Conference NYC 2017
Art of the Possible - Serverless Conference NYC 2017 John Willis
 
Why Executives Can't Change
Why Executives Can't Change Why Executives Can't Change
Why Executives Can't Change John Willis
 
Devops Kaizen - DevopsDays Dallas 2017
Devops Kaizen - DevopsDays Dallas 2017 Devops Kaizen - DevopsDays Dallas 2017
Devops Kaizen - DevopsDays Dallas 2017 John Willis
 
Evolve 2017 - Vegas - Devops, Docker and Security
Evolve 2017 - Vegas - Devops, Docker and Security Evolve 2017 - Vegas - Devops, Docker and Security
Evolve 2017 - Vegas - Devops, Docker and Security John Willis
 
Alibaba Cloud Conference 2016 - Docker Open Source
Alibaba Cloud Conference   2016 - Docker Open Source Alibaba Cloud Conference   2016 - Docker Open Source
Alibaba Cloud Conference 2016 - Docker Open Source John Willis
 
Alibaba Cloud Conference 2016 - Docker Enterprise
Alibaba Cloud Conference   2016 - Docker EnterpriseAlibaba Cloud Conference   2016 - Docker Enterprise
Alibaba Cloud Conference 2016 - Docker EnterpriseJohn Willis
 
Breaking Bad Equilibrium - Devops Connect 2017 RSAC
Breaking Bad Equilibrium - Devops Connect 2017 RSACBreaking Bad Equilibrium - Devops Connect 2017 RSAC
Breaking Bad Equilibrium - Devops Connect 2017 RSACJohn Willis
 
Breaking Bad Equilibrium - Devops Connect 2016 LA
Breaking Bad Equilibrium - Devops Connect 2016 LABreaking Bad Equilibrium - Devops Connect 2016 LA
Breaking Bad Equilibrium - Devops Connect 2016 LAJohn Willis
 
All daydevops 2016 - Turning Human Capital into High Performance Organizati...
All daydevops   2016 - Turning Human Capital into High Performance Organizati...All daydevops   2016 - Turning Human Capital into High Performance Organizati...
All daydevops 2016 - Turning Human Capital into High Performance Organizati...John Willis
 
Turning Human Capital into High Performance Organizational Capital
Turning Human Capital into High Performance Organizational CapitalTurning Human Capital into High Performance Organizational Capital
Turning Human Capital into High Performance Organizational CapitalJohn Willis
 
Immutable Service Delivery Shenzhen 2016
Immutable Service Delivery   Shenzhen 2016Immutable Service Delivery   Shenzhen 2016
Immutable Service Delivery Shenzhen 2016John Willis
 
DOES16 London - Better Faster Cheaper .. How?
DOES16 London - Better Faster Cheaper .. How? DOES16 London - Better Faster Cheaper .. How?
DOES16 London - Better Faster Cheaper .. How? John Willis
 
Dockercon USA 2016 - Immutable Awesomeness
Dockercon USA 2016 - Immutable Awesomeness Dockercon USA 2016 - Immutable Awesomeness
Dockercon USA 2016 - Immutable Awesomeness John Willis
 
Psychology and High Performance Organizations
Psychology and High Performance Organizations Psychology and High Performance Organizations
Psychology and High Performance Organizations John Willis
 
Psychology and/of High Performance Organizations
Psychology and/of High Performance Organizations Psychology and/of High Performance Organizations
Psychology and/of High Performance Organizations John Willis
 
Devopsdays Toronto 2016 - State of the Union
Devopsdays Toronto 2016 - State of the UnionDevopsdays Toronto 2016 - State of the Union
Devopsdays Toronto 2016 - State of the UnionJohn Willis
 

More from John Willis (20)

Divine and felonios cyber security devopsdays austin 2018
Divine and felonios cyber security  devopsdays austin 2018Divine and felonios cyber security  devopsdays austin 2018
Divine and felonios cyber security devopsdays austin 2018
 
Devops - A Long Strange Trip It's Been
Devops - A Long Strange Trip It's BeenDevops - A Long Strange Trip It's Been
Devops - A Long Strange Trip It's Been
 
DevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's Been
DevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's BeenDevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's Been
DevopsdaysNYC - Almost 10 Years - What A Strange Long Trip It's Been
 
You build it - Cyber Chicago Keynote
You build it -  Cyber Chicago KeynoteYou build it -  Cyber Chicago Keynote
You build it - Cyber Chicago Keynote
 
Art of the Possible - Serverless Conference NYC 2017
Art of the Possible - Serverless Conference NYC 2017 Art of the Possible - Serverless Conference NYC 2017
Art of the Possible - Serverless Conference NYC 2017
 
Why Executives Can't Change
Why Executives Can't Change Why Executives Can't Change
Why Executives Can't Change
 
Devops Kaizen - DevopsDays Dallas 2017
Devops Kaizen - DevopsDays Dallas 2017 Devops Kaizen - DevopsDays Dallas 2017
Devops Kaizen - DevopsDays Dallas 2017
 
Evolve 2017 - Vegas - Devops, Docker and Security
Evolve 2017 - Vegas - Devops, Docker and Security Evolve 2017 - Vegas - Devops, Docker and Security
Evolve 2017 - Vegas - Devops, Docker and Security
 
Alibaba Cloud Conference 2016 - Docker Open Source
Alibaba Cloud Conference   2016 - Docker Open Source Alibaba Cloud Conference   2016 - Docker Open Source
Alibaba Cloud Conference 2016 - Docker Open Source
 
Alibaba Cloud Conference 2016 - Docker Enterprise
Alibaba Cloud Conference   2016 - Docker EnterpriseAlibaba Cloud Conference   2016 - Docker Enterprise
Alibaba Cloud Conference 2016 - Docker Enterprise
 
Breaking Bad Equilibrium - Devops Connect 2017 RSAC
Breaking Bad Equilibrium - Devops Connect 2017 RSACBreaking Bad Equilibrium - Devops Connect 2017 RSAC
Breaking Bad Equilibrium - Devops Connect 2017 RSAC
 
Breaking Bad Equilibrium - Devops Connect 2016 LA
Breaking Bad Equilibrium - Devops Connect 2016 LABreaking Bad Equilibrium - Devops Connect 2016 LA
Breaking Bad Equilibrium - Devops Connect 2016 LA
 
All daydevops 2016 - Turning Human Capital into High Performance Organizati...
All daydevops   2016 - Turning Human Capital into High Performance Organizati...All daydevops   2016 - Turning Human Capital into High Performance Organizati...
All daydevops 2016 - Turning Human Capital into High Performance Organizati...
 
Turning Human Capital into High Performance Organizational Capital
Turning Human Capital into High Performance Organizational CapitalTurning Human Capital into High Performance Organizational Capital
Turning Human Capital into High Performance Organizational Capital
 
Immutable Service Delivery Shenzhen 2016
Immutable Service Delivery   Shenzhen 2016Immutable Service Delivery   Shenzhen 2016
Immutable Service Delivery Shenzhen 2016
 
DOES16 London - Better Faster Cheaper .. How?
DOES16 London - Better Faster Cheaper .. How? DOES16 London - Better Faster Cheaper .. How?
DOES16 London - Better Faster Cheaper .. How?
 
Dockercon USA 2016 - Immutable Awesomeness
Dockercon USA 2016 - Immutable Awesomeness Dockercon USA 2016 - Immutable Awesomeness
Dockercon USA 2016 - Immutable Awesomeness
 
Psychology and High Performance Organizations
Psychology and High Performance Organizations Psychology and High Performance Organizations
Psychology and High Performance Organizations
 
Psychology and/of High Performance Organizations
Psychology and/of High Performance Organizations Psychology and/of High Performance Organizations
Psychology and/of High Performance Organizations
 
Devopsdays Toronto 2016 - State of the Union
Devopsdays Toronto 2016 - State of the UnionDevopsdays Toronto 2016 - State of the Union
Devopsdays Toronto 2016 - State of the Union
 

Scale11x Devopsday Keynote - Promise Theory for Dummies

  • 1. SCALE11X Devopsdays Keynote “Promise Theory for Dummies” @botchagalupe 1 Friday, February 22, 13
  • 2. SCALE11X Devopsdays Keynote “History of Management” @botchagalupe 2 Friday, February 22, 13 Gonna take a little diversion first.. What I found when researching this presentation was there was a much more interesting story here.
  • 3. Whoami John Willis @botchagalupe Enstratus VP of Customer Services subscribe in iTunes 3 Friday, February 22, 13 We do cloud management and of course I am hiring (like everyone else) Anything more regarding that please come talk to me...
  • 4. Food for Thought Deterministic vs Indeterministic Obligation vs Cooperation Exact vs Inexact Science Classic vs Quantum Absolutes vs Probabilities 5 4 Friday, February 22, 13 I want to start you thinking about these words and there differences as a place holder for the rest of this discussion. Indeterminism is the concept that events (certain events, or events of certain types) are not caused, or not caused deterministically (cf. causality) by prior events. It is the opposite of determinism and related to chance. Correlation and causation are basically the same vs Correlation is not Causation.
  • 5. How I got here - 2011? Mark Burgess Gene Kim Ben Rockwood 5 Friday, February 22, 13 I was giving a presentation here 2011 and Chef & Puppet - mark story... Also in 2011 I met Gene Kim (Founder of tripwire, visible ops, the Phoenix project (Goldratt/TOC) , devops cookbook @benr gave an awesome 2011 LISA keynote on devops transformation... and (deming)
  • 6. How I got here - 2012? 5 6 Friday, February 22, 13 Spent most of last year researching deming and his impact on devops... Using System of Profound knowledge.. on amazon outages...
  • 7. Outline History of Management History of Config Management Promise Theory 5 7 Friday, February 22, 13 --Enough foreplay... --This is an outline of this presentation. -- History of Man is important for 2 reasons. 1) gives us a better idea how we get to PT and 2) also explains how 2 devops --Walk through what I am calling the history of management. (it may be a boodoggle but I hope it’s interesting and u find it related) --Since CM is near and dear to my heart I think we can use CM as a base line for this discussion related to in/determ topics expressed earlier --Use complex systems as an anchor to explain promise theory...
  • 8. History of Management Timeline - Pre 20th Century 1000000 BC 1687 AD Stone Tools Principia Mathematica 1787 AD Interchangeable Parts/Division of 8000 BC Labor Fitted Parts 1840 AD go-no-go tolerance Deterministic Indeterministic 1859 AD Origin of Species 1872 AD Statistical Mechanics 1890 AD Chaos Theory 5 8 Friday, February 22, 13 Shewhart’s book timeline “Statistical Methods” .. history of quality control... Newtonian Physics.. Fact based thinking deterministic thinking. Ilya Prigogine “The end of Certainty” Ludwig Eduard Boltzmann - Statistical Mechanics - He tried to emulate what Darwin had done in biology as an evolutionary approach to physics (multip particles (100 sextillion) 21 zeros... Henri Poincaré on Chaos Theory..
  • 9. History of Management Timeline - 20th Century 1911 AD Principles of Scientific 1950 AD Management 1927 AD Post War Mass Production Neo Taylorism 1916 AD Relativity: The Special and General Theory 1940 AD Decentralized Management Alfred P Sloan Deterministic Indeterministic 1988 AD Lean Manufacturing 1950 AD 1924 AD Deming in Japan 1984 AD Control Charts The GOAL (TOC) 1956 AD 1993 AD 1927 AD Toyota Production Systems System of Profound Uncertainty Principle Knowledge (SoPK) 5 9 Friday, February 22, 13 --Lean coined by John Krafcik in his 1988 article, "Triumph of the Lean Production System, --known to the world through Jim Womack’s The Machine That Changed the World -- Important point here... Shewhart, Deming, Goldratt were all Physists .. -- 20-th century was a sort of “end of Certainty... way of thinking... that not only influenced physics but influenced management science...
  • 10. History of Management Timeline - 21st Century 2000 AD Who Cares? Deterministic Indeterministic 2005 AD 20115 AD 2001 AD The Four Steps to the Epiphany Lean Startup Agile Manifesto 2003 AD Kanban for Software 2009 AD Devops 2013 AD 2004 AD The Phoenix Project Promise Theory 10 5 Friday, February 22, 13 Two important themes,,, 1) the mapping of events that directly relate to what we call devops and promise theory 2) Turn of the 20th century there was the new renaissance thinking rooted in indeterminism.. 15Mins
  • 11. History of Configuration Management First Generation Tivoli, HP, BMC Second Generation CFEngine, Puppet, Chef Third Generation Complex Systems 11 5 Friday, February 22, 13 Third generation needs to be based on complex systems (indeterministic models, probability based models) -- It’s only logical to contend... As the rate of change increases, scale increases and complexity increase so does IT Entropy... -- Tell the scale deterministic vs in deterministic model..
  • 12. Promise Theory Promise theory is a model of voluntary cooperation between individual, autonomous actors or agents Who publish their intentions to one another in the form of promises. 12 5 Friday, February 22, 13 Promise Theory uses math (algebra) (actually atomic theory) to put science behind the concept of a promise... .
  • 13. Implementations of Promise Theory Economics and Game Theory Organizational Behavior Systems Management Quantified Self Movement 13 5 Friday, February 22, 13
  • 14. Patterns of Obligations vs Cooperation Failure It must not fail It will fail Automation It must look like this It should look like this Visualization Show me what it looks like Show me what you think it looks like 14 5 Friday, February 22, 13 remember our discussion regarding deterministic vs indeterministic models...
  • 15. Obligations vs Promises Obligation is not a promise Obligations are a problematic ideal Obligations oversimplify information Obligation allows you to take things for granted Obligations can come from anywhere 15 5 Friday, February 22, 13 --An obligation is deterministic and a promise is indeterministic -- An obligation assumes facts... -- Over simplification in that you know all the external agents reactions before hand. ( You will look like this) -- You have simplified all the edge cases .. DNS must work... -- Tell the devopsworkshop story... large telco ... never, never, never break... never never never -- Airplanes break all the time.. it’s not about them not breaking it’s about how you handle the breaks... --Apollo 13 Ed Harris.. great failure story.. --promises impy contingency.. obligations do not.. --A promise is a I’ll do what i can based on what I know as opposed to this must happen even though the .. reality is there are a lot of things out of my control...
  • 16. Deconstructing Promises There must be agents in order for promises to exist Intention is a description of behavior Body explains the quality and quantity of the intention Quality is (type, topic or subject for the promise) Quantity (how much of the realm of possibility for that subject is being promised) 16 5 Friday, February 22, 13 --Key point intention becomes a promise once it is a) documented and b) it has scope (exposed to another agent)
  • 17. Deconstructing Promises (example) promise quality: “I will feed your cat” promise quantity: “on Monday & Friday mornings” promisee: “my neighbor” promisor: “me” 17 5 Friday, February 22, 13 Quality/Quantity
  • 18. Deconstructing Promises 18 5 Friday, February 22, 13 A promise of B from agent 1 to agent 2
  • 19. Deconstructing Promises My Neighbor Me 19 5 Friday, February 22, 13 There are promises to give and promises to receive We use + for give and - for receive.. Let’s use the feed the cat example... I promise to feed the cat (a1) and (a2) promises me access to get in his house... This leads to the concept of trust related to promise theory... My neighbor makes the assumption that I am reliable and won’t trash his house drink his 25yr old scotch. I make the assumption that I can get in his house (he gave me the correct alarm code). For example I don’t want to have to wake up early to find out I can’t get in or even worse the alarm goes off (get arrested) -This also ties in an economic relationship.. maybe my N makes more money on M & F and/or he pays me. -Maybe I do it to be a good neighbor or I know I will need his help in the future... You see how this voluntary cooperation can start to manifest... Last but by no means least, because promises anchor a sender to a receiver with a directional arrow, they form networks and hence there are two kinds of promises: promises to give and to receive. We write these using a + (give) and a − (receive) sign. Here, the source of the data a1 promises to make the data available to a2 (per- haps by running an appropriate daemon and granting some access controls (for a cfengine-like
  • 20. DNS Example 20 5 Friday, February 22, 13 --Let’s see how promise theory helps us to understand something we think is obvious: the Domain Name Service. --Given that promises are service oriented, we might think that it is trivial to model this service by a single promise from a server to each client. --The promise made by the DNS server to reply to requests is certainly important:
  • 21. DNS Example 21 5 Friday, February 22, 13 --Actually the DNS service makes a general promise to provide query information. --This, in fact, involves two promises -- The server promises receive requests (-) -- and it also promises to give a reply (+) --- Important note here is that the agents are autonomous.
  • 22. DNS Example 22 5 Friday, February 22, 13 -- Lets look at a more complicated view of this relationship... where there is a browser, resolver and server... -- The local resolver promises to give some answer to the web browser and to accept its requests. -- Key point here is the resolver has only agreed to accept requests and return request. It has not agreed to forward the request in it’s promise to the browser.
  • 23. DNS Example 23 5 Friday, February 22, 13 -- We need promises from the resolver -- It will forward the request and it receive the request -- Can you see how this level of decomposition and atomic thinking start taking a bunch of assumptions out of the picture... -- Forces you to stop taking things for granted... -- Bring back the point of complexity and CAS... in Avionics there isn;t one big box that says all things are working or not.. -- It’s lots of little autonomous agents cooperating to react and correct failures... --important point.. including the human.. -- The human becomes an agent as part of the CAS not the engine that drives the model
  • 24. Key Points One of the strengths of this way of thinking is that it does not let you take things for granted. Decomposing into agents and promises allows us to see how a system works. Confronting detailed (atomic) expectation of behavior, not just the ones that we think are big and important. The entire chain of responsibility begins to appear as we start thinking in these terms. 24 5 Friday, February 22, 13
  • 25. Putting the Science back into IT Friday, February 22, 13 All of those guys have read these books.... What do you think these guys have in common? All enginners two started out as physiscts...
  • 26. Reference Material http://research.iu.hio.no/promises.php http://cfengine.com/markburgess/ blog_devops.html http://www.amazon.com/Total-Quality-Information- Systems-Technology/dp/1884015700 http://www.youtube.com/watch?v=4CCXs4Om5pY http://www.slideshare.net/jurquhart/gluecon- keynote http://www.kitchensoap.com/ 26 5 Friday, February 22, 13