Automated Transformation from Descartes Meta Model to ... · Automated Transformation from...

20
Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian Hildebrandt Dept. of Computer Science, University of Würzburg Symposium on Software Performance, Nov 6 th 2015, Munich, Germany

Transcript of Automated Transformation from Descartes Meta Model to ... · Automated Transformation from...

Page 1: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Automated Transformation from Descartes Modeling Language to Palladio Component Model

Jürgen Walter, Simon Eismann, Adrian Hildebrandt

Dept. of Computer Science, University of Würzburg

Symposium on Software Performance, Nov 6th 2015, Munich, Germany

Page 2: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Differences PCM and DML?

2Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 3: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Motivation

3Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Benefits Transformation• Tooling can be reused• Improves understanding of differences• Flexibility to change

Benefits Automation• Automated transformation is faster, less error-prone and less expensive compared to manual

extraction

Page 4: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Project Overview

•Tooling has to be developed for each formalism•Comparison challenging•Manual transformation error-prone and time consuming

Problem

•Model transformation of DML to PCMIdea

•Reuse of existing PCM tooling for DML• Improved understanding of differences and similarities•Simplified change of formalism

Benefit

• Implement a model-to-model transformationAction

4Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 5: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Architectural Performance Modeling

5Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 6: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Transformation Overview

6

Resourcelandscape Resourceevironment

Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 7: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Resource Landscape

7Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Information loss

Hierarchical resource landscape

Page 8: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

8Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Resource Landscape

Page 9: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Specification of Processing Resources

9Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 10: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Processing Resources

Hardware Layer

Software Layer

ComputingInfrastructure

Information loss

Resource Container

10Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

“Server“

Page 11: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

DML Abstraction Layers• Fine-grained behavior• Coarse-grained behavior• Blackbox behavior

Service Behavior

Example:

11Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

PCM Abstraction Layer• Fine-grained behavior/SEFF

Page 12: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Fine-Grained Behavior Mapping

12Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 13: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Coarse-Grained Behavior Mapping

13

Loop andBranchActions

Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 14: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Blackbox Behavior Mapping

14Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 15: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Technical Transformation Alternatives

Direct-Manipulation

•Multi-purposeprogramminglanguage

•e.g. JAVA

Relational/Declarative

•„Constraintsolving“

•e.g. QVT-R

Operational/ Imperative

•e.g. Xtend

Hybrid

•Declarative andimperative

•e.g. ATL, ETL

15Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 16: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

26 Unit Tests

Evaluation

Components Behavior Interface Resource Landscape

BasicComponent BlackBoxBehavior Interface LinkingResource

ComposedStructure FineGrainedBehavior Signature ComputingInfrastructure

AssemblyConnector ReleaseAction Parameter

ProvidingDelegationConnector

AquireAction PrimitiveDataType

RequiringDelegationConnector

ExternalCallAction ComposedDataType

AssemblyContext InternalCallAction

16

StoEx

BoolPMF, DoublePMF, EnumPMF, BoxedPDF, variableExpression, Term, Multiplication

Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 17: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Case-study

17Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 18: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Summary

•Tooling has to be developed for each formalism•Comparison challenging and time consuming•Manual transformation error-prone

Problem

•Model transformation of DML to PCMIdea

•Reuse of existing PCM tooling for DML• Improved understanding of differences and similarities•Simplified change of formalism

Benefit

• Implement a model-to-model transformationAction

18Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

Page 19: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

THANK YOU

19Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model

https://se3.informatik.uni-wuerzburg.de/descartes/dml2pcm

Page 20: Automated Transformation from Descartes Meta Model to ... · Automated Transformation from Descartes Modeling Language to Palladio Component Model Jürgen Walter, Simon Eismann, Adrian

Literature

20Jürgen Walter: Automated Transformation of Descartes Modeling Language to Palladio Component Model