SlideShare a Scribd company logo
Reliability-Driven
Dynamic Binding
via Feedback Control
A. Filieri, C. Ghezzi, A. Leva, M. Maggio
Motivation




 Running System


                  2
Motivation

Usage profile




                Running System


                                 2
Motivation

Usage profile                     Network




                Running System


                                           2
Motivation

Usage profile                     Network




                Running System

                                 3rd parties
                                               2
Motivation

Usage profile                     Network




                Running System

QoS goals                        3rd parties
                                               2
Motivation

Usage profile                     Network




                Running System

QoS goals                        3rd parties
                                               2
Motivation

Usage profile                     Network
                 Deal with
            continuous changes
                Running System

QoS goals                        3rd parties
                                               2
SOA

Login                 Shipping   CheckOut



Search                            Logout


 Buy

       [Buy more]

                                            3
Adaptation via dynamic
       binding

Login                     Shipping         CheckOut



Search                                      Logout
                    UPS              DHL

 Buy

       [Buy more]

                                                      4
Goal




       5
Goal


Make the system continuously
 provide desired reliability




                               5
Goal
             Make the system continuously
              provide desired reliability

i.e. the probability of successfully accomplishing
the assigned task




                                                     5
Goal
             Make the system continuously
              provide desired reliability

i.e. the probability of successfully accomplishing
the assigned task

                           = ¯

                                                     5
Goal
             Make the system continuously
              provide desired reliability

i.e. the probability of successfully accomplishing
the assigned task

                           = ¯
            ¯
                                                     5
Goal
             Make the system continuously
              provide desired reliability

i.e. the probability of successfully accomplishing
the assigned task

                           = ¯
            ¯                              max ( )
                                                     5
State of the art

      Shipping




UPS              DHL




                               6
State of the art

                       • Heuristics
      Shipping




UPS              DHL
                       • Optimization


                                        6
State of the art

                       • Heuristics
      Shipping          Fast, but no guarantees


UPS              DHL
                       • Optimization
                        Best decision, but slow


                                              6
Our proposal

Exploit established control   theory to get
efficient, effective, and scalable
            dynamic selection




                                              7
What’s the model


w
     S*




                       8
What’s the model

             S1

w
     S*

             S2




                       8
What’s the model

             S1        S

w
     S*

             S2        F




                           8
What’s the model

                  r1
             S1               S

w                      1-r2
     S*
                       1-r1
             S2               F
                  r2



                                  8
What’s the model

                     r1
                S1               S
          p
w                         1-r2
     S*
                          1-r1
          1-p
                S2               F
                     r2



                                     8
What’s the model

                           r1(k)
                      S1                S
              p(k)
w(k)                               1-r2(k)
        S*
                                   1-r1(k)
             1-p(k)
                      S2                F
                           r2(k)



                                             9
What’s the model

                                  r1(k)
                             S1                S
                     p(k)
  w(k)                                    1-r2(k)
            S*
                                          1-r1(k)
                    1-p(k)
                             S2                F
                                  r2(k)



Sampling time: Ts                                   9
What’s the model

                             n1(k)
                                     r1(k)
                                S1                S
          n*(k)      p(k)
  w(k)                                       1-r2(k)
            S*
                             n2(k)           1-r1(k)
                    1-p(k)
                                S2                F
                                     r2(k)



Sampling time: Ts                                      9
What’s the model

                               n1(k) , R1
                                            r1(k)
                                  S1                     S
          n*(k), R*    p(k)
  w(k)                                              1-r2(k)
             S*
                               n2(k) , R2           1-r1(k)
                      1-p(k)
                                  S2                     F
                                            r2(k)



Sampling time: Ts                                             9
What’s the model

                               n1(k) , R1
                                            r1(k)
                                  S1                     S
          n*(k), R*    p(k)
  w(k)                                              1-r2(k)
             S*
                               n2(k) , R2           1-r1(k)
                      1-p(k)
                                  S2                     F
                                            r2(k)



Sampling time: Ts                                             9
What’s the model

                               n1(k) , R1              nS(k)
                                            r1(k)
                                  S1                     S
          n*(k), R*    p(k)
  w(k)                                              1-r2(k)
             S*
                               n2(k) , R2           1-r1(k)
                                                        nF(k)
                      1-p(k)
                                  S2                     F
                                            r2(k)



