SlideShare a Scribd company logo
S-Cube Learning Package

            Service Level Agreements:
Runtime Prediction of SLA Violations Based
          on Service Event Logs


  TU Wien (TUW), University of Stuttgart (USTUTT)


               Philipp Leitner, TUW


                  www.s-cube-network.eu
Learning Package Categorization


                         S-Cube



                SBA Quality Management



         Quality Assurance and Quality Prediction



          Runtime Prediction of SLA Violations
             Based on Service Event Logs
                                                    © S-Cube
Learning Package Overview



 Problem Description
 Event-Based Runtime Prediction
 Discussion
 Conclusions




                                   © S-Cube
Let’s Consider a Scenario (1)

 Assume you are a provider of a composite service
 Commercial customers order products via a Web service
  interface
 Your process checks an internal stock, orders some missing
  parts, and assembles the product
                                               [everything
                                                              Get Payment Charge
                                                available]
                                                                 Prefs    Customer
              Receive             Select
               Order             Supplier


                        Check
                                               Order From
                        Stock   [no supplier                      Ship Order
                                               Supplier 1
                                 available]


                                               Order From
                                               Supplier 2



                                               Cancel Order

                                                                               © S-Cube
Let’s Consider a Scenario (2)

 (Of course) there are contractual obligations
   – Delivery in time
   – Availability of your service
   – Product quality


 These can be formulated using Service Level Agreements
   – Note: in this context not necessarily
     WSLA style machine processable
     SLAs – can also be just regular
     contracts                                                                [everything
                                                                               available]
                                                                                             Get Payment Charge
                                                                                                Prefs    Customer
                                             Receive             Select
                                              Order             Supplier


                                                       Check
                                                                              Order From
                                                       Stock   [no supplier                      Ship Order
                                                                              Supplier 1
                                                                available]


                                                                              Order From
                                                                              Supplier 2



                                                                              Cancel Order




                                                                                                © S-Cube
Let’s Consider a Scenario (3)

 As a provider, you want to receive timely notifications if these
  obligations are likely to be violated
   – Usually there are penalties to be paid if contractual obligations are
     (repeatedly) violated
   – Even if this is not the case, customer satisfaction will suffer and
     existing customers may terminate their contracts



 Based on this notifications …
                                                                                   !
                                                                    [everything
    – … countermeasures can be taken (i.e.,
                                   Receive             Select
                                                                     available]
                                                                                       Get Payment Charge
                                                                                          Prefs    Customer


      adaptations can be triggered) Order             Supplier



    – … customers can be notified
                                             Check
                                                                    Order From
                                             Stock   [no supplier                          Ship Order
                                                                    Supplier 1
                                                      available]


                                                                    Order From
                                                                    Supplier 2



                                                                    Cancel Order

                                                                                              © S-Cube
Learning Package Overview



 Problem Description
 Event-Based Runtime Prediction
 Discussion
 Conclusions




                                   © S-Cube
One S-Cube Approach:
Predictions from Event-Log Data


1. Define Checkpoints in the service composition
2. If checkpoints are passed, collect all (important and
   available) runtime data …
3. … enrich with estimations for missing data (if possible) …
4. … and use Machine Learning techniques to generate
   predictions for objectives




                                                           © S-Cube
Necessary Inputs



 Evidently, there are some (not unreasonable) assumptions:


   1. The provider needs to define a sensible checkpoint for prediction
      (  quality / timeliness tradeoff ! )
   2. Important runtime data needs to be defined and monitored
   3. Optimally, some estimations for data still missing in the checkpoint is
      available
   4. The system needs to be initialized with some historical data
      (  to learn the Machine Learning model that implements the actual
      prediction)




                                                                      © S-Cube
Types of Runtime Data

 Data that is used to generate predictions can be categorized
  along 2 dimensions


 Data Availability in Checkpoint
   – Available (facts)
   – Not available, but estimatable (estimates)
   – Not available (unknown)

 Type of Runtime Data
   – External data (not monitorable, needs to be provided by external data
     sources)
   – Quality-of-Service information
   – Domain-specific instance data (e.g., KPIs)

                                                                    © S-Cube
Defining Checkpoints (1)

                          Facts:         {Customer, OrderedProduct, ...}            {AssemblingTime, QoS_ExtSupplier, ...}
        Data

                          Estimates:     {QoS_ExtSupplier, QoS_Warehouse, ...}      {QoS_BankingService, ...}
                          Unknown:       {InStock, PaymentPrefs, ...}               {PaymentPrefs, DeliveryTimeShipment}



                                                                   Order                                  Ship
                                       Receive                   Unavailable              Quality
   Composition




                                        RFQ                        Parts                  Control
     Service




                                                      Produce
                                                                               Assemble
                                                       Offer
                                                                                                          Charge
                                                                                                         Customer

                                                                                      Prediction
                                                                                        Error
   Quality / Timeliness
         Tradeoff




                                                                                                         Time for
                                                                                                         Reaction




                                                 C1                                                 C2

                                                                                                                             © S-Cube
Defining Checkpoints (2)

 There is a tradeoff to consider when defining checkpoints
   – Early checkpoints are attractive as they allow for more / better
     reactions  there simply is more time left
   – Later checkpoints are attractive as the prediction quality generally
     improves with time


 Providers need to identify a
  checkpoint where …                                              Facts:         {Customer, OrderedProduct, ...}            {AssemblingTime, QoS_ExtSupplier, ...}




                                                Data
                                                                  Estimates:     {QoS_ExtSupplier, QoS_Warehouse, ...}      {QoS_BankingService, ...}



   – … the most important Factors of
                                                                  Unknown:       {InStock, PaymentPrefs, ...}               {PaymentPrefs, DeliveryTimeShipment}



                                                                                                           Order                                  Ship

     Influence are already available                                           Receive                   Unavailable              Quality




                                           Composition
                                                                                RFQ                        Parts                  Control




                                             Service
   – … adaptation is still possible
                                                                                              Produce
                                                                                                                       Assemble
                                                                                               Offer
                                                                                                                                                  Charge
                                                                                                                                                 Customer

                                                                                                                              Prediction
                                                                                                                                Error
                                           Quality / Timeliness
                                                 Tradeoff




                                                                                                                                                 Time for
                                                                                                                                                 Reaction




                                                                                         C1                                                 C2



                                                                                                                                                     © S-Cube
Background:
Factors of Influence

 Factors of Influence of business processes are the main
  factors that lead to performance problems
 Knowing these factors is essential for targeted optimization of
  business processes
   – i.e., if a factor is known to lead to performance problems optimization
     needs to minimize this factor

 Research work on identifying Factors of Influence:
   Wetzstein, Leitner, Rosenberg, Brandic, Dustdar, and Leymann. Monitoring and Analyzing Influential Factors
   of Business Process Performance. In Proceedings of the 13th IEEE international conference on Enterprise
   Distributed Object Computing
   (EDOC'09). IEEE Press, Piscataway, NJ, USA, 118-127.

   Bodenstaff, Wombacher, Reichert, and Jaeger. Monitoring Dependencies for SLAs: The MoDe4SLA Approach.
   In Proceedings of the 2008 IEEE International Conference on Services Computing (SCC'08). IEEE Computer
   Society, Washington, DC, USA, 21-29.




                                                                                                                © S-Cube
Estimates and External Data

 One novelty of our approach: missing data can be
  supplemented via Estimates
   – Simple example:
      - the response time of a service that is invoked after the Checkpoint
        cannot be monitored …
      - … but of course we can assume that the response time will be
        similar to the measured average response time of this service
      -  the average response time can be used as an Estimate for this
        unknown Factor of Influence

 Technically, Estimates are not monitored from event streams
  but provided by dedicated estimator components
 Similarly, external data can be included via External Data
  Providers

                                                                     © S-Cube
Event-Based Monitoring

 In order to be used for prediction, runtime data needs to be
  monitored
 Event-based monitoring is an often-used idea to implement
  this
 Basic principle:
     Register for and receive some lifecycle events from the service
     composition and use Complex Event Processing (CEP) to extract
     monitoring data from raw event data.



 Can be used to monitor both QoS and domain-specific data



                                                                  © S-Cube
Implementing Event-Based Monitoring:
Lifecycle Events (1)


 Many composition engines emit lifecycle (status) events
 Example 1: Apache ODE WS-BPEL Engine
   – Currently emits 23 different types of events, including
     ActivityExecStartEvent, ActivityExecEndEvent, VariableModificationEvent, …
   – Full list available online



 Example 2: Windows Workflow Foundation Tracking Service
   – Emits a smaller number of events by default, but user-defined events
     can be emitted at any time in a service composition




                                                                        © S-Cube
Implementing Event-Based Monitoring:
Lifecycle Events (2)
 These low-level lifecycle events can be aggregated to
  produce meaningful higher-level metrics (event processing)
   – Example 1: the execution time of the supplier service is the timestamp
     of the ‘activity-ended’ event minus the timestamp of the respective
     ‘activity-started’ event
   – Example 2: the customer identifier of the customer who put the order
     can be retrieved from the response message contained in a specific
     ‘variable-assigned’ event
   – Example 3: the average failure rate of the shipping service is defined
     as the number of ‘failed-execution’ events divided by the number of
     ‘execution-started’ events

 However, event aggregation middleware necessary to do the
  necessary calculations on the event streams
 One possibility: SOA Event Engine implemented in VRESCo
                                                                     © S-Cube
Background:
The VRESCo SOA Runtime (1)

 In S-Cube we used the VRESCo SOA Runtime Environment
  as basis for this research
                Service
                 Client                                          VRESCo Runtime Environment
                                           Query
                                         Interface                      Query
     VRESCo Client Library                                              Engine
                       Client   SOAP
                                                                                               Event
       Daios                            Notification                                          Database
                      Factory            Interface                    Notification
                                                                       Engine
                                        Publishing
                                         Interface




                                                       Control
                                                       Access
                                                                      Publishing/




                                                                                      Layer
                                                                                      ORM
       invoke
                      QoS                                              Metadata               Registry
                                SOAP
                     Monitor             Metadata                      Service                Database
                                         Interface
                                       Management
                      measure           Interface                    Management
                                                                       Service

                                       Composition
                                                                                              Certificate
                                        Interface                    Composition                Store
          Services                                                     Engine




                                                                                                      © S-Cube
Background:
The VRESCo SOA Runtime (2)

 VRESCo is a registry with explicit support for Quality-of-
  Service and dynamic binding of services
 Additionally, it’s very easy to build dynamic, loosely coupled
  service compositions based on Workflow Foundation (WF)
  technology in VRESCo

 These WF based compositions
  emit lifecycle events as                      Service

  discussed before using the                     Client

                                                                           Query
                                                                         Interface
                                                                                                 VRESCo Runtime Environment

                                                                                                        Query
                                     VRESCo Client Library

  VRESCo Event Engine, a
                                                                                                        Engine
                                                       Client   SOAP
                                                                                                                               Event
                                       Daios                            Notification                                          Database
                                                      Factory            Interface                    Notification


  complex event processing
                                                                                                       Engine
                                                                        Publishing
                                                                         Interface




                                                                                       Control
                                                                                       Access
                                                                                                      Publishing/




                                                                                                                      Layer
                                                                                                                      ORM
                                                      QoS                                              Metadata               Registry

  engine based on NEsper
                                       invoke                   SOAP
                                                     Monitor             Metadata                      Service                Database
                                                                         Interface
                                                                       Management
                                                      measure           Interface                    Management
                                                                                                       Service

                                                                       Composition
                                                                                                                              Certificate
                                                                        Interface                    Composition                Store
                                          Services                                                     Engine




                                                                                                                       © S-Cube
Background:
The VRESCo SOA Runtime (3)

 Check the following S-Cube paper for more information on
  VRESCo:

 Michlmayr, Rosenberg, Leitner, and Dustdar. End-to-End Support for QoS-Aware Service Selection, Binding,
 and Mediation in VRESCo. IEEE Transactions on Services Computing 3, 3 (July 2010), 193-205.




 The VRESCo Event Engine, which has been used as basis
  for runtime data monitoring, has been introduced in the
  following earlier publication:

 Michlmayr, Rosenberg, Leitner, and Dustdar. Advanced Event Processing and Notifications in Service Runtime
 Environments. In Proceedings of the Second International Conference on Distributed Event-Based Systems
 (DEBS '08). ACM, New York, NY, USA, 115-125.




                                                                                                              © S-Cube
Architectural Overview of Prediction (1)




                                           © S-Cube
Architectural Overview of Prediction (2)

1. Define Checkpoint as discussed before
2. Define important Factors of Influence and monitor them
3. Train Machine Learning model from monitored data
   –   For quantitative objectives (e.g., execution time of composition) we
       use Artificial Neural Networks
   –   For qualitative objectives (e.g., quality of product) we use Decision
       Trees

4. In Checkpoint, generate
   predictions using trained model




                                                                       © S-Cube
Background:
Machine Learning (1)
 Machine Learning is a branch of computer science that deals
  with algorithms that learn dependencies and relationships
  from data
 The basic principle is the idea of generalization, i.e., Machine
  Learning algorithms aim at finding general rules and relations
  in concrete data sets
 Machine Learning is usually a two-step procedure:
   1. Firstly, a predictor is learned from a training set
   2. Secondly, the predictor can be applied to not-yet-seen data

 There is a plethora of algorithms available for all kinds of
  purposes, but in S-Cube we focused on Artificial Neural
  Networks and Decision Trees

                                                                    © S-Cube
Background:
Machine Learning (2)
 Artificial Neural Networks implement regression functions in a
  bio-inspired way




 Decision Trees implement classification functions using a
  simple tree structure




                                                          © S-Cube
How Accurate is my Prediction? (1)



 Quality of predictor can be evaluated in two ways:
   – Past data based (how well performs the predictor based on the
     existing training data?)
   – Future data based (how well performs the predictor when actually
     used on not-yet-seen data?)


 Metric for evaluation based on past data:
   – Correlation coefficient of predictions and measured values in the
     training set




                                                                     © S-Cube
How Accurate is my Prediction? (2)

 Unfortunately, this metric is prone to overfitting
   – But still useful to judge the performance of a trained predictor before it
     has been used the first time

 During runtime it is better compare actual predictions with the
  outcome of instances
   – Mean Prediction Error (average difference between predicted value
     and actual value)
   – Prediction Error Standard Deviation (is the error relatively constant, or
     are there many outliers?)




                                                                        © S-Cube
VRESCo Open Source Implementation

 The prototype used to do these experiments has been
  developed as part of the VRESCo project
   – Can be downloaded from Sourceforge



 The Sourceforge package also includes the assembling case
  study
   – However, setup is not very user-friendly
   – Get in touch with us if interested in reproducing the case study



 Uses WEKA Machine Learning toolkit to implement the actual
  prediction algorithms

                                                                        © S-Cube
Learning Package Overview



 Problem Description
 Event-Based Runtime Prediction
 Discussion
 Conclusions




                                   © S-Cube
Now Let’s Check How Accurate
Predictions are (1)
                             C1           C2                                      C3         C4             C5
                                                                 [everything
                                                                  available]        Get Payment     Charge
                                                                                        Prefs      Customer
                   Receive                         Select
                    Order                         Supplier


                                  Check
                                                                  Order From
                                  Stock          [no supplier     Supplier 1
                                                  available]                                        Ship
                                                                                                    Order

                                                                  Order From
                                                                  Supplier 2



                                                                 Cancel Order
                   18000
                         16076
                   16000
                   14000
 Avg. Error [ms]




                   12000
                   10000
                                                         Mean Prediction Error
                    8000
                                                           in Checkpoints
                    6000
                    4000                  2158
                    2000                                                         1328        989            806
                       0
                    70
                    00
                                                                                                                  © S-Cube
Now Let’s Check How Accurate
Predictions are (2)


 Prediction error is decreasing with time
 In C2, the error is already reasonably small



 Hence, C2 may be an                                          C1           C2
                                                                                                   [everything
                                                                                                    available]
                                                                                                                    C3         C4
                                                                                                                      Get Payment
                                                                                                                          Prefs
                                                                                                                                      Charge
                                                                                                                                     Customer
                                                                                                                                              C5


                                                    Receive

  interesting candidate for a
                                                                                     Select
                                                     Order                          Supplier


                                                                    Check

  checkpoint in this case                                           Stock          [no supplier
                                                                                    available]
                                                                                                    Order From
                                                                                                    Supplier 1
                                                                                                                                      Ship
                                                                                                                                      Order

                                                                                                    Order From
                                                                                                    Supplier 2



                                                                                                   Cancel Order
                                                    18000
                                                          16076
                                                    16000
                                                    14000
                                  Avg. Error [ms]




                                                    12000
                                                    10000
                                                                                           Mean Prediction Error
                                                     8000
                                                                                             in Checkpoints
                                                     6000
                                                     4000                   2158
                                                     2000                                                          1328        989            806
                                                        0
                                                     70
                                                     00
                                                     60
                                                     00
                                           m




                                                                                                                                       © S-Cube
                                           [s
                                            ]




                                                              5030
                                                     50
                                                     00
Some Important Earlier Work



 We were not the first ones to have similar ideas
 Important earlier work includes:

  Sahai, Machiraju, Sayal, van Moorsel, and Casati. Automated SLA Monitoring for Web Services. In
  Proceedings of the 13th IFIP/IEEE International Workshop on Distributed Systems: Operations and
  Management (DSOM 2002). Springer-Verlag, Berlin, Heidelberg, 28-41.




  Zeng, Lingenfelder, Lei, and Chang. Event-Driven Quality of Service Prediction. In Proceedings of the 6th
  International Conference on Service-Oriented Computing (ICSOC '08), Springer-Verlag, Berlin, Heidelberg,
  147-161.




                                                                                                              © S-Cube
Main Advances Over Earlier Work



 The S-Cube approach to prediction based on event logs
  improves on earlier work in some important aspects:


   – Estimations of missing data can be incorporated via Estimates
   – External data can be incorporated via External Data Providers
   – Many different algorithms can be used for prediction
      - Courtesy of the WEKA backend
   – Prototype implementation available as open source software
      - Part of the VRESCo project




                                                                     © S-Cube
Discussion - Advantages



 Event log and machine learning based prediction of SLA
  violations has a number of clear advantages …


   – Simplicity – the principle approach is easy to understand
   – Openness – the approach is not limited to event logs, but all kinds of
     knowledge and data can be included in the prediction
   – Proven in the real world – machine learning is by now a proven
     technique that has been successfully applied in many areas
   – Generality – the approach works both for quantitative and qualitative
     objectives
   – Efficiency – even though training of the machine learning models takes
     some time, generating predictions is very fast

                                                                      © S-Cube
Discussion - Disadvantages



 … but of course the approach also has some disadvantages.

   – Bootstrapping problem – the approach assumes that some recorded
     historical event logs are available for training
   – Necessary domain knowledge – in order to define checkpoints some
     domain knowledge is necessary
   – Availability of monitoring data – one of the basic assumptions of the
     approach is that all necessary data can be monitored (if this is not the
     case the approach cannot be used)




                                                                       © S-Cube
Learning Package Overview



 Problem Description
 Event-Based Runtime Prediction
 Discussion
 Conclusions




                                   © S-Cube
Summary

 Machine learning based techniques can be used to predict
  performance problems in service compositions
 Steps:
    1. Define a checkpoint in the composition
    2. Train machine learning model from historical event log
    3. Whenever a composition instance passes the checkpoint, use the
       monitored data of the instance as input for the machine learning
       based prediction



   Allows us to quickly predict problems, so that
    countermeasures can still be applied in time
    –   If the checkpoint is early enough that reaction is still possible …


                                                                         © S-Cube
Further S-Cube Reading


Leitner, Wetzstein, Rosenberg, Michlmayr, Dustdar, and Leymann. Runtime Prediction of Service Level
Agreement Violations for Composite Services. In Proceedings of the 2009 International conference on
Service-Oriented Computing (ICSOC/ServiceWave'09), Springer-Verlag, Berlin, Heidelberg, 176-186.



Leitner, Michlmayr, Rosenberg, and Dustdar. Monitoring, Prediction and Prevention of SLA Violations in
Composite Services. In Proceedings of the 2010 IEEE International Conference on Web Services (ICWS '10).
IEEE Computer Society, Washington, DC, USA, 369-376.



Wetzstein, Leitner, Rosenberg, Brandic, Dustdar, and Leymann. Monitoring and Analyzing Influential Factors
of Business Process Performance. In Proceedings of the 13th IEEE international conference on Enterprise
Distributed Object Computing
(EDOC'09). IEEE Press, Piscataway, NJ, USA, 118-127.




                                                                                                             © S-Cube
Acknowledgements




      The research leading to these results has
      received funding from the European
      Community’s Seventh Framework
      Programme [FP7/2007-2013] under grant
      agreement 215483 (S-Cube).




                                                  © S-Cube

More Related Content

What's hot

Fcs - Encyclopedia
Fcs - EncyclopediaFcs - Encyclopedia
Fcs - Encyclopedia
Arnaldo Colombo
 
XING-Event Wien "How to derive Sourcing Strategies"
XING-Event Wien "How to derive Sourcing Strategies"XING-Event Wien "How to derive Sourcing Strategies"
XING-Event Wien "How to derive Sourcing Strategies"
Application Management
 
Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...
Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...
Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...
Sitra the Finnish Innovation Fund
 
James.taylor
James.taylorJames.taylor
James.taylor
NASAPMC
 
Warehouse inventory system
Warehouse inventory systemWarehouse inventory system
Warehouse inventory system
reggea00
 
Kenakore Presentation 2011
Kenakore Presentation 2011Kenakore Presentation 2011
Kenakore Presentation 2011
Brent Newblom
 
Lean Supply Chain Value Stream
Lean Supply Chain Value StreamLean Supply Chain Value Stream
Lean Supply Chain Value Stream
haipeng56
 
Print Wise Mps Power Point Presentation
Print Wise Mps Power Point PresentationPrint Wise Mps Power Point Presentation
Print Wise Mps Power Point Presentation
Print Wise
 
ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...
ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...
ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...
ECR Community
 
Electronic Software Delivery at IOM
Electronic Software Delivery at IOMElectronic Software Delivery at IOM
Electronic Software Delivery at IOM
Flexera
 
Vehicle Repair Shops
Vehicle Repair ShopsVehicle Repair Shops
Vehicle Repair Shops
Nederman
 

What's hot (11)

Fcs - Encyclopedia
Fcs - EncyclopediaFcs - Encyclopedia
Fcs - Encyclopedia
 
XING-Event Wien "How to derive Sourcing Strategies"
XING-Event Wien "How to derive Sourcing Strategies"XING-Event Wien "How to derive Sourcing Strategies"
XING-Event Wien "How to derive Sourcing Strategies"
 
Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...
Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...
Tulevaisuuden ostaja rakentaa kumppanuutta ja vaatii kilpailukykyä 18.9.2008 ...
 
James.taylor
James.taylorJames.taylor
James.taylor
 
Warehouse inventory system
Warehouse inventory systemWarehouse inventory system
Warehouse inventory system
 
Kenakore Presentation 2011
Kenakore Presentation 2011Kenakore Presentation 2011
Kenakore Presentation 2011
 
Lean Supply Chain Value Stream
Lean Supply Chain Value StreamLean Supply Chain Value Stream
Lean Supply Chain Value Stream
 
Print Wise Mps Power Point Presentation
Print Wise Mps Power Point PresentationPrint Wise Mps Power Point Presentation
Print Wise Mps Power Point Presentation
 
ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...
ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...
ECR Europe Forum '05. Use the ECR scorecard to benchmark and improve your per...
 
Electronic Software Delivery at IOM
Electronic Software Delivery at IOMElectronic Software Delivery at IOM
Electronic Software Delivery at IOM
 
Vehicle Repair Shops
Vehicle Repair ShopsVehicle Repair Shops
Vehicle Repair Shops
 

More from virtual-campus

S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...
S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...
S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...
virtual-campus
 
S-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical Metaphor
S-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical MetaphorS-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical Metaphor
S-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical Metaphor
virtual-campus
 
S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...
S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...
S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...
virtual-campus
 
S-CUBE LP: The Chemical Computing model and HOCL Programming
S-CUBE LP: The Chemical Computing model and HOCL ProgrammingS-CUBE LP: The Chemical Computing model and HOCL Programming
S-CUBE LP: The Chemical Computing model and HOCL Programming
virtual-campus
 
S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical InterpreterS-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
virtual-campus
 
S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...
S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...
S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...
virtual-campus
 
S-CUBE LP: Service Discovery and Task Models
S-CUBE LP: Service Discovery and Task ModelsS-CUBE LP: Service Discovery and Task Models
S-CUBE LP: Service Discovery and Task Models
virtual-campus
 
S-CUBE LP: Impact of SBA design on Global Software Development
S-CUBE LP: Impact of SBA design on Global Software DevelopmentS-CUBE LP: Impact of SBA design on Global Software Development
S-CUBE LP: Impact of SBA design on Global Software Development
virtual-campus
 
S-CUBE LP: Techniques for design for adaptation
S-CUBE LP: Techniques for design for adaptationS-CUBE LP: Techniques for design for adaptation
S-CUBE LP: Techniques for design for adaptation
virtual-campus
 
S-CUBE LP: Self-healing in Mixed Service-oriented Systems
S-CUBE LP: Self-healing in Mixed Service-oriented SystemsS-CUBE LP: Self-healing in Mixed Service-oriented Systems
S-CUBE LP: Self-healing in Mixed Service-oriented Systems
virtual-campus
 
S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...
S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...
S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...
virtual-campus
 
S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...
S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...
S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...
virtual-campus
 
S-CUBE LP: Analyzing Business Process Performance Using KPI Dependency Analysis
S-CUBE LP: Analyzing Business Process Performance Using KPI Dependency AnalysisS-CUBE LP: Analyzing Business Process Performance Using KPI Dependency Analysis
S-CUBE LP: Analyzing Business Process Performance Using KPI Dependency Analysis
virtual-campus
 
S-CUBE LP: Process Performance Monitoring in Service Compositions
S-CUBE LP: Process Performance Monitoring in Service CompositionsS-CUBE LP: Process Performance Monitoring in Service Compositions
S-CUBE LP: Process Performance Monitoring in Service Compositions
virtual-campus
 
S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...
S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...
S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...
virtual-campus
 
S-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA NegotiationS-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA Negotiation
virtual-campus
 
S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection
S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service SelectionS-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection
S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection
virtual-campus
 
S-CUBE LP: Variability Modeling and QoS Analysis of Web Services Orchestrations
S-CUBE LP: Variability Modeling and QoS Analysis of Web Services OrchestrationsS-CUBE LP: Variability Modeling and QoS Analysis of Web Services Orchestrations
S-CUBE LP: Variability Modeling and QoS Analysis of Web Services Orchestrations
virtual-campus
 
S-CUBE LP: Run-time Verification for Preventive Adaptation
S-CUBE LP: Run-time Verification for Preventive AdaptationS-CUBE LP: Run-time Verification for Preventive Adaptation
S-CUBE LP: Run-time Verification for Preventive Adaptation
virtual-campus
 
S-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive AdaptationS-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive Adaptation
virtual-campus
 

More from virtual-campus (20)

S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...
S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...
S-CUBE LP: Analysis Operations on SLAs: Detecting and Explaining Conflicting ...
 
S-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical Metaphor
S-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical MetaphorS-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical Metaphor
S-CUBE LP: Chemical Modeling: Workflow Enactment based on the Chemical Metaphor
 
S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...
S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...
S-CUBE LP: Quality of Service-Aware Service Composition: QoS optimization in ...
 
S-CUBE LP: The Chemical Computing model and HOCL Programming
S-CUBE LP: The Chemical Computing model and HOCL ProgrammingS-CUBE LP: The Chemical Computing model and HOCL Programming
S-CUBE LP: The Chemical Computing model and HOCL Programming
 
S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical InterpreterS-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
 
S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...
S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...
S-CUBE LP: SLA-based Service Virtualization in distributed, heterogenious env...
 
S-CUBE LP: Service Discovery and Task Models
S-CUBE LP: Service Discovery and Task ModelsS-CUBE LP: Service Discovery and Task Models
S-CUBE LP: Service Discovery and Task Models
 
S-CUBE LP: Impact of SBA design on Global Software Development
S-CUBE LP: Impact of SBA design on Global Software DevelopmentS-CUBE LP: Impact of SBA design on Global Software Development
S-CUBE LP: Impact of SBA design on Global Software Development
 
S-CUBE LP: Techniques for design for adaptation
S-CUBE LP: Techniques for design for adaptationS-CUBE LP: Techniques for design for adaptation
S-CUBE LP: Techniques for design for adaptation
 
S-CUBE LP: Self-healing in Mixed Service-oriented Systems
S-CUBE LP: Self-healing in Mixed Service-oriented SystemsS-CUBE LP: Self-healing in Mixed Service-oriented Systems
S-CUBE LP: Self-healing in Mixed Service-oriented Systems
 
S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...
S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...
S-CUBE LP: Analyzing and Adapting Business Processes based on Ecologically-aw...
 
S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...
S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...
S-CUBE LP: Preventing SLA Violations in Service Compositions Using Aspect-Bas...
 
S-CUBE LP: Analyzing Business Process Performance Using KPI Dependency Analysis
S-CUBE LP: Analyzing Business Process Performance Using KPI Dependency AnalysisS-CUBE LP: Analyzing Business Process Performance Using KPI Dependency Analysis
S-CUBE LP: Analyzing Business Process Performance Using KPI Dependency Analysis
 
S-CUBE LP: Process Performance Monitoring in Service Compositions
S-CUBE LP: Process Performance Monitoring in Service CompositionsS-CUBE LP: Process Performance Monitoring in Service Compositions
S-CUBE LP: Process Performance Monitoring in Service Compositions
 
S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...
S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...
S-CUBE LP: Service Level Agreement based Service infrastructures in the conte...
 
S-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA NegotiationS-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA Negotiation
 
S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection
S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service SelectionS-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection
S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection
 
S-CUBE LP: Variability Modeling and QoS Analysis of Web Services Orchestrations
S-CUBE LP: Variability Modeling and QoS Analysis of Web Services OrchestrationsS-CUBE LP: Variability Modeling and QoS Analysis of Web Services Orchestrations
S-CUBE LP: Variability Modeling and QoS Analysis of Web Services Orchestrations
 
S-CUBE LP: Run-time Verification for Preventive Adaptation
S-CUBE LP: Run-time Verification for Preventive AdaptationS-CUBE LP: Run-time Verification for Preventive Adaptation
S-CUBE LP: Run-time Verification for Preventive Adaptation
 
S-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive AdaptationS-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive Adaptation
 

Recently uploaded

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 

Recently uploaded (20)

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 

S-CUBE LP: Runtime Prediction of SLA Violations Based on Service Event Logs

  • 1. S-Cube Learning Package Service Level Agreements: Runtime Prediction of SLA Violations Based on Service Event Logs TU Wien (TUW), University of Stuttgart (USTUTT) Philipp Leitner, TUW www.s-cube-network.eu
  • 2. Learning Package Categorization S-Cube SBA Quality Management Quality Assurance and Quality Prediction Runtime Prediction of SLA Violations Based on Service Event Logs © S-Cube
  • 3. Learning Package Overview  Problem Description  Event-Based Runtime Prediction  Discussion  Conclusions © S-Cube
  • 4. Let’s Consider a Scenario (1)  Assume you are a provider of a composite service  Commercial customers order products via a Web service interface  Your process checks an internal stock, orders some missing parts, and assembles the product [everything Get Payment Charge available] Prefs Customer Receive Select Order Supplier Check Order From Stock [no supplier Ship Order Supplier 1 available] Order From Supplier 2 Cancel Order © S-Cube
  • 5. Let’s Consider a Scenario (2)  (Of course) there are contractual obligations – Delivery in time – Availability of your service – Product quality  These can be formulated using Service Level Agreements – Note: in this context not necessarily WSLA style machine processable SLAs – can also be just regular contracts [everything available] Get Payment Charge Prefs Customer Receive Select Order Supplier Check Order From Stock [no supplier Ship Order Supplier 1 available] Order From Supplier 2 Cancel Order © S-Cube
  • 6. Let’s Consider a Scenario (3)  As a provider, you want to receive timely notifications if these obligations are likely to be violated – Usually there are penalties to be paid if contractual obligations are (repeatedly) violated – Even if this is not the case, customer satisfaction will suffer and existing customers may terminate their contracts  Based on this notifications … ! [everything – … countermeasures can be taken (i.e., Receive Select available] Get Payment Charge Prefs Customer adaptations can be triggered) Order Supplier – … customers can be notified Check Order From Stock [no supplier Ship Order Supplier 1 available] Order From Supplier 2 Cancel Order © S-Cube
  • 7. Learning Package Overview  Problem Description  Event-Based Runtime Prediction  Discussion  Conclusions © S-Cube
  • 8. One S-Cube Approach: Predictions from Event-Log Data 1. Define Checkpoints in the service composition 2. If checkpoints are passed, collect all (important and available) runtime data … 3. … enrich with estimations for missing data (if possible) … 4. … and use Machine Learning techniques to generate predictions for objectives © S-Cube
  • 9. Necessary Inputs  Evidently, there are some (not unreasonable) assumptions: 1. The provider needs to define a sensible checkpoint for prediction (  quality / timeliness tradeoff ! ) 2. Important runtime data needs to be defined and monitored 3. Optimally, some estimations for data still missing in the checkpoint is available 4. The system needs to be initialized with some historical data (  to learn the Machine Learning model that implements the actual prediction) © S-Cube
  • 10. Types of Runtime Data  Data that is used to generate predictions can be categorized along 2 dimensions  Data Availability in Checkpoint – Available (facts) – Not available, but estimatable (estimates) – Not available (unknown)  Type of Runtime Data – External data (not monitorable, needs to be provided by external data sources) – Quality-of-Service information – Domain-specific instance data (e.g., KPIs) © S-Cube
  • 11. Defining Checkpoints (1) Facts: {Customer, OrderedProduct, ...} {AssemblingTime, QoS_ExtSupplier, ...} Data Estimates: {QoS_ExtSupplier, QoS_Warehouse, ...} {QoS_BankingService, ...} Unknown: {InStock, PaymentPrefs, ...} {PaymentPrefs, DeliveryTimeShipment} Order Ship Receive Unavailable Quality Composition RFQ Parts Control Service Produce Assemble Offer Charge Customer Prediction Error Quality / Timeliness Tradeoff Time for Reaction C1 C2 © S-Cube
  • 12. Defining Checkpoints (2)  There is a tradeoff to consider when defining checkpoints – Early checkpoints are attractive as they allow for more / better reactions  there simply is more time left – Later checkpoints are attractive as the prediction quality generally improves with time  Providers need to identify a checkpoint where … Facts: {Customer, OrderedProduct, ...} {AssemblingTime, QoS_ExtSupplier, ...} Data Estimates: {QoS_ExtSupplier, QoS_Warehouse, ...} {QoS_BankingService, ...} – … the most important Factors of Unknown: {InStock, PaymentPrefs, ...} {PaymentPrefs, DeliveryTimeShipment} Order Ship Influence are already available Receive Unavailable Quality Composition RFQ Parts Control Service – … adaptation is still possible Produce Assemble Offer Charge Customer Prediction Error Quality / Timeliness Tradeoff Time for Reaction C1 C2 © S-Cube
  • 13. Background: Factors of Influence  Factors of Influence of business processes are the main factors that lead to performance problems  Knowing these factors is essential for targeted optimization of business processes – i.e., if a factor is known to lead to performance problems optimization needs to minimize this factor  Research work on identifying Factors of Influence: Wetzstein, Leitner, Rosenberg, Brandic, Dustdar, and Leymann. Monitoring and Analyzing Influential Factors of Business Process Performance. In Proceedings of the 13th IEEE international conference on Enterprise Distributed Object Computing (EDOC'09). IEEE Press, Piscataway, NJ, USA, 118-127. Bodenstaff, Wombacher, Reichert, and Jaeger. Monitoring Dependencies for SLAs: The MoDe4SLA Approach. In Proceedings of the 2008 IEEE International Conference on Services Computing (SCC'08). IEEE Computer Society, Washington, DC, USA, 21-29. © S-Cube
  • 14. Estimates and External Data  One novelty of our approach: missing data can be supplemented via Estimates – Simple example: - the response time of a service that is invoked after the Checkpoint cannot be monitored … - … but of course we can assume that the response time will be similar to the measured average response time of this service -  the average response time can be used as an Estimate for this unknown Factor of Influence  Technically, Estimates are not monitored from event streams but provided by dedicated estimator components  Similarly, external data can be included via External Data Providers © S-Cube
  • 15. Event-Based Monitoring  In order to be used for prediction, runtime data needs to be monitored  Event-based monitoring is an often-used idea to implement this  Basic principle: Register for and receive some lifecycle events from the service composition and use Complex Event Processing (CEP) to extract monitoring data from raw event data.  Can be used to monitor both QoS and domain-specific data © S-Cube
  • 16. Implementing Event-Based Monitoring: Lifecycle Events (1)  Many composition engines emit lifecycle (status) events  Example 1: Apache ODE WS-BPEL Engine – Currently emits 23 different types of events, including ActivityExecStartEvent, ActivityExecEndEvent, VariableModificationEvent, … – Full list available online  Example 2: Windows Workflow Foundation Tracking Service – Emits a smaller number of events by default, but user-defined events can be emitted at any time in a service composition © S-Cube
  • 17. Implementing Event-Based Monitoring: Lifecycle Events (2)  These low-level lifecycle events can be aggregated to produce meaningful higher-level metrics (event processing) – Example 1: the execution time of the supplier service is the timestamp of the ‘activity-ended’ event minus the timestamp of the respective ‘activity-started’ event – Example 2: the customer identifier of the customer who put the order can be retrieved from the response message contained in a specific ‘variable-assigned’ event – Example 3: the average failure rate of the shipping service is defined as the number of ‘failed-execution’ events divided by the number of ‘execution-started’ events  However, event aggregation middleware necessary to do the necessary calculations on the event streams  One possibility: SOA Event Engine implemented in VRESCo © S-Cube
  • 18. Background: The VRESCo SOA Runtime (1)  In S-Cube we used the VRESCo SOA Runtime Environment as basis for this research Service Client VRESCo Runtime Environment Query Interface Query VRESCo Client Library Engine Client SOAP Event Daios Notification Database Factory Interface Notification Engine Publishing Interface Control Access Publishing/ Layer ORM invoke QoS Metadata Registry SOAP Monitor Metadata Service Database Interface Management measure Interface Management Service Composition Certificate Interface Composition Store Services Engine © S-Cube
  • 19. Background: The VRESCo SOA Runtime (2)  VRESCo is a registry with explicit support for Quality-of- Service and dynamic binding of services  Additionally, it’s very easy to build dynamic, loosely coupled service compositions based on Workflow Foundation (WF) technology in VRESCo  These WF based compositions emit lifecycle events as Service discussed before using the Client Query Interface VRESCo Runtime Environment Query VRESCo Client Library VRESCo Event Engine, a Engine Client SOAP Event Daios Notification Database Factory Interface Notification complex event processing Engine Publishing Interface Control Access Publishing/ Layer ORM QoS Metadata Registry engine based on NEsper invoke SOAP Monitor Metadata Service Database Interface Management measure Interface Management Service Composition Certificate Interface Composition Store Services Engine © S-Cube
  • 20. Background: The VRESCo SOA Runtime (3)  Check the following S-Cube paper for more information on VRESCo: Michlmayr, Rosenberg, Leitner, and Dustdar. End-to-End Support for QoS-Aware Service Selection, Binding, and Mediation in VRESCo. IEEE Transactions on Services Computing 3, 3 (July 2010), 193-205.  The VRESCo Event Engine, which has been used as basis for runtime data monitoring, has been introduced in the following earlier publication: Michlmayr, Rosenberg, Leitner, and Dustdar. Advanced Event Processing and Notifications in Service Runtime Environments. In Proceedings of the Second International Conference on Distributed Event-Based Systems (DEBS '08). ACM, New York, NY, USA, 115-125. © S-Cube
  • 21. Architectural Overview of Prediction (1) © S-Cube
  • 22. Architectural Overview of Prediction (2) 1. Define Checkpoint as discussed before 2. Define important Factors of Influence and monitor them 3. Train Machine Learning model from monitored data – For quantitative objectives (e.g., execution time of composition) we use Artificial Neural Networks – For qualitative objectives (e.g., quality of product) we use Decision Trees 4. In Checkpoint, generate predictions using trained model © S-Cube
  • 23. Background: Machine Learning (1)  Machine Learning is a branch of computer science that deals with algorithms that learn dependencies and relationships from data  The basic principle is the idea of generalization, i.e., Machine Learning algorithms aim at finding general rules and relations in concrete data sets  Machine Learning is usually a two-step procedure: 1. Firstly, a predictor is learned from a training set 2. Secondly, the predictor can be applied to not-yet-seen data  There is a plethora of algorithms available for all kinds of purposes, but in S-Cube we focused on Artificial Neural Networks and Decision Trees © S-Cube
  • 24. Background: Machine Learning (2)  Artificial Neural Networks implement regression functions in a bio-inspired way  Decision Trees implement classification functions using a simple tree structure © S-Cube
  • 25. How Accurate is my Prediction? (1)  Quality of predictor can be evaluated in two ways: – Past data based (how well performs the predictor based on the existing training data?) – Future data based (how well performs the predictor when actually used on not-yet-seen data?)  Metric for evaluation based on past data: – Correlation coefficient of predictions and measured values in the training set © S-Cube
  • 26. How Accurate is my Prediction? (2)  Unfortunately, this metric is prone to overfitting – But still useful to judge the performance of a trained predictor before it has been used the first time  During runtime it is better compare actual predictions with the outcome of instances – Mean Prediction Error (average difference between predicted value and actual value) – Prediction Error Standard Deviation (is the error relatively constant, or are there many outliers?) © S-Cube
  • 27. VRESCo Open Source Implementation  The prototype used to do these experiments has been developed as part of the VRESCo project – Can be downloaded from Sourceforge  The Sourceforge package also includes the assembling case study – However, setup is not very user-friendly – Get in touch with us if interested in reproducing the case study  Uses WEKA Machine Learning toolkit to implement the actual prediction algorithms © S-Cube
  • 28. Learning Package Overview  Problem Description  Event-Based Runtime Prediction  Discussion  Conclusions © S-Cube
  • 29. Now Let’s Check How Accurate Predictions are (1) C1 C2 C3 C4 C5 [everything available] Get Payment Charge Prefs Customer Receive Select Order Supplier Check Order From Stock [no supplier Supplier 1 available] Ship Order Order From Supplier 2 Cancel Order 18000 16076 16000 14000 Avg. Error [ms] 12000 10000 Mean Prediction Error 8000 in Checkpoints 6000 4000 2158 2000 1328 989 806 0 70 00 © S-Cube
  • 30. Now Let’s Check How Accurate Predictions are (2)  Prediction error is decreasing with time  In C2, the error is already reasonably small  Hence, C2 may be an C1 C2 [everything available] C3 C4 Get Payment Prefs Charge Customer C5 Receive interesting candidate for a Select Order Supplier Check checkpoint in this case Stock [no supplier available] Order From Supplier 1 Ship Order Order From Supplier 2 Cancel Order 18000 16076 16000 14000 Avg. Error [ms] 12000 10000 Mean Prediction Error 8000 in Checkpoints 6000 4000 2158 2000 1328 989 806 0 70 00 60 00 m © S-Cube [s ] 5030 50 00
  • 31. Some Important Earlier Work  We were not the first ones to have similar ideas  Important earlier work includes: Sahai, Machiraju, Sayal, van Moorsel, and Casati. Automated SLA Monitoring for Web Services. In Proceedings of the 13th IFIP/IEEE International Workshop on Distributed Systems: Operations and Management (DSOM 2002). Springer-Verlag, Berlin, Heidelberg, 28-41. Zeng, Lingenfelder, Lei, and Chang. Event-Driven Quality of Service Prediction. In Proceedings of the 6th International Conference on Service-Oriented Computing (ICSOC '08), Springer-Verlag, Berlin, Heidelberg, 147-161. © S-Cube
  • 32. Main Advances Over Earlier Work  The S-Cube approach to prediction based on event logs improves on earlier work in some important aspects: – Estimations of missing data can be incorporated via Estimates – External data can be incorporated via External Data Providers – Many different algorithms can be used for prediction - Courtesy of the WEKA backend – Prototype implementation available as open source software - Part of the VRESCo project © S-Cube
  • 33. Discussion - Advantages  Event log and machine learning based prediction of SLA violations has a number of clear advantages … – Simplicity – the principle approach is easy to understand – Openness – the approach is not limited to event logs, but all kinds of knowledge and data can be included in the prediction – Proven in the real world – machine learning is by now a proven technique that has been successfully applied in many areas – Generality – the approach works both for quantitative and qualitative objectives – Efficiency – even though training of the machine learning models takes some time, generating predictions is very fast © S-Cube
  • 34. Discussion - Disadvantages  … but of course the approach also has some disadvantages. – Bootstrapping problem – the approach assumes that some recorded historical event logs are available for training – Necessary domain knowledge – in order to define checkpoints some domain knowledge is necessary – Availability of monitoring data – one of the basic assumptions of the approach is that all necessary data can be monitored (if this is not the case the approach cannot be used) © S-Cube
  • 35. Learning Package Overview  Problem Description  Event-Based Runtime Prediction  Discussion  Conclusions © S-Cube
  • 36. Summary  Machine learning based techniques can be used to predict performance problems in service compositions  Steps: 1. Define a checkpoint in the composition 2. Train machine learning model from historical event log 3. Whenever a composition instance passes the checkpoint, use the monitored data of the instance as input for the machine learning based prediction  Allows us to quickly predict problems, so that countermeasures can still be applied in time – If the checkpoint is early enough that reaction is still possible … © S-Cube
  • 37. Further S-Cube Reading Leitner, Wetzstein, Rosenberg, Michlmayr, Dustdar, and Leymann. Runtime Prediction of Service Level Agreement Violations for Composite Services. In Proceedings of the 2009 International conference on Service-Oriented Computing (ICSOC/ServiceWave'09), Springer-Verlag, Berlin, Heidelberg, 176-186. Leitner, Michlmayr, Rosenberg, and Dustdar. Monitoring, Prediction and Prevention of SLA Violations in Composite Services. In Proceedings of the 2010 IEEE International Conference on Web Services (ICWS '10). IEEE Computer Society, Washington, DC, USA, 369-376. Wetzstein, Leitner, Rosenberg, Brandic, Dustdar, and Leymann. Monitoring and Analyzing Influential Factors of Business Process Performance. In Proceedings of the 13th IEEE international conference on Enterprise Distributed Object Computing (EDOC'09). IEEE Press, Piscataway, NJ, USA, 118-127. © S-Cube
  • 38. Acknowledgements The research leading to these results has received funding from the European Community’s Seventh Framework Programme [FP7/2007-2013] under grant agreement 215483 (S-Cube). © S-Cube