SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
Building Dynamic Models of Service Compositions
       With Simulation of Provision Resources

                Dragan Ivanovi´1 , Martin Treiber2 ,
                                c
                Manuel Carro 1 , Schahram Dustdar2


                 1   Universidad Polit´cnica de Madrid
                                      e
                      2   Technische Universit¨t Wien
                                              a

S-Cube Industrial Dissemination Workshop, Thales, Paris, 24/2/2012
SOA Context

   Service Orchestrations: centralized control flow, services combined
   to achieve more complex tasks.
       Exposed as services to the outside world — composability.
       Cross organizational boundaries — loose coupling.
       Usually designed around the notion of business processes.
       Events, asynchronous exchanges, stateful conversations.
       Often expressed in a specialized language: BPEL, YAWL, etc.
   Service-Level Agreements (SLAs): constraints that provider and
   client are expected to comply with.
   Providers often implement some type of elasticity (of provision
   resources) to ensure SLA and meet demand in different scenarios for
   load/request rates.
   From the client perspective: attributing perceived QoS to logic,
   components, and/or infrastructure resources is difficult.
Motivation
    SLA offering based on provider’s assesment of the expected behavior
    of the provision system for a given orchestration:
         for different input scenarios,
         with appropriate resource scaling policies.

Goal of this work
Predict dynamic (time-dependent) behavior of service provision with QoS
attributes, taking into account characteristics of the particular composition
being served.

    Given an inflow of requests (data) ⇒ infer how it maps into outflow.
    Taking workflow structure into account ⇒ information on
    behavior/bottlenecks of orchestration components.
    Flows are defined on continuous time domains ⇒ using real (dense)
    functions of time gives dynamic system simulation.
Overview of the of the Approach
   Overview Approach
                                                                  Sensitivity etc.

                                                       Policy Testing


                                               What-If Analysis



                                               QoS Estimates
              Workflow            Monitoring
                                    Data                             Simulation
              Definition


                                                   Dynamic
                                  Petri Net
                                                   Workflow
                                   Model            Model
   Abstract     Exec.
                           YAWL
    BPEL        BPEL
                                                                        Provision
                                                                        Resource
                                                                          Model