Sampling time: Ts                                               9
What’s the model

                             n1(k) R1
                                 ,                 nS(k)
                                         r1(k)
                                S1                    S
         n*(k) R*
             ,       p(k)
  w(k)                                           1-r2(k)
            S*
                             n2(k), R2              nF(k)
                                                 1-r1(k)
                    1-p(k)
                                S2                    F
                                         r2(k)



Sampling time: Ts                                           9
What’s the model

                               n1(k) , R1              nS(k)
                                            r1(k)
                                  S1                     S
          n*(k), R*    p(k)
  w(k)                                              1-r2(k)
             S*
                               n2(k) , R2           1-r1(k)
                                                        nF(k)
                      1-p(k)
                                  S2                     F
                                            r2(k)



Sampling time: Ts                                               9
What’s the model

                               n1(k) , R1              nS(k)
                                            r1(k)
                                  S1                     S
          n*(k), R*    p(k)
  w(k)                                              1-r2(k)
             S*
                               n2(k) , R2           1-r1(k)
                                                        nF(k)
                      1-p(k)      S2                     F
                                            r2(k)



Sampling time: Ts                                               9
Global picture
                               S1
                         p
w
           S*
                         1-p
                               S2
       p        n1,n2,
                nS,nF

     Controller

                                    10
Controller
Reliability of the system:


                             +




                                 11
Controller
Reliability of the system:


                             +
Controller’s goal:




                                 11
Controller
Reliability of the system:


                             +
Controller’s goal:

                                 = ¯
                       +

                                       11
Controller
Reliability of the system:


                             +
Controller’s goal:

            min(                 ¯ )
                             +

                                       11
Controller
Reliability of the system:


                             +
Controller’s goal:

            min(                 ¯ )
                             +

Controller’s output:
                                       11
How to design the
  controller?




                    12
How to design the
        controller?
The system has to follow its set point




                                         12
How to design the
        controller?
The system has to follow its set point

The system is not linear




                                         12
How to design the
        controller?
The system has to follow its set point

The system is not linear

What are the disturbances of the process?


                                            12
How to design the
         controller?
 The system has to follow its set point

 The system is not linear


What are the disturbances of the process?

                                            12
Disturbances




               13
Disturbances
1.0


0.8


0.6


0.4


0.2                  Fluctuation
 0
      0   5     10    15           20   25   30   35
                           Time step




                                                       13
Disturbances
1.0


0.8


0.6


0.4


0.2                                                            Smooth
 0
        0                     5                      10        15           20   25   30   35
                                                                    Time step
      1.0


      0.8


      0.6


      0.4


      0.2
                Fluctuation
       0
            0   5   10   15           20   25   30        35
                              Time step


                                                                                                14
Disturbances
1.0


0.8


0.6


0.4


0.2                                                                 Sharp
 0
        0                     5                      10        15           20   25                 30                      35
                                                                    Time step
      1.0                                                                        1.0


      0.8                                                                        0.8


      0.6                                                                        0.6


      0.4


      0.2
                Fluctuation                                                      0.4


                                                                                 0.2
                                                                                               Smooth
       0                                                                          0
            0   5   10   15           20   25   30        35                           0   5   10   15           20   25   30    35
                              Time step                                                                  Time step


                                                                                                                                      15
Fluctuation




              16
Fluctuation
Equilibrium n = (n, p, ¯)
            ¯    ¯ ¯ r




                            16
Fluctuation
Equilibrium n = (n, p, ¯)
            ¯    ¯ ¯ r


Linearizing the system around the equilibrium:




                                                 16
Fluctuation
Equilibrium n = (n, p, ¯)
            ¯    ¯ ¯ r


Linearizing the system around the equilibrium:
                                     S1
         w
                                     S2



                                                 16
Fluctuation
Equilibrium n = (n, p, ¯)
            ¯    ¯ ¯ r


Linearizing the system around the equilibrium:
                                     S1
         w
                                     S2

     Standard PI controller
                                                 16
Smooth and sharp
          changes
