controlling the palladio bench using the descartes query
play

Controlling the Palladio Bench using the Descartes Query Language - PowerPoint PPT Presentation

Controlling the Palladio Bench using the Descartes Query Language Kieker/Palladio Days 2013 Fabian Gorsler, Fabian Brosig, Samuel Kounev | 2013-11-27 DESCARTES RESEARCH GROUP www.kit.edu KIT University of the State of Baden-Wuerttemberg


  1. Controlling the Palladio Bench using the Descartes Query Language Kieker/Palladio Days 2013 Fabian Gorsler, Fabian Brosig, Samuel Kounev | 2013-11-27 DESCARTES RESEARCH GROUP www.kit.edu KIT – University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz Association

  2. Our Motivation Service X ?ms Service Y ?ms Service Z ?ms Resource A ??% Resource B ??% Figure 1 : The Performance Prediction Process Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 2/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  3. Our Motivation Z Service X ?ms Service Y ?ms X Y Service Z ?ms Resource A ??% Resource B ??% A.1 A.2 B Architecture-Level Performance Model Figure 1 : The Performance Prediction Process Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 2/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  4. Our Motivation Z Service X ?ms Service Y ?ms X Y Service Z ?ms Resource A ??% Resource B ??% A.1 A.2 B Architecture-Level Performance Model Analysis Model Figure 1 : The Performance Prediction Process Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 2/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  5. Our Motivation Z Service X 3ms Service Y 4ms X Y Service Z 6ms Resource A 33% Resource B 78% A.1 A.2 B Architecture-Level Performance Model Analysis Model Figure 1 : The Performance Prediction Process Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 2/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  6. Our Motivation Z Service X 3ms Service Y 4ms X Y Service Z 6ms Resource A 33% Resource B 78% A.1 A.2 B Architecture-Level Performance Model Analysis Model Figure 1 : The Performance Prediction Process Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 2/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  7. Our Approach What is the Descartes Query Language (DQL)? A declarative query language [Gorsler, 2013] Independent of a specific modeling or prediction formalism An approach to integrate existing tools and techniques An interface to unify other approaches’ interfaces Built on top of an extensible architecture ...and what it is not? Neither an approach for performance predictions, ... ...nor a model transformation approach Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 3/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  8. Architecture of DQL DQL Language DQL Query Model-specific & Editor Execution Engine External Toolchain <<submit query>> DQL DQL Connector Registry Connector <<register>> Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 4/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  9. MediaStore and Outline MediaStore MediaStore is an example of a three-tier web application Demonstrates capabilities of Palladio Component Model (PCM) Contains an AppServer and a DBServer with CPUs and HDDs each ⇒ Is DQL usable in such a scenario? Outline Determine performance-relevant entities and metrics 1 Trigger a simulation and extract performance metrics 2 Trigger an experiment series through Degrees of Freedom (DoFs) 3 Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 5/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  10. Finding Entities Obtain information about all performance-relevant entities � Interpret the model instance Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 6/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  11. Finding Entities Obtain information about all performance-relevant entities � Interpret the model instance LIST ENTITIES USING pcm@’mediastore.properties’; Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 6/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  12. Finding Entities Obtain information about all performance-relevant entities � Interpret the model instance LIST ENTITIES USING pcm@’mediastore.properties’; Exemplary Type Id Alias Metric Value AppServer_CPU Resource ./. ./. Result: id1 Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 6/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  13. Backgrounds: Type Mapping pcm::resourceenvironment mapping ProcessingResourceSpecification Entity Resource LinkingResourceSpecification -identifier: String Service pcm::usagemodel pcm::repository EntryLevelSystemCall UsageScenario <<identifies>> ExternalCallAction Figure 2 : PCM ← DQL based on [Reussner et al., 2011] Direct EMF/Ecore accesses Loosely-coupled using identifier values Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 7/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  14. Determining available Metrics Obtain information about available performance metrics � Interpret the referenced entities Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 8/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  15. Determining available Metrics Obtain information about available performance metrics � Interpret the referenced entities LIST METRICS ( RESOURCE ’id1’ AS AppServer_CPU, RESOURCE ’id2’ AS DBServer_CPU RESOURCE ’id3’ AS DBServer_HDD) USING pcm@’mediastore.properties’; Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 8/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  16. Determining available Metrics Obtain information about available performance metrics � Interpret the referenced entities LIST METRICS ( RESOURCE ’id1’ AS AppServer_CPU, RESOURCE ’id2’ AS DBServer_CPU RESOURCE ’id3’ AS DBServer_HDD) USING pcm@’mediastore.properties’; Exemplary Type Id Alias Metric Value AppServer_CPU Result: Resource id1 Utilization ./. Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 8/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  17. Triggering a Simulation Request performance metrics for model entities � Trigger a simulation run and extract results Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 9/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  18. Triggering a Simulation Request performance metrics for model entities � Trigger a simulation run and extract results SELECT AppServer_CPU.utilization, DBServer_CPU.utilization, DBServer_HDD.utilization FOR RESOURCE ’id1’ AS AppServer_CPU, RESOURCE ’id2’ AS DBServer_CPU, RESOURCE ’id3’ AS DBServer_HDD USING pcm@’mediastore.properties’; Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 9/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  19. Triggering a Simulation Request performance metrics for model entities � Trigger a simulation run and extract results SELECT AppServer_CPU.utilization, DBServer_CPU.utilization, DBServer_HDD.utilization FOR RESOURCE ’id1’ AS AppServer_CPU, RESOURCE ’id2’ AS DBServer_CPU, RESOURCE ’id3’ AS DBServer_HDD USING pcm@’mediastore.properties’; Exemplary Type Id Alias Metric Value AppServer_CPU Result: Resource Utilization 0.3671 id1 Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 9/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  20. Bonus: Aggregates in DQL Computation of aggregated performance metrics Functionality independent of a DQL Connector Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 10/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  21. Bonus: Aggregates in DQL Computation of aggregated performance metrics Functionality independent of a DQL Connector SELECT MEAN (AppServer1_CPU.utilization, AppServer2_CPU.utilization) FOR RESOURCE ’idA1’ AS AppServer1_CPU, RESOURCE ’idA2’ AS AppServer2_CPU, USING pcm@’mediastore.properties’; Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 10/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

  22. Backgrounds: Trigger and Extraction Palladio Component Model (PCM) Experiment Automation to trigger simulations [Merkle, 2011] Part of the PCM Incubator, not yet stable Static mapping of available performance metrics Resource : demanded time and utilization Service : response time Direct access to performance metrics through SensorFramework Workaround for unique identification of Resource instances Introduction of DQL Case Study MediaStore Conclusion 2013-11-27 11/15 Fabian Gorsler, Fabian Brosig, Samuel Kounev – Controlling the Palladio Bench using DQL

Recommend


More recommend