Modeling an Orchestration
                              Petri Nets
                              !'()*+,+*-.,/0*,/12*-,   !&
  Petri Nets as intermediate representation:
                         /1,*3()/'4,1-*,15/617-6,
       Used with several front-end languages.
                             /8(-+7/71-,9:1++7;'4,
       Weak constraints on net shape.
                             +/1)0(+/7)(''4,)01+*-<=   #%       !"


  Places (circles) stand for conditions in
                           #8(-+7/71-+,+*-.,/0*,
  workflow execution.                                   !%       #"     #$
                              /12*-,/1,('',1>,/0*78,
       Including start and finish.
                              15/617-6,:'()*+=

  Tokens (dots) denote running instances                        !$
       They mark places.

    Transitions (squares) stand for workflow activities and fire when all
    input places (preconditions) are marked (stochastic choice).
    A step through a Petri net fires all transitions that can fire and
    moves tokens to new places.
Places and Transitions as Flows and Stocks
   PT-nets oversimplify behavior: transition times not taken into
   account (only discrete steps).
   In reality:
       Transitions (activities) take some non-zero time.
       Tokens (orchestration instances) stay in places for a negligible time.
   To recover that dynamics, we use continuous-time models.
                                                        Initial Stock (S0 )



                    Inflow (fi )                       Outflow (fo )
                                         Stock (S)
                              d                              t
               S|t=0 = S0 ,   dt S   = fi − fo ⇔ S = S0 +   0 (fi   − fo )dt

   Transitions → stocks [number of instances of the activity].
   Places → flows [number of instances transiting per second].
m p (t): a new stock ∀p ∈ •m
                                                     ···
                                                                     qt = argmin p∈•m {m p (t)}
Continuous-Time (CT) Model Derivation                                m(t) = mqt (t)
                                                 m                    d
                                                                      dt m p (t) =   p(t)w pm − om (t) , ∀p ∈
                                                                                
                                                  om                                 m(t)/Tm       Tm  0
   Model derivation process mechanical.                              om (t) =
                                                                                     qt (t)wqt m   Tm = 0
       Can be fully automated.
                                                       Fig. 7. ODE scheme for a transition.

   CT scheme for a place:                                     ···
   non-input places aggregate
   outputs from one or more
                                                                p               p(t) = ∑m∈•p {om (t)}
   activities.
                                                           Fig. 8. ODE scheme for a place.
                                                      m p (t): a new stock ∀p ∈ •m
   Slightly more                     ···
                                                       qt = argmin p∈•m {m p (t)}
   complex for                Figure 7 shows a general ODE scheme for a transition m ∈ M w
                                                       m(t) = mqt (t)
   transitions with       input places. With single input place, the transition continuously acc
                                                        d
                                    m
                          from the input place, and discharges them either om (t) , ∀p ∈ •m (Tm =
                                                       dt m p (t) = p(t)w pm − instantaneously
   several input          (Tm  0) through om (t).
                                                                  
                              When a mo transition has omore = m(t)/Tm Tm  0 its execution
   places.                                               m (t) than one input place,
                          smallest number of accumulated tokens. Atqtime Tmq=∈ •m denotes th
                                                                    qt (t)w t m
                                                                                t, t 0
                          which the smallest number of tokens has been accumulated. Because a
                          to collect a token 7. ODE schemeinput transition.fire, the smallest tok
                                         Fig. from all of its for a places to
                          mqt (t) dictates m(t).
                              When the average execution time Tm  0, the outflow om (t) = m(t)
Composability

                                                ···                                                ···
   Modeling asynchronous                  ···                                             ···
                                                           sA                       rA
   message exchange between
                                                 As   sA              Ae       rA                  Ar
   services is easy.
                                          As                    Ae                            Ar


                                     Fig. 10. Asynchronous messaging partner
   We “open” the transition boxes that represent component orscheme.
                                 Fig. 10.
   services and connect their CT-models.Asynchronous messaging scheme.
                                         ···              ···                                                Φ
                                                                                          φm
   Accounting for failure:               ···                         ···                                 Φ
                                                m          ⇒               m             φm
   introduce failure                                                                          1 − φm

   probabilities, and a                  m            ⇒              m
                                                                                         1 − φm
   single failure sink.
                                                Fig. 11. Failure accounting scheme.

                                          Fig. 11. Failure accounting scheme.
                  tions. Both can be built into the model automatically, when translatin
                  orchestration language with known formal semantics. Here we discu
p1
Example: Data Cleansing Service                                                            pin
                                                                                                         A
                                                                                                 Formatter service


                               Format                                                                                         AND-split
                               Service


                                                                                                   p2           p3                            FA                       p1
                             Data Checker
                               Service
                                                                   Calibration
                                                                    Service
                                                                                                                          pin      FormatterService
                                                                                                                                   Calibration service


                                                                                                                          C   Search Service
                                                   Format
                                                              precision not ok                                                                                         AND-split
                                                                                                                                                                     w5p
     Logging                   Search            Service
                                                multiple                                                                               Check Service
     Service                                     hits
                                                         Check Service                                                          w4mh
                               Service                                                     Log Service   B      p4                            E                        p5
                                                                                                                 w4h            w4nh p2 p                p3
                                                                                                                                                       w5nh          w5h               F
                       hit                     no hit     no hit                                                                         6
                                               Data Checker                                Calibration                                                                       Calibration Service
                  Storage                         Service                                   Service
                                                Add Service
                  Service
                                                                                                                                                                 C     Search Service
                                                   hit                                precision not ok
                                                                                                                                              G    Add Service                                            w5p
                  Machine
     HPS          Logging
                   Service
                                    condition     Searchinvoke multiple
                                                  Service           Loop                                                                                                          Check Service
                  Service                                       hits
                                                                                              p8
                                                                                       Check Service            p7                                                          w4mh
                                                  Service                                                                 Log Service          B        p4                             E                    p5
        Service              Service             Parallel Execution                                                                    p9                     pout
                                                                                                                                                         w4h               w4nh        p6     w5nh        w5h
                                         hit                          no hit      no hit             AND-join   (J)                                H
d    Fig. 1. OverviewStorageof data              cleansing process                                                                          Storage Service
   A(t) = pin (t) − p1 (t)                               oF (t) = F (t)/TService
                                                                     Add F                  p1 (t) = A(t)/TA
dt                         Service
                                                                                       Fig. 2. A PT-net representation of workflow
                                                                                        d
  p6 (t) = p4 (t)w4nh + p5 (t)w5nh                       p2 (t) = p1 (t)                  G (t) = p6 (t) − o (t)
                                                                            hit        from Fig. 1 G
                                                                                       dt
d                                                                                                                                                                                      G    Add Service
   B(t) = p2 (t) − p8 (t)     Machine                    oG (t) = G (t)/TG           p8 (t) = B(t)/TB
dt             HPS                                        condition Service invoke              Loop
                              Service                                             d                                                    p8               p7
  p7 (t) = p4 (t)w4h + oG (t) + p5 (t)w5h                p3 (t) = p1 (t) + oF (t)   Jp (t) = p8 (t) − p9 (t)
                                                                                  dt 8
result = p not satisfying (e.g., d J (t)precision (t) thep search result), a re-calibration of the p
 d        is (t) − p (t)            low = p (t) − p of                                                                            pout
    C (t)    3      Service
                     4          Servicep        7 Parallel Execution = C (t)/TC
                                                        9         4 (t)                                         9
search service is done manually and the re-calibrated Service Service is invoked again.
                                                          7
 dt                                dt
  d                                                            d                                  AND-join (J)          H
In parallel, a Logging Service is executed to log service invocations (execution times
 dt
    E (t) = p4 (t)w4mh − p5 (t)       p5 (t) = E (t)/TE
                                                              dt
                                                                 F (t) = p5 (t)w5p − oF (t)

and serviceFig.(t) Overview pof(t) = H(t)/TH
                         1.                data cleansing process(t) Jp (t) ≤ Jp (t)                              Storage Service
 d                 precision).
    H(t) = p9 (t) − pout              out                        p9 (t) =
                                                                           p8                                         8            7

 dt                                                                        p7 (t) Jp (t)  Jp (t)
                                                                                      Fig. 2. A PT-net representation of workflow
      Figure 2 shows a representation of the cleansing process workflow from Figure 1 in                               7            8



the shape of a PT-net. Services from the workflow are markedfrom Fig. 1 (A . . . H),     as transitions
and additional transitions are introduced for the AND-split/join. Places represent the
Checker     0.00  0.00    1.00 0.53    1.00
                             Calibrator 59.00 74.00 78.00 81.73 85.50 13
Preliminary Validation of CT Model
                             Logger      1.00  1.00    1.00 1.00    1.00
                             Adder       0.00  0.00    0.50 0.50    1.00
    CT models can be used to Storage distribution of expected running
                             produce 1.00 1.00         1.00 1.40    2.00
    times by feeding it with single unit spike (a Dirac pulse).
                                    Table 1. Statistical parameters of service substitute
    Assessed by comparing discrete simulations with predictions by CT
    models in a range of simple workflow patterns.



    Data cleansing example
    simulated and compared with
    CT model prediction.
        Reasonable correspondence
        between medians.
        Calibration of the model using
        experimental data is key.



                                          Fig. 13. Distribution of execution times.
Simulation Model for Several Orchestrations
    Several orchestrations can interact through use of common resources.
    Plug CT model(s) of orchestration(s) into simulation framework.
                           Incoming Requests            Te Rejects
                      i
                                  R                              E
                    Tin                    e = R/Te
                                      pin = β · R/Tin
                      β                                              Successful finishes
                                                         pout
                                                                             S
                Resource
                                 Orch. CT Model
                 Model
                                                                             F
                                                         pfail
                                                                          Failures

    Resource model aggregates values from orchestration CT model to
    model provision infrastructure capacity and load.
    Blocking factor (β) quenches request inflow when capacities
    exceeded.
Simulation Model (Cont.)
                    Incoming Requests            Te Rejects
                i
                           R                              E
              Tin                   e = R/Te
                               pin = β · R/Tin
               β                                              Successful finishes
                                                  pout
                                                                      S
         Resource
                          Orch. CT Model
          Model
                                                                      F
                                                  pfail
                                                                   Failures


   Basic accounting for rejects (E ), successes (S) and failures (F ).
   Provides for separation of concerns – separated development of:
       Orchestration model (resource independent).
       Resource model (orchestration independent).
Interactive Simulation
    Simulation model fed to (existing) dynamic simulation tool:




    Simulating concurrently served orchestrations under different input
    regimes.
    QoS regarding running time and reliability “for free”.
         Others (like cost of component services/resources) derivable.
    Typical simulations: what-if, goal-seek, sensitivity.
         Simulation results for compositions/QoS metrics ⇒ potential inputs for
         BP/KPI simulation in service networks tools (e.g. SNAPT of UoC).
         Currently working on simulation tool better tailored for services.
Relation to Monitoring  Adaptation


   Prediction from the simulation ⇒ input for proactive adaptation
       Related to other S-Cube QoS prediction techniques.
       Simulation gives the expected time frame for failure occurences.
   Continuous monitoring: keep model in step with actual behavior.
       E.g. using CEP-based ESPER framework for choreographies
       (USTUTT).
       Revising model parameters with empirical evidence
   Together: dashboards to provide continuous feedback to human
   controllers.
       E.g.: provisioning multi-service applications under varying request rates
       in the work of Chi-Hung Chi (Tsinghua University)
Conclusions

   Dynamic models of service orchestrations with provision resources: a
   handy tool to
       Test scenarios,
       Assess expected QoS,
       Design and validate infrastructure management policies.
   Working on integration with tools for automatic derivation of PT-net
   models from executable orchestration specs.
   Also aiming at modeling elasticity in cloud infrastructures.
   Challenge: cover other, more advanced and data-dependent service
   composition descriptions e.g.:
       Concrete abstract and executable process specifications (e.g., BPEL),
       Colored Petri-nets,
       Other formalisms.
Building Dynamic Models of Service Compositions
       With Simulation of Provision Resources

                Dragan Ivanovi´1 , Martin Treiber2 ,
                                c
                Manuel Carro 1 , Schahram Dustdar2


                 1   Universidad Polit´cnica de Madrid
                                      e
                      2   Technische Universit¨t Wien
                                              a

S-Cube Industrial Dissemination Workshop, Thales, Paris, 24/2/2012

Mais conteúdo relacionado

Mais procurados

fourier representation of signal and systems
fourier representation of signal and systemsfourier representation of signal and systems
fourier representation of signal and systemsSugeng Widodo
 
Dsp U Lec07 Realization Of Discrete Time Systems
Dsp U   Lec07 Realization Of Discrete Time SystemsDsp U   Lec07 Realization Of Discrete Time Systems
Dsp U Lec07 Realization Of Discrete Time Systemstaha25
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsNaughty Dog
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applicationsAgam Goel
 
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformAmr E. Mohamed
 
Live model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matchingLive model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matchingIstvan Rath
 
SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2Naughty Dog
 
SchNet: A continuous-filter convolutional neural network for modeling quantum...
SchNet: A continuous-filter convolutional neural network for modeling quantum...SchNet: A continuous-filter convolutional neural network for modeling quantum...
SchNet: A continuous-filter convolutional neural network for modeling quantum...Kazuki Fujikawa
 
SPU Optimizations-part 1
SPU Optimizations-part 1SPU Optimizations-part 1
SPU Optimizations-part 1Naughty Dog
 
Fft presentation
Fft presentationFft presentation
Fft presentationilker Şin
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformAmr E. Mohamed
 
A Fast Hadamard Transform for Signals with Sub-linear Sparsity
A Fast Hadamard Transform for Signals with Sub-linear SparsityA Fast Hadamard Transform for Signals with Sub-linear Sparsity
A Fast Hadamard Transform for Signals with Sub-linear SparsityRobin Scheibler
 
"PyTorch Deep Learning Framework: Status and Directions," a Presentation from...
"PyTorch Deep Learning Framework: Status and Directions," a Presentation from..."PyTorch Deep Learning Framework: Status and Directions," a Presentation from...
"PyTorch Deep Learning Framework: Status and Directions," a Presentation from...Edge AI and Vision Alliance
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transformop205
 
An Intuitive Approach to Fourier Optics
An Intuitive Approach to Fourier OpticsAn Intuitive Approach to Fourier Optics
An Intuitive Approach to Fourier Opticsjose0055
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huangSagar Ahir
 
Simulation of a_pmsm_motor_control_system
Simulation of a_pmsm_motor_control_systemSimulation of a_pmsm_motor_control_system
Simulation of a_pmsm_motor_control_systemmaheshwareshwar
 

Mais procurados (20)

fourier representation of signal and systems
fourier representation of signal and systemsfourier representation of signal and systems
fourier representation of signal and systems
 
Dsp U Lec07 Realization Of Discrete Time Systems
Dsp U   Lec07 Realization Of Discrete Time SystemsDsp U   Lec07 Realization Of Discrete Time Systems
Dsp U Lec07 Realization Of Discrete Time Systems
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applications
 
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
 
Live model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matchingLive model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matching
 
SPU Optimizations - Part 2
SPU Optimizations - Part 2SPU Optimizations - Part 2
SPU Optimizations - Part 2
 
SchNet: A continuous-filter convolutional neural network for modeling quantum...
SchNet: A continuous-filter convolutional neural network for modeling quantum...SchNet: A continuous-filter convolutional neural network for modeling quantum...
SchNet: A continuous-filter convolutional neural network for modeling quantum...
 
SPU Optimizations-part 1
SPU Optimizations-part 1SPU Optimizations-part 1
SPU Optimizations-part 1
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Fft presentation
Fft presentationFft presentation
Fft presentation
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
 
A Fast Hadamard Transform for Signals with Sub-linear Sparsity
A Fast Hadamard Transform for Signals with Sub-linear SparsityA Fast Hadamard Transform for Signals with Sub-linear Sparsity
A Fast Hadamard Transform for Signals with Sub-linear Sparsity
 
"PyTorch Deep Learning Framework: Status and Directions," a Presentation from...
"PyTorch Deep Learning Framework: Status and Directions," a Presentation from..."PyTorch Deep Learning Framework: Status and Directions," a Presentation from...
"PyTorch Deep Learning Framework: Status and Directions," a Presentation from...
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
 
An Intuitive Approach to Fourier Optics
An Intuitive Approach to Fourier OpticsAn Intuitive Approach to Fourier Optics
An Intuitive Approach to Fourier Optics
 
Dive Into PyTorch
Dive Into PyTorchDive Into PyTorch
Dive Into PyTorch
 
Ff tand matlab-wanjun huang
Ff tand matlab-wanjun huangFf tand matlab-wanjun huang
Ff tand matlab-wanjun huang
 
Dsp Lab Record
Dsp Lab RecordDsp Lab Record
Dsp Lab Record
 
Simulation of a_pmsm_motor_control_system
Simulation of a_pmsm_motor_control_systemSimulation of a_pmsm_motor_control_system
Simulation of a_pmsm_motor_control_system
 

Destaque

Реклама handmade бутика
Реклама handmade бутикаРеклама handmade бутика
Реклама handmade бутикаAnton Saburov
 
Реферальный маркетинг
Реферальный маркетингРеферальный маркетинг
Реферальный маркетингAnton Saburov
 
Презентация магазина стильных трсотей trosti.net
Презентация магазина стильных трсотей trosti.netПрезентация магазина стильных трсотей trosti.net
Презентация магазина стильных трсотей trosti.netAnton Saburov
 
Xelvin Research and Development
Xelvin Research and DevelopmentXelvin Research and Development
Xelvin Research and DevelopmentMonique Sanders
 
Мобильный маркетинг
Мобильный маркетингМобильный маркетинг
Мобильный маркетингAnton Saburov
 
Презентация для форума начинающих предпринимателей в Чеябинске
Презентация для форума начинающих предпринимателей в ЧеябинскеПрезентация для форума начинающих предпринимателей в Чеябинске
Презентация для форума начинающих предпринимателей в ЧеябинскеAnton Saburov
 
1998 advanced firedesign
1998 advanced firedesign1998 advanced firedesign
1998 advanced firedesigntanhoi2000
 
Exercise 13 - Pharmacy 3 Laboratory
Exercise 13 - Pharmacy 3 LaboratoryExercise 13 - Pharmacy 3 Laboratory
Exercise 13 - Pharmacy 3 Laboratoryeckotanglao
 

Destaque (8)

Реклама handmade бутика
Реклама handmade бутикаРеклама handmade бутика
Реклама handmade бутика
 
Реферальный маркетинг
Реферальный маркетингРеферальный маркетинг
Реферальный маркетинг
 
Презентация магазина стильных трсотей trosti.net
Презентация магазина стильных трсотей trosti.netПрезентация магазина стильных трсотей trosti.net
Презентация магазина стильных трсотей trosti.net
 
Xelvin Research and Development
Xelvin Research and DevelopmentXelvin Research and Development
Xelvin Research and Development
 
Мобильный маркетинг
Мобильный маркетингМобильный маркетинг
Мобильный маркетинг
 
Презентация для форума начинающих предпринимателей в Чеябинске
Презентация для форума начинающих предпринимателей в ЧеябинскеПрезентация для форума начинающих предпринимателей в Чеябинске
Презентация для форума начинающих предпринимателей в Чеябинске
 
1998 advanced firedesign
1998 advanced firedesign1998 advanced firedesign
1998 advanced firedesign
 
Exercise 13 - Pharmacy 3 Laboratory
Exercise 13 - Pharmacy 3 LaboratoryExercise 13 - Pharmacy 3 Laboratory
Exercise 13 - Pharmacy 3 Laboratory
 

Semelhante a Upm scube-dynsys-presentation

Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosluzenith_g
 
Deuce STM - CMP'09
Deuce STM - CMP'09Deuce STM - CMP'09
Deuce STM - CMP'09Guy Korland
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusNANDINI SHARMA
 
Module 1 notes of data warehousing and data
Module 1 notes of data warehousing and dataModule 1 notes of data warehousing and data
Module 1 notes of data warehousing and datavijipersonal2012
 
A Proposition for Business Process Modeling
A Proposition for Business Process ModelingA Proposition for Business Process Modeling
A Proposition for Business Process ModelingAng Chen
 
Software transactional memory. pure functional approach
Software transactional memory. pure functional approachSoftware transactional memory. pure functional approach
Software transactional memory. pure functional approachAlexander Granin
 
Data Structure and Algorithms
Data Structure and Algorithms Data Structure and Algorithms
Data Structure and Algorithms ManishPrajapati78
 
Options and trade offs for parallelism and concurrency in Modern C++
Options and trade offs for parallelism and concurrency in Modern C++Options and trade offs for parallelism and concurrency in Modern C++
Options and trade offs for parallelism and concurrency in Modern C++Satalia
 
Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to AlgorithmsVenkatesh Iyer
 
Hamilton-Jacobi approach for second order traffic flow models
Hamilton-Jacobi approach for second order traffic flow modelsHamilton-Jacobi approach for second order traffic flow models
Hamilton-Jacobi approach for second order traffic flow modelsGuillaume Costeseque
 
Data Structure & Algorithms - Mathematical
Data Structure & Algorithms - MathematicalData Structure & Algorithms - Mathematical
Data Structure & Algorithms - Mathematicalbabuk110
 
Course-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfCourse-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfShreeDevi42
 
Advanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfAdvanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfHariPrasad314745
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexityAnkit Katiyar
 
time_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdftime_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdfSrinivasaReddyPolamR
 
19. algorithms and-complexity
19. algorithms and-complexity19. algorithms and-complexity
19. algorithms and-complexityshowkat27
 

Semelhante a Upm scube-dynsys-presentation (20)

Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmos
 
Alg1
Alg1Alg1
Alg1
 
Deuce STM - CMP'09
Deuce STM - CMP'09Deuce STM - CMP'09
Deuce STM - CMP'09
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV Syllabus
 
Module 1 notes of data warehousing and data
Module 1 notes of data warehousing and dataModule 1 notes of data warehousing and data
Module 1 notes of data warehousing and data
 
A Proposition for Business Process Modeling
A Proposition for Business Process ModelingA Proposition for Business Process Modeling
A Proposition for Business Process Modeling
 
Lec1
Lec1Lec1
Lec1
 
Software transactional memory. pure functional approach
Software transactional memory. pure functional approachSoftware transactional memory. pure functional approach
Software transactional memory. pure functional approach
 
PS
PSPS
PS
 
Data Structure and Algorithms
Data Structure and Algorithms Data Structure and Algorithms
Data Structure and Algorithms
 
Options and trade offs for parallelism and concurrency in Modern C++
Options and trade offs for parallelism and concurrency in Modern C++Options and trade offs for parallelism and concurrency in Modern C++
Options and trade offs for parallelism and concurrency in Modern C++
 
Introduction to Algorithms
Introduction to AlgorithmsIntroduction to Algorithms
Introduction to Algorithms
 
Hamilton-Jacobi approach for second order traffic flow models
Hamilton-Jacobi approach for second order traffic flow modelsHamilton-Jacobi approach for second order traffic flow models
Hamilton-Jacobi approach for second order traffic flow models
 
Data Structure & Algorithms - Mathematical
Data Structure & Algorithms - MathematicalData Structure & Algorithms - Mathematical
Data Structure & Algorithms - Mathematical
 
Course-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdfCourse-Notes__Advanced-DSP.pdf
Course-Notes__Advanced-DSP.pdf
 
Advanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdfAdvanced_DSP_J_G_Proakis.pdf
Advanced_DSP_J_G_Proakis.pdf
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
 
time_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdftime_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdf
 
Lec1
Lec1Lec1
Lec1
 
19. algorithms and-complexity
19. algorithms and-complexity19. algorithms and-complexity
19. algorithms and-complexity
 

Último

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Último (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Upm scube-dynsys-presentation

  • 1. Building Dynamic Models of Service Compositions With Simulation of Provision Resources Dragan Ivanovi´1 , Martin Treiber2 , c Manuel Carro 1 , Schahram Dustdar2 1 Universidad Polit´cnica de Madrid e 2 Technische Universit¨t Wien a S-Cube Industrial Dissemination Workshop, Thales, Paris, 24/2/2012
  • 2. SOA Context Service Orchestrations: centralized control flow, services combined to achieve more complex tasks. Exposed as services to the outside world — composability. Cross organizational boundaries — loose coupling. Usually designed around the notion of business processes. Events, asynchronous exchanges, stateful conversations. Often expressed in a specialized language: BPEL, YAWL, etc. Service-Level Agreements (SLAs): constraints that provider and client are expected to comply with. Providers often implement some type of elasticity (of provision resources) to ensure SLA and meet demand in different scenarios for load/request rates. From the client perspective: attributing perceived QoS to logic, components, and/or infrastructure resources is difficult.
  • 3. Motivation SLA offering based on provider’s assesment of the expected behavior of the provision system for a given orchestration: for different input scenarios, with appropriate resource scaling policies. Goal of this work Predict dynamic (time-dependent) behavior of service provision with QoS attributes, taking into account characteristics of the particular composition being served. Given an inflow of requests (data) ⇒ infer how it maps into outflow. Taking workflow structure into account ⇒ information on behavior/bottlenecks of orchestration components. Flows are defined on continuous time domains ⇒ using real (dense) functions of time gives dynamic system simulation.
  • 4. Overview of the of the Approach Overview Approach Sensitivity etc. Policy Testing What-If Analysis QoS Estimates Workflow Monitoring Data Simulation Definition Dynamic Petri Net Workflow Model Model Abstract Exec. YAWL BPEL BPEL Provision Resource Model
  • 5. Modeling an Orchestration Petri Nets !'()*+,+*-.,/0*,/12*-, !& Petri Nets as intermediate representation: /1,*3()/'4,1-*,15/617-6, Used with several front-end languages. /8(-+7/71-,9:1++7;'4, Weak constraints on net shape. +/1)0(+/7)(''4,)01+*-<= #% !" Places (circles) stand for conditions in #8(-+7/71-+,+*-.,/0*, workflow execution. !% #" #$ /12*-,/1,('',1>,/0*78, Including start and finish. 15/617-6,:'()*+= Tokens (dots) denote running instances !$ They mark places. Transitions (squares) stand for workflow activities and fire when all input places (preconditions) are marked (stochastic choice). A step through a Petri net fires all transitions that can fire and moves tokens to new places.
  • 6. Places and Transitions as Flows and Stocks PT-nets oversimplify behavior: transition times not taken into account (only discrete steps). In reality: Transitions (activities) take some non-zero time. Tokens (orchestration instances) stay in places for a negligible time. To recover that dynamics, we use continuous-time models. Initial Stock (S0 ) Inflow (fi ) Outflow (fo ) Stock (S) d t S|t=0 = S0 , dt S = fi − fo ⇔ S = S0 + 0 (fi − fo )dt Transitions → stocks [number of instances of the activity]. Places → flows [number of instances transiting per second].
  • 7. m p (t): a new stock ∀p ∈ •m ··· qt = argmin p∈•m {m p (t)} Continuous-Time (CT) Model Derivation m(t) = mqt (t) m d dt m p (t) = p(t)w pm − om (t) , ∀p ∈ om m(t)/Tm Tm 0 Model derivation process mechanical. om (t) = qt (t)wqt m Tm = 0 Can be fully automated. Fig. 7. ODE scheme for a transition. CT scheme for a place: ··· non-input places aggregate outputs from one or more p p(t) = ∑m∈•p {om (t)} activities. Fig. 8. ODE scheme for a place. m p (t): a new stock ∀p ∈ •m Slightly more ··· qt = argmin p∈•m {m p (t)} complex for Figure 7 shows a general ODE scheme for a transition m ∈ M w m(t) = mqt (t) transitions with input places. With single input place, the transition continuously acc d m from the input place, and discharges them either om (t) , ∀p ∈ •m (Tm = dt m p (t) = p(t)w pm − instantaneously several input (Tm 0) through om (t). When a mo transition has omore = m(t)/Tm Tm 0 its execution places. m (t) than one input place, smallest number of accumulated tokens. Atqtime Tmq=∈ •m denotes th qt (t)w t m t, t 0 which the smallest number of tokens has been accumulated. Because a to collect a token 7. ODE schemeinput transition.fire, the smallest tok Fig. from all of its for a places to mqt (t) dictates m(t). When the average execution time Tm 0, the outflow om (t) = m(t)
  • 8. Composability ··· ··· Modeling asynchronous ··· ··· sA rA message exchange between As sA Ae rA Ar services is easy. As Ae Ar Fig. 10. Asynchronous messaging partner We “open” the transition boxes that represent component orscheme. Fig. 10. services and connect their CT-models.Asynchronous messaging scheme. ··· ··· Φ φm Accounting for failure: ··· ··· Φ m ⇒ m φm introduce failure 1 − φm probabilities, and a m ⇒ m 1 − φm single failure sink. Fig. 11. Failure accounting scheme. Fig. 11. Failure accounting scheme. tions. Both can be built into the model automatically, when translatin orchestration language with known formal semantics. Here we discu
  • 9. p1 Example: Data Cleansing Service pin A Formatter service Format AND-split Service p2 p3 FA p1 Data Checker Service Calibration Service pin FormatterService Calibration service C Search Service Format precision not ok AND-split w5p Logging Search Service multiple Check Service Service hits Check Service w4mh Service Log Service B p4 E p5 w4h w4nh p2 p p3 w5nh w5h F hit no hit no hit 6 Data Checker Calibration Calibration Service Storage Service Service Add Service Service C Search Service hit precision not ok G Add Service w5p Machine HPS Logging Service condition Searchinvoke multiple Service Loop Check Service Service hits p8 Check Service p7 w4mh Service Log Service B p4 E p5 Service Service Parallel Execution p9 pout w4h w4nh p6 w5nh w5h hit no hit no hit AND-join (J) H d Fig. 1. OverviewStorageof data cleansing process Storage Service A(t) = pin (t) − p1 (t) oF (t) = F (t)/TService Add F p1 (t) = A(t)/TA dt Service Fig. 2. A PT-net representation of workflow d p6 (t) = p4 (t)w4nh + p5 (t)w5nh p2 (t) = p1 (t) G (t) = p6 (t) − o (t) hit from Fig. 1 G dt d G Add Service B(t) = p2 (t) − p8 (t) Machine oG (t) = G (t)/TG p8 (t) = B(t)/TB dt HPS condition Service invoke Loop Service d p8 p7 p7 (t) = p4 (t)w4h + oG (t) + p5 (t)w5h p3 (t) = p1 (t) + oF (t) Jp (t) = p8 (t) − p9 (t) dt 8 result = p not satisfying (e.g., d J (t)precision (t) thep search result), a re-calibration of the p d is (t) − p (t) low = p (t) − p of pout C (t) 3 Service 4 Servicep 7 Parallel Execution = C (t)/TC 9 4 (t) 9 search service is done manually and the re-calibrated Service Service is invoked again. 7 dt dt d d AND-join (J) H In parallel, a Logging Service is executed to log service invocations (execution times dt E (t) = p4 (t)w4mh − p5 (t) p5 (t) = E (t)/TE dt F (t) = p5 (t)w5p − oF (t) and serviceFig.(t) Overview pof(t) = H(t)/TH 1. data cleansing process(t) Jp (t) ≤ Jp (t) Storage Service d precision). H(t) = p9 (t) − pout out p9 (t) = p8 8 7 dt p7 (t) Jp (t) Jp (t) Fig. 2. A PT-net representation of workflow Figure 2 shows a representation of the cleansing process workflow from Figure 1 in 7 8 the shape of a PT-net. Services from the workflow are markedfrom Fig. 1 (A . . . H), as transitions and additional transitions are introduced for the AND-split/join. Places represent the
  • 10. Checker 0.00 0.00 1.00 0.53 1.00 Calibrator 59.00 74.00 78.00 81.73 85.50 13 Preliminary Validation of CT Model Logger 1.00 1.00 1.00 1.00 1.00 Adder 0.00 0.00 0.50 0.50 1.00 CT models can be used to Storage distribution of expected running produce 1.00 1.00 1.00 1.40 2.00 times by feeding it with single unit spike (a Dirac pulse). Table 1. Statistical parameters of service substitute Assessed by comparing discrete simulations with predictions by CT models in a range of simple workflow patterns. Data cleansing example simulated and compared with CT model prediction. Reasonable correspondence between medians. Calibration of the model using experimental data is key. Fig. 13. Distribution of execution times.
  • 11. Simulation Model for Several Orchestrations Several orchestrations can interact through use of common resources. Plug CT model(s) of orchestration(s) into simulation framework. Incoming Requests Te Rejects i R E Tin e = R/Te pin = β · R/Tin β Successful finishes pout S Resource Orch. CT Model Model F pfail Failures Resource model aggregates values from orchestration CT model to model provision infrastructure capacity and load. Blocking factor (β) quenches request inflow when capacities exceeded.
  • 12. Simulation Model (Cont.) Incoming Requests Te Rejects i R E Tin e = R/Te pin = β · R/Tin β Successful finishes pout S Resource Orch. CT Model Model F pfail Failures Basic accounting for rejects (E ), successes (S) and failures (F ). Provides for separation of concerns – separated development of: Orchestration model (resource independent). Resource model (orchestration independent).
  • 13. Interactive Simulation Simulation model fed to (existing) dynamic simulation tool: Simulating concurrently served orchestrations under different input regimes. QoS regarding running time and reliability “for free”. Others (like cost of component services/resources) derivable. Typical simulations: what-if, goal-seek, sensitivity. Simulation results for compositions/QoS metrics ⇒ potential inputs for BP/KPI simulation in service networks tools (e.g. SNAPT of UoC). Currently working on simulation tool better tailored for services.
  • 14. Relation to Monitoring Adaptation Prediction from the simulation ⇒ input for proactive adaptation Related to other S-Cube QoS prediction techniques. Simulation gives the expected time frame for failure occurences. Continuous monitoring: keep model in step with actual behavior. E.g. using CEP-based ESPER framework for choreographies (USTUTT). Revising model parameters with empirical evidence Together: dashboards to provide continuous feedback to human controllers. E.g.: provisioning multi-service applications under varying request rates in the work of Chi-Hung Chi (Tsinghua University)
  • 15. Conclusions Dynamic models of service orchestrations with provision resources: a handy tool to Test scenarios, Assess expected QoS, Design and validate infrastructure management policies. Working on integration with tools for automatic derivation of PT-net models from executable orchestration specs. Also aiming at modeling elasticity in cloud infrastructures. Challenge: cover other, more advanced and data-dependent service composition descriptions e.g.: Concrete abstract and executable process specifications (e.g., BPEL), Colored Petri-nets, Other formalisms.
  • 16. Building Dynamic Models of Service Compositions With Simulation of Provision Resources Dragan Ivanovi´1 , Martin Treiber2 , c Manuel Carro 1 , Schahram Dustdar2 1 Universidad Polit´cnica de Madrid e 2 Technische Universit¨t Wien a S-Cube Industrial Dissemination Workshop, Thales, Paris, 24/2/2012