a qos assurance framework for distributed infrastructures
play

A QoS Assurance Framework for Distributed Infrastructures Andr Lage - PowerPoint PPT Presentation

A QoS Assurance Framework for Distributed Infrastructures Andr Lage Freitas , Nikos Parlavantzas, Jean-Louis Pazat {Andre.Lage,Nikos.Parlavantzas,Jean-Louis.Pazat}@irisa.fr Universit Europenne de Bretagne INSA, INRIA, IRISA, UMR 6074


  1. A QoS Assurance Framework for Distributed Infrastructures André Lage Freitas , Nikos Parlavantzas, Jean-Louis Pazat {Andre.Lage,Nikos.Parlavantzas,Jean-Louis.Pazat}@irisa.fr Université Européenne de Bretagne INSA, INRIA, IRISA, UMR 6074 F-35708 Rennes, France Myriads Team - INRIA–IRISA 3rd International Workshop on Monitoring, Adaptation and Beyond (MONA+) Ayia Napa, Cyprus December 1, 2010

  2. Outline Context 1 Service-Oriented Architecture (SOA) The Problem Challenges QU4DS: Quality Assurance for Distributed Services 2 Architecture Use Cases Implementation Preliminary Evaluation Conclusions 3 André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 2 / 32

  3. Outline Context 1 Service-Oriented Architecture (SOA) The Problem Challenges QU4DS: Quality Assurance for Distributed Services 2 Architecture Use Cases Implementation Preliminary Evaluation Conclusions 3 André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 3 / 32

  4. Service-Oriented Architecture (SOA) [5] Service abstraction Distributed business applications Re-usability Interoperability Loose-coupling Service-Based Applications (SBA) Composition of services Service-Level Agreements (SLA) Functional Non-functional André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 4 / 32

  5. Service-Oriented Architecture (SOA) [5] Quality of Service (QoS) Promotes business Differentiates service providers Influences directly on contract establishments Examples: Request response time Request throughput Service availability André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 5 / 32

  6. The Problem To ensure the agreed QoS Prevent SLA violations Avoid penalties Reduce costs Improve service reputation André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 6 / 32

  7. The Problem: Scope Atomic service on large-scale distributed infrastructures André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 7 / 32

  8. Goal Provide QoS assurance for atomic service on large-scale distributed infrastructures André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 8 / 32

  9. Goal Provide QoS assurance for atomic service on large-scale distributed infrastructures André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 9 / 32

  10. Goal Provide QoS assurance for atomic service on large-scale distributed infrastructures André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 10 / 32

  11. Goal Provide QoS assurance for atomic service on large-scale distributed infrastructures André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 11 / 32

  12. Goal Provide QoS assurance for atomic service on large-scale distributed infrastructures André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 12 / 32

  13. Raised Issues What can the underlying infrastructure provide? How to match QoS requirements to service instantiation and resource configurations? How to deal with the dynamic environment? André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 13 / 32

  14. What can the underlying infrastructure provide? Trade-off Simplicity Control A Uniform Infrastructure Usage SAGA [3] easy + accounting Separation of two distinct managements Job Resource André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 14 / 32

  15. What can the underlying infrastructure provide? Trade-off Simple and high-level Simplicity Job Control create(jobDescription) run() cancel() A Uniform Infrastructure Usage checkpoint() suspend() resume() SAGA [3] easy + accounting migrate() registerCallback() Separation of two distinct managements Accounting Job Pricing model Resource André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 14 / 32

  16. How to match QoS requirements to service instantiation and resource configurations? QoS ↔ service instance and resource configurations E.g.: response time ↔ instantiation requirements + number of resources It is not trivial High-level infrastructures interfaces are not enough André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 15 / 32

  17. How to match QoS requirements to service instantiation and resource configurations? QoS ↔ service instance and resource configurations E.g.: response time ↔ instantiation requirements + number of resources It is not trivial High-level infrastructures interfaces are not enough Representation of such a translation Application profiling Analytical models Implementation details The more knowledge, the more accurate André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 15 / 32

  18. How to deal with the dynamic environment? Unpredictability of service demand New customers Provision changes Infrastructure dynamism Availability Requirements fluctuations André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 16 / 32

  19. How to deal with the dynamic environment? Self-Adaptation Adaptation at runtime Autonomic control loop [4] Unpredictability of service Dynaco [1] demand New customers Provision changes Infrastructure dynamism Availability Requirements fluctuations André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 16 / 32

  20. The Pieces Together André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 17 / 32

  21. The Pieces Together André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 18 / 32

  22. The Pieces Together André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 19 / 32

  23. Outline Context 1 Service-Oriented Architecture (SOA) The Problem Challenges QU4DS: Quality Assurance for Distributed Services 2 Architecture Use Cases Implementation Preliminary Evaluation Conclusions 3 André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 20 / 32

  24. QU4DS: Quality Assurance for Distributed Services QU4DS is a framework for ensuring QoS for distributed services André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 21 / 32

  25. QU4DS: Quality Assurance for Distributed Services QU4DS is a framework for ensuring QoS for distributed services Translate QoS parameters to service instance and resource configurations in a bi-directional way Automatically deploy the service on appropriate resources Ensure the agreed QoS by reacting to underlying infrastructures changes while keeping compliant to the QoS objectives André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 21 / 32

  26. QU4DS – Architecture André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 22 / 32

  27. QU4DS – Use Case 1: SLA Negotiation André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 23 / 32

  28. QU4DS – Use Case 2: QoS Assurance André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 24 / 32

  29. Implementation Overview Prototype implemented in Java Support for Master/Worker applications Management of service tasks Workers wrapped as jobs Master can focus on its main concern André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 25 / 32

  30. Implementation Overview Prototype implemented in Java Support for Master/Worker applications Management of service tasks Workers wrapped as jobs Master can focus on its main concern Infrastructure: simple, high-level API and based on XOSAGA Backend: XtreemOS [2] Customized metrics André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 25 / 32

  31. Implementation Details QoS Translator: application profiling QoS ↔ # of workers E.g.: 1 min response time ↔ 4 workers André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 26 / 32

  32. Implementation Details QoS Translator: application profiling QoS ↔ # of workers E.g.: 1 min response time ↔ 4 workers Self-Adaptation: QoS Assurance Controller Implements a simple control loop Monitor Job: state, elapsed time, CPU usage, number of threads, command QoS: response time Decider Event-condition-action Planning Sequence of XOSAGA methods Executor André Lage Freitas (INRIA - Myriads Team) Quality Assurance for Distributed Services December 2010 26 / 32

Recommend


More recommend