SlideShare uma empresa Scribd logo
1 de 35
Baixar para ler offline
S-Cube Learning Package

A Soft-Constraint Based Approach to QoS-Aware Service
                       Selection




            Université Paris-DESCARTES


  Mohamed-Anis ZEMNI, Salima BENBERNOU, Manuel CARRO



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


                        S-Cube



                  Quality Definition,
               Negotiation and Assurance



           Quality Management and Prediction



             Analysis Operations on SLAs:
        Detecting and Explaining Conflicting SLAs
Service          Selection             and       QoS

 Service selection is the first step to improve service
 composition within Service-Oriented-Architecture (SOA):
   •  Searches for services fitting users’ requirements
   •  Explores services’ properties
   •  Aims at putting together several elementary services
   •  Generates new value-added service

 Quality of Service (QoS) for selection often critically important:
   •  Software services expose not only functional characteristics, but also
      non-functional attributes describing their QoS
   •  Defines the service level (Key Performance Indicator)
   •  A service fulfilling all the functionality but with low QoS is not
      interesting
Learning Package Overview



  Problem Description
  Extending SCSP with Penalties & new SLA Model
  Conclusions
Problem Description:
 Service Selection Scenario



                                                             Select only one service
                                                             among       the   available
                                                             services that have the
                                                             same functionalities but
                                                             with different QoS


                      Functionalities
                            +
                          QoS



User request (criteria)
                                                       1
                2

                                        Used Approach at Design-time
Problem Description:
Service Selection Techniques in the Literature 1

  Constraint Satisfaction Problem (CSP):
   •  Classical formulation of constraints
   •  Quite expressive to represent several real life problems
   •  Defines a set of variables, each of them ranging on a finite domain,
      and a set of constraints restricting the values that these variables can
      take simultaneously
   •  All the constraints must be satisfied simultaneously



  !
      Lack of built-in capabilities to express preferences among constraints
      and the lack of possibility of giving approximate solutions for problems
      which are overconstrained
Problem Description:
Service Selection Techniques in the Literature 1

 Soft Constraint Satisfaction Problem (SCSP)
   •  Include the concept of preferences into every constraint in order to
      obtain a suitable solution which can be optimal or, in general, a
      reasonable estimation, maybe at the expense of not fulfilling all
      constraints
   •  Relies on composing the constraints in order to obtain the optimal
      solution
   •  Applied to the requirements (in terms of preferences) of the users

  !    Only one solution returned that is optimal


   *   Stefano Bistarelli, Ugo Montanari, and Francesca Rossi. Semiring-
       based constraint satisfaction and optimization. J. ACM, 44(2):201–
       236, 1997
Problem Description:
  Service Selection Techniques in the Literature 1

                                                       C-semi-ring : Algebraic structure


                                                                       Only one domain for
                                                                       all variables




Example : Searching for services Available at y% of the time and with reputation = z
Problem Description:
 Problem at Design-time


      2.  I have to fix
         new criteria




                             1.  Required criteria
                          cannot match any service!!!


User request (criteria)
Problem Description:
Problem at Runtime




   !
        Some problems, encountered by the service may
        lead to service malfunctions

    activity interrupted,
    must apply penalty!!!




                                           Out of
                                           service     Out of
                                                       service


                                                     contract violation
Problem Description:
SLA

SLA - Definition:
  “An XML document and a contract for…
         •  Advertising the quality level of the services
         •  Taking note about the user preferences
         •  …”
                                              I want an SLA
                                               ensuring the
                                              performances I
                                             am searching for


      Propertie
                  s
                      Pro perties
                          QoS
                                                ?
Problem Description: 2
Problem at Runtime



    Where are
 My preferences
and the penalties?




                         Out of
                         service   Out of
                                   service
Learning Package Overview



  Problem Description
  Extending SCSP with Penalties & new SLA Model
  Conclusions
Main Objective


Automatically switch from a faulty
service to a new one




           User request (preferences,
                                        …   Out of
                                            service   Out of
                         penalties)
                                                      service




        Design-time
                                                 Runtime
Approach Main Points

 Definition of Soft Service Level Agreement (SSLA) an SLA
 model extended with preferences and penalties
 Extension of Soft Constraint Solving Problem handling
 penalties: Define in SSLA the penalty artifacts, such that, if a
 selected service failed, another one should replace it that
 fitting with the agreed QoS in the contract with penalties if
 some of them are not fulfilled
 SSLA to SCSP mapping
Kinds of penalties

 Arithmetical Penalties
   •  In relation with measurable qualities of service
   •  Direct relation to service variables
   •  E.g. availability, the response time, the reputation, etc.
   •  The application of arithmetical penalties is a consequence of a
      contract breach and therefore the transition to a different selection
      using the choices expressed by the customer in the form of
      preferences

 Behavioural Penalties
   •  Related to the behavior of either the customer or the service provider
   •  The application of behavioral penalties is not always a consequence of
      a contract breach and so, switching to another choice is not obligatory
      and even less replacing the service
Soft SLA Definition
Soft SLA Definition:
Preferences & Penalties
     I prefer to get a payment
   service and delivery service
  having response time < 5ms. I
     also accept services with
   response time between 5ms
  and 20ms with preference =0,5
                 Etc.


                                                      Response time
                                                       Preferences
                            If the first                   Most preferred
                       preference is not          <5ms
                      fulfilled during the
                      execution I would
                       apply penalty P7



                                             [5ms,20ms[



                                                 >20ms



                                                           Less preferred
Soft SLA Definition

 Guarantee terms are expressed in terms of preferences and
 penalties
   •  Preferences are ranked (most preferred to less preferred)
   •  Penalties are applied if a preference is not fulfilled

 The service broker search for service fulfilling the QoS from
 the most preferred to the less preferred (at design-time)
 Penalties are applied only at runtime and never at design-
 time, on the faulty service
   SSLA document

                        QoS       Variable   Preference   Preferences Penalties Preferences/Penalties
                      variables   doamins      degree                                association
Extending SCSP Using Penalties


              SCSP
                     Constraint
                      System


                     Constraints


                     Operations




                      Solution
Extending Constraint System


 SCSP
        Constraint
                                  CS = <S; D{}; V>
         System
                              S = algebraic structure
                               including preference
        Constraints                   values
                                V = QoS variables
                              D{} = Variable domains
        Operations



                               Penalties into S
         Solution
Extending Constraints Using Penalties


 SCSP
        Constraint
                               Def = Definition of the
         System
                               constraint in terms of
                                 preference value
        Constraints              Type = in terms of
                               variable intervening in
                                   the constraint
        Operations



                                Penalties into Def
         Solution
Rewrite operations Logic


 SCSP
        Constraint
         System              Combination       =
                             combination of the
                              constraints (pref)
        Constraints        Projection = generates
                            the optimal solution

        Operations                   Rank generated
                                      solutions and
                                      keep them all
                            Combination of penalties
         Solution
Extending SCSP Using Penalties


 SCSP
        Constraint
         System
                                    Global Preferences

        Constraints
                                 Most preferred
                                                  +



        Operations



                                 Less preferred   -
         Solution
Penalty based SCSP
Case Study

 Penalty based SCSP
        Constraint
         System


       Constraints    = Penalty values
                      = Preference values


       Operations




        Solutions
Penalty based SCSP
Case Study

 Penalty based SCSP
        Constraint
         System


       Constraints


       Operations




        Solutions
Penalty based SCSP
Case Study

 Penalty based SCSP
        Constraint
         System


       Constraints


       Operations




        Solutions
Penalty based SCSP
Case Study

 Penalty based SCSP
        Constraint
         System


       Constraints


       Operations




        Solutions
Proposed Approach Logic

Input: Constraints, penalties, table of constraint definitions
Output: Choices with their possible alternatives ordered


Begin
   For each selection alternative do
        Combine all the constraints together (apply the min operator);
   End for;
   Order the results according to preference values into groups;
   For each preference value group do
        Order the elements corresponding to the penalty value;
   End for;

End;
Mapping SSLA onto SCSP Solvers
Learning Package Overview



  Problem Description
  Extending SCSP with Penalties & new SLA Model
  Conclusions
Conclusions

1.  Soft constraint-based framework
2.  Express QoS properties reflecting both customer
    preferences and penalties applied to unfitting situations
3.  Solution for overconstrained problems
   –    The application of soft constraints makes it possible to work around
        overconstrained problems and offer a feasible solution

4.  Provide ranked choice to offer more flexibility at design-time
    to find required services, and at runtime to ensure users’
    rights
5.  Concept of penalties in SCSP
    We plan to extend this framework to also deal with
   behavioral penalties
References




 This presentation is based on [ZBC10]
Further S-Cube Reading

[ZBC10]      Mohamed Anis    Zemni,    Salima   Benbernou,   and
            Manuel Carro
             A Soft Constraint-Based    Approach   to   QoS-Aware
            Service Selection

      In proceeding of the Service-Oriented Computing -    8th
 International Conference (ICSOC 2010),            volume 6470
 of Lecture Notes in Computer           Science, pages 596-602
 San Francisco, CA, USA,        December 7-10, 2010
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).

Mais conteúdo relacionado

Semelhante a S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection

S-CUBE LP: Quality of Service Models for Service Oriented Architectures
S-CUBE LP: Quality of Service Models for Service Oriented ArchitecturesS-CUBE LP: Quality of Service Models for Service Oriented Architectures
S-CUBE LP: Quality of Service Models for Service Oriented Architecturesvirtual-campus
 
S-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA NegotiationS-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA Negotiationvirtual-campus
 
S-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA NegotiationS-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA Negotiationvirtual-campus
 
Personalized qos aware web service recommendation and visualization
Personalized qos aware web service recommendation and visualizationPersonalized qos aware web service recommendation and visualization
Personalized qos aware web service recommendation and visualizationJPINFOTECH JAYAPRAKASH
 
Hierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud EnvironmentsHierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud EnvironmentsSoodeh Farokhi
 
QOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMS
QOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMSQOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMS
QOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMScscpconf
 
A Cloud Service Selection Model Based on User-Specified Quality of Service Level
A Cloud Service Selection Model Based on User-Specified Quality of Service LevelA Cloud Service Selection Model Based on User-Specified Quality of Service Level
A Cloud Service Selection Model Based on User-Specified Quality of Service Levelcsandit
 
A cloud service selection model based
A cloud service selection model basedA cloud service selection model based
A cloud service selection model basedcsandit
 
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...DineshKumar746335
 
Location aware and personalized
Location aware and personalizedLocation aware and personalized
Location aware and personalizedjpstudcorner
 
Shinde qos-mpls-tutorial
Shinde qos-mpls-tutorialShinde qos-mpls-tutorial
Shinde qos-mpls-tutorialadvojoy
 
Towards Realizing Dynamic QoS-aware Web Service Composition
Towards Realizing  Dynamic QoS-aware Web Service CompositionTowards Realizing  Dynamic QoS-aware Web Service Composition
Towards Realizing Dynamic QoS-aware Web Service CompositionGeorge Baryannis
 
Qo s ranking prediction for cloud services abstract
Qo s ranking prediction for cloud services abstractQo s ranking prediction for cloud services abstract
Qo s ranking prediction for cloud services abstractravi778787
 
Design Patterns on Service Abstraction
Design Patterns on Service Abstraction Design Patterns on Service Abstraction
Design Patterns on Service Abstraction Md. Shafiuzzaman Hira
 
Qos ranking prediction for cloud services
Qos ranking prediction for cloud servicesQos ranking prediction for cloud services
Qos ranking prediction for cloud servicesJPINFOTECH JAYAPRAKASH
 
QoS Enabled Architecture for efficient web service (1)
QoS Enabled Architecture for efficient web service (1)QoS Enabled Architecture for efficient web service (1)
QoS Enabled Architecture for efficient web service (1)A.S.M.Mannaf Rahman
 
Capacity Planning and Modelling
Capacity Planning and ModellingCapacity Planning and Modelling
Capacity Planning and ModellingAnthony Dehnashi
 

Semelhante a S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection (20)

S-CUBE LP: Quality of Service Models for Service Oriented Architectures
S-CUBE LP: Quality of Service Models for Service Oriented ArchitecturesS-CUBE LP: Quality of Service Models for Service Oriented Architectures
S-CUBE LP: Quality of Service Models for Service Oriented Architectures
 
S-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA NegotiationS-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA Negotiation
 
IEEE publication on QoS
IEEE publication on QoSIEEE publication on QoS
IEEE publication on QoS
 
S-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA NegotiationS-CUBE LP: Proactive SLA Negotiation
S-CUBE LP: Proactive SLA Negotiation
 
Personalized qos aware web service recommendation and visualization
Personalized qos aware web service recommendation and visualizationPersonalized qos aware web service recommendation and visualization
Personalized qos aware web service recommendation and visualization
 
Hierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud EnvironmentsHierarchical SLA-based Service Selection for Multi-Cloud Environments
Hierarchical SLA-based Service Selection for Multi-Cloud Environments
 
QOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMS
QOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMSQOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMS
QOS WITH RELIABILITY AND SCALABILITY IN ADAPTIVE SERVICE-BASED SYSTEMS
 
A Cloud Service Selection Model Based on User-Specified Quality of Service Level
A Cloud Service Selection Model Based on User-Specified Quality of Service LevelA Cloud Service Selection Model Based on User-Specified Quality of Service Level
A Cloud Service Selection Model Based on User-Specified Quality of Service Level
 
A cloud service selection model based
A cloud service selection model basedA cloud service selection model based
A cloud service selection model based
 
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
Fallsem2021 22 ita2012-eth_vl2021220101938_reference_material_i_06-aug-2021_m...
 
Location aware and personalized
Location aware and personalizedLocation aware and personalized
Location aware and personalized
 
Shinde qos-mpls-tutorial
Shinde qos-mpls-tutorialShinde qos-mpls-tutorial
Shinde qos-mpls-tutorial
 
Towards Realizing Dynamic QoS-aware Web Service Composition
Towards Realizing  Dynamic QoS-aware Web Service CompositionTowards Realizing  Dynamic QoS-aware Web Service Composition
Towards Realizing Dynamic QoS-aware Web Service Composition
 
Qo s ranking prediction for cloud services abstract
Qo s ranking prediction for cloud services abstractQo s ranking prediction for cloud services abstract
Qo s ranking prediction for cloud services abstract
 
Design Patterns on Service Abstraction
Design Patterns on Service Abstraction Design Patterns on Service Abstraction
Design Patterns on Service Abstraction
 
Qos ranking prediction for cloud services
Qos ranking prediction for cloud servicesQos ranking prediction for cloud services
Qos ranking prediction for cloud services
 
Qo s requirement .
Qo s requirement .Qo s requirement .
Qo s requirement .
 
Sassy
SassySassy
Sassy
 
QoS Enabled Architecture for efficient web service (1)
QoS Enabled Architecture for efficient web service (1)QoS Enabled Architecture for efficient web service (1)
QoS Enabled Architecture for efficient web service (1)
 
Capacity Planning and Modelling
Capacity Planning and ModellingCapacity Planning and Modelling
Capacity Planning and Modelling
 

Mais de 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 Metaphorvirtual-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 Programmingvirtual-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 Interpretervirtual-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 Modelsvirtual-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 Developmentvirtual-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 adaptationvirtual-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 Systemsvirtual-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 Analysisvirtual-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 Compositionsvirtual-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: Runtime Prediction of SLA Violations Based on Service Event Logs
S-CUBE LP: Runtime Prediction of SLA Violations Based on Service Event LogsS-CUBE LP: Runtime Prediction of SLA Violations Based on Service Event Logs
S-CUBE LP: Runtime Prediction of SLA Violations Based on Service Event Logsvirtual-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 Orchestrationsvirtual-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 Adaptationvirtual-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 Adaptationvirtual-campus
 
S-CUBE LP: Using Data Properties in Quality Prediction
S-CUBE LP: Using Data Properties in Quality PredictionS-CUBE LP: Using Data Properties in Quality Prediction
S-CUBE LP: Using Data Properties in Quality Predictionvirtual-campus
 

Mais de 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: Runtime Prediction of SLA Violations Based on Service Event Logs
S-CUBE LP: Runtime Prediction of SLA Violations Based on Service Event LogsS-CUBE LP: Runtime Prediction of SLA Violations Based on Service Event Logs
S-CUBE LP: Runtime Prediction of SLA Violations Based on Service Event Logs
 
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
 
S-CUBE LP: Using Data Properties in Quality Prediction
S-CUBE LP: Using Data Properties in Quality PredictionS-CUBE LP: Using Data Properties in Quality Prediction
S-CUBE LP: Using Data Properties in Quality Prediction
 

Último

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 

Último (20)

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 

S-CUBE LP: A Soft-Constraint Based Approach to QoS-Aware Service Selection

  • 1. S-Cube Learning Package A Soft-Constraint Based Approach to QoS-Aware Service Selection Université Paris-DESCARTES Mohamed-Anis ZEMNI, Salima BENBERNOU, Manuel CARRO www.s-cube-network.eu
  • 2. Learning Package Categorization S-Cube Quality Definition, Negotiation and Assurance Quality Management and Prediction Analysis Operations on SLAs: Detecting and Explaining Conflicting SLAs
  • 3. Service Selection and QoS  Service selection is the first step to improve service composition within Service-Oriented-Architecture (SOA): •  Searches for services fitting users’ requirements •  Explores services’ properties •  Aims at putting together several elementary services •  Generates new value-added service  Quality of Service (QoS) for selection often critically important: •  Software services expose not only functional characteristics, but also non-functional attributes describing their QoS •  Defines the service level (Key Performance Indicator) •  A service fulfilling all the functionality but with low QoS is not interesting
  • 4. Learning Package Overview   Problem Description   Extending SCSP with Penalties & new SLA Model   Conclusions
  • 5. Problem Description: Service Selection Scenario Select only one service among the available services that have the same functionalities but with different QoS Functionalities + QoS User request (criteria) 1 2 Used Approach at Design-time
  • 6. Problem Description: Service Selection Techniques in the Literature 1   Constraint Satisfaction Problem (CSP): •  Classical formulation of constraints •  Quite expressive to represent several real life problems •  Defines a set of variables, each of them ranging on a finite domain, and a set of constraints restricting the values that these variables can take simultaneously •  All the constraints must be satisfied simultaneously ! Lack of built-in capabilities to express preferences among constraints and the lack of possibility of giving approximate solutions for problems which are overconstrained
  • 7. Problem Description: Service Selection Techniques in the Literature 1  Soft Constraint Satisfaction Problem (SCSP) •  Include the concept of preferences into every constraint in order to obtain a suitable solution which can be optimal or, in general, a reasonable estimation, maybe at the expense of not fulfilling all constraints •  Relies on composing the constraints in order to obtain the optimal solution •  Applied to the requirements (in terms of preferences) of the users ! Only one solution returned that is optimal * Stefano Bistarelli, Ugo Montanari, and Francesca Rossi. Semiring- based constraint satisfaction and optimization. J. ACM, 44(2):201– 236, 1997
  • 8. Problem Description: Service Selection Techniques in the Literature 1 C-semi-ring : Algebraic structure Only one domain for all variables Example : Searching for services Available at y% of the time and with reputation = z
  • 9. Problem Description: Problem at Design-time 2.  I have to fix new criteria 1.  Required criteria cannot match any service!!! User request (criteria)
  • 10. Problem Description: Problem at Runtime ! Some problems, encountered by the service may lead to service malfunctions activity interrupted, must apply penalty!!! Out of service Out of service contract violation
  • 11. Problem Description: SLA SLA - Definition: “An XML document and a contract for… •  Advertising the quality level of the services •  Taking note about the user preferences •  …” I want an SLA ensuring the performances I am searching for Propertie s Pro perties QoS ?
  • 12. Problem Description: 2 Problem at Runtime Where are My preferences and the penalties? Out of service Out of service
  • 13. Learning Package Overview   Problem Description   Extending SCSP with Penalties & new SLA Model   Conclusions
  • 14. Main Objective Automatically switch from a faulty service to a new one User request (preferences, … Out of service Out of penalties) service Design-time Runtime
  • 15. Approach Main Points  Definition of Soft Service Level Agreement (SSLA) an SLA model extended with preferences and penalties  Extension of Soft Constraint Solving Problem handling penalties: Define in SSLA the penalty artifacts, such that, if a selected service failed, another one should replace it that fitting with the agreed QoS in the contract with penalties if some of them are not fulfilled  SSLA to SCSP mapping
  • 16. Kinds of penalties  Arithmetical Penalties •  In relation with measurable qualities of service •  Direct relation to service variables •  E.g. availability, the response time, the reputation, etc. •  The application of arithmetical penalties is a consequence of a contract breach and therefore the transition to a different selection using the choices expressed by the customer in the form of preferences  Behavioural Penalties •  Related to the behavior of either the customer or the service provider •  The application of behavioral penalties is not always a consequence of a contract breach and so, switching to another choice is not obligatory and even less replacing the service
  • 18. Soft SLA Definition: Preferences & Penalties I prefer to get a payment service and delivery service having response time < 5ms. I also accept services with response time between 5ms and 20ms with preference =0,5 Etc. Response time Preferences If the first Most preferred preference is not <5ms fulfilled during the execution I would apply penalty P7 [5ms,20ms[ >20ms Less preferred
  • 19. Soft SLA Definition  Guarantee terms are expressed in terms of preferences and penalties •  Preferences are ranked (most preferred to less preferred) •  Penalties are applied if a preference is not fulfilled  The service broker search for service fulfilling the QoS from the most preferred to the less preferred (at design-time)  Penalties are applied only at runtime and never at design- time, on the faulty service SSLA document QoS Variable Preference Preferences Penalties Preferences/Penalties variables doamins degree association
  • 20. Extending SCSP Using Penalties SCSP Constraint System Constraints Operations Solution
  • 21. Extending Constraint System SCSP Constraint CS = <S; D{}; V> System S = algebraic structure including preference Constraints values V = QoS variables D{} = Variable domains Operations Penalties into S Solution
  • 22. Extending Constraints Using Penalties SCSP Constraint Def = Definition of the System constraint in terms of preference value Constraints Type = in terms of variable intervening in the constraint Operations Penalties into Def Solution
  • 23. Rewrite operations Logic SCSP Constraint System Combination = combination of the constraints (pref) Constraints Projection = generates the optimal solution Operations Rank generated solutions and keep them all Combination of penalties Solution
  • 24. Extending SCSP Using Penalties SCSP Constraint System Global Preferences Constraints Most preferred + Operations Less preferred - Solution
  • 25. Penalty based SCSP Case Study Penalty based SCSP Constraint System Constraints = Penalty values = Preference values Operations Solutions
  • 26. Penalty based SCSP Case Study Penalty based SCSP Constraint System Constraints Operations Solutions
  • 27. Penalty based SCSP Case Study Penalty based SCSP Constraint System Constraints Operations Solutions
  • 28. Penalty based SCSP Case Study Penalty based SCSP Constraint System Constraints Operations Solutions
  • 29. Proposed Approach Logic Input: Constraints, penalties, table of constraint definitions Output: Choices with their possible alternatives ordered Begin For each selection alternative do Combine all the constraints together (apply the min operator); End for; Order the results according to preference values into groups; For each preference value group do Order the elements corresponding to the penalty value; End for; End;
  • 30. Mapping SSLA onto SCSP Solvers
  • 31. Learning Package Overview   Problem Description   Extending SCSP with Penalties & new SLA Model   Conclusions
  • 32. Conclusions 1.  Soft constraint-based framework 2.  Express QoS properties reflecting both customer preferences and penalties applied to unfitting situations 3.  Solution for overconstrained problems –  The application of soft constraints makes it possible to work around overconstrained problems and offer a feasible solution 4.  Provide ranked choice to offer more flexibility at design-time to find required services, and at runtime to ensure users’ rights 5.  Concept of penalties in SCSP We plan to extend this framework to also deal with behavioral penalties
  • 34. Further S-Cube Reading [ZBC10] Mohamed Anis Zemni, Salima Benbernou, and Manuel Carro A Soft Constraint-Based Approach to QoS-Aware Service Selection In proceeding of the Service-Oriented Computing - 8th International Conference (ICSOC 2010), volume 6470 of Lecture Notes in Computer Science, pages 596-602 San Francisco, CA, USA, December 7-10, 2010
  • 35. 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).