Auto-tuner: decide the configuration of the PI
     to cope with the given equilibrium




                                                17
Smooth and sharp
          changes
Auto-tuner: decide the configuration of the PI
     to cope with the given equilibrium

     Trade-off between responsiveness
        and overshooting avoidance



                                                17
Smooth and sharp
          changes
Auto-tuner: decide the configuration of the PI
     to cope with the given equilibrium

     Trade-off between responsiveness
        and overshooting avoidance

     Limitation: the goal has to be feasible
                                                17
Multiple alternatives




                        18
Multiple alternatives
       C0

            p   1-p




                        18
Multiple alternatives
             C0

                  p   1-p




   C0                   C0

        p   1-p              p   1-p




                                       18
Multiple alternatives
                       C0

                            p   1-p              Level 1
                                                 Ts
Multirate
controller
             C0                   C0

                  p   1-p              p   1-p   Level 2
                                                 Ts/2

                                                           18
Example
          C0

               p   1-p




C0                   C0

     p   1-p              p   1-p




                                    19
Example
          C0

               p   1-p




C0                   C0

     p   1-p              p   1-p




.5        .7             .6   .95   19
Example
                     C0

                          p   1-p



Goal: .9

           C0                   C0

                p   1-p              p   1-p




           .5        .7             .6   .95   19
Example
                         C0

                              p   1-p



Goal: .9

               C0                   C0
    =      .
                    p   1-p              p   1-p




               .5        .7             .6   .95   19
Example
                         C0

                              p   1-p



Goal: .9

               C0                   C0
    =      .                                       = .   .
                    p   1-p              p   1-p




               .5        .7             .6   .95             19
Example
                         C0
                                             =     .
                              p   1-p



Goal: .9

               C0                   C0
    =      .                                           = .   .
                    p   1-p              p   1-p




               .5        .7             .6   .95                 19
Validation

• Matlab simulation
• Java stand-alone
• J2EE with Spring and AOP



                             20
Validation




             21
Conclusions
Effective
Efficient
Scalable
Formally grounded




                     22
Conclusions
Effective
Efficient
Scalable
Formally grounded

Trade-off reliability/performance
Improve AT
Best tree balancing
Other quantitative properties
                                    22
Try it @Home


    http://filieri.dei.polimi.it/publications/2012-seams/




Partially funded by the European Commission, Programme IDEAS-ERC, Project 227977-SMScom
                                                                                          23
Control Equations




{                   24
Control Equations




{
n( ) =   n(     )     r(     )
         +P(        ) · r(       ) + w(   )

r( ) =   min{tm , n( )}




                                              24
Control Equations




{
n( ) =    n(     )     r(           )
          +P(        ) · r(             ) + w(       )

r( ) =    min{tm , n( )}


                     ( )        (          )
( )=
         ( )    (          )+       ( )          (       )


                                                             24
Control Equations




{
n( ) =    n(      )     r(           )
          +P(         ) · r(             ) + w(       )

r( ) =    min{tm , n( )}


                      ( )        (          )
( )=
         ( )     (          )+       ( )          (       )


               Set point: ¯
                                                              24
Fluctuation




              25
Fluctuation
Equilibrium   n = (n, p, ¯)
              ¯    ¯ ¯ r




                              25
Fluctuation
Equilibrium   n = (n, p, ¯)
              ¯    ¯ ¯ r



                  n( )   =    A n(     )+
Linearized                    B p(      ) + B r(   )
  system          y( )   =    C n( )




                                                       25
Fluctuation
Equilibrium   n = (n, p, ¯)
              ¯    ¯ ¯ r



                  n( )   =    A n(     )+
Linearized                    B p(      ) + B r(   )
  system          y( )   =    C n( )



Z-transform    ( )=
                                                       25
Controller




             26
Controller

Error   ( )=¯   ( )




                      26
Controller

Error          ( )=¯   ( )



Standard PI
         ( )   =   (   )+ (     )· (   )
         ( )   =   ( )+ · ( )



                                           26

More Related Content

PDF
Xs sho niboshi
PPTX
Guided Trajectory Exploration of GT systems presented at PNGT 2010
PDF
Oracle+golden+gate+introduction
PDF
Effects of clearance size on the dynamic response of planar multi body system...
PPTX
A system dynamics approach to transport modelling
PPTX
An introduction to system dynamics & feedback loop
PDF
Artificial Intelligence in games
PDF
Artificial intelligence in gaming.
Xs sho niboshi
Guided Trajectory Exploration of GT systems presented at PNGT 2010
Oracle+golden+gate+introduction
Effects of clearance size on the dynamic response of planar multi body system...
A system dynamics approach to transport modelling
An introduction to system dynamics & feedback loop
Artificial Intelligence in games
Artificial intelligence in gaming.

Viewers also liked (7)

PPTX
Game playing in artificial intelligent technique
PDF
Video Gaming Trends
PPT
Sensors and actuators
PPT
Game Playing in Artificial Intelligence
PPTX
Genetic Algorithm by Example
PPTX
Genetic algorithm
PPT
Genetic algorithm
Game playing in artificial intelligent technique
Video Gaming Trends
Sensors and actuators
Game Playing in Artificial Intelligence
Genetic Algorithm by Example
Genetic algorithm
Genetic algorithm
Ad

Similar to Seams 2012: Reliability-Driven Dynamic Binding via Feedback Control (20)

PDF
Quantitative Analysis For Business Decisions Set1
PDF
Introducing LCS to Digital Design Verification
PPT
Network Information Processing
PPT
Scalability in Software Systems Engineering: The Good, the Bad, and the Ugly ...
PPTX
Zuken - Gigabit LVDS Signaling on a PCB assisted by Simulation and S-Paramete...
PDF
Mc0079 computer based optimization methods(statistics applied or)–-2012
ODP
LOW POWER DIGITAL DESIGN
PDF
The business case for automated software engineering
PPTX
Ad hoc routing
 
PDF
Paderborn
PPT
I07 Simulation
PPT
I07 Simulation
PDF
Spreadsheet Modeling & Decision Analysis
PDF
Ertss2010 multicore scheduling
PDF
Multicore scheduling in automotive ECUs
DOC
Problem 1 – First-Order Predicate Calculus (15 points)
PPTX
Six Sigma Yellow Belt
PDF
AI Lesson 05
PDF
Information Flow and Search in Unstructured Keyword based Social Networks
PDF
GECCO'2006: Bounding XCS’s Parameters for Unbalanced Datasets
Quantitative Analysis For Business Decisions Set1
Introducing LCS to Digital Design Verification
Network Information Processing
Scalability in Software Systems Engineering: The Good, the Bad, and the Ugly ...
Zuken - Gigabit LVDS Signaling on a PCB assisted by Simulation and S-Paramete...
Mc0079 computer based optimization methods(statistics applied or)–-2012
LOW POWER DIGITAL DESIGN
The business case for automated software engineering
Ad hoc routing
 
Paderborn
I07 Simulation
I07 Simulation
Spreadsheet Modeling & Decision Analysis
Ertss2010 multicore scheduling
Multicore scheduling in automotive ECUs
Problem 1 – First-Order Predicate Calculus (15 points)
Six Sigma Yellow Belt
AI Lesson 05
Information Flow and Search in Unstructured Keyword based Social Networks
GECCO'2006: Bounding XCS’s Parameters for Unbalanced Datasets
Ad

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Lesson notes of climatology university.
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
Cell Structure & Organelles in detailed.
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
RMMM.pdf make it easy to upload and study
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
01-Introduction-to-Information-Management.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Sports Quiz easy sports quiz sports quiz
Lesson notes of climatology university.
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
VCE English Exam - Section C Student Revision Booklet
STATICS OF THE RIGID BODIES Hibbelers.pdf
Institutional Correction lecture only . . .
Cell Structure & Organelles in detailed.
Microbial diseases, their pathogenesis and prophylaxis
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
FourierSeries-QuestionsWithAnswers(Part-A).pdf
O7-L3 Supply Chain Operations - ICLT Program
Abdominal Access Techniques with Prof. Dr. R K Mishra
RMMM.pdf make it easy to upload and study
human mycosis Human fungal infections are called human mycosis..pptx

Seams 2012: Reliability-Driven Dynamic Binding via Feedback Control