SlideShare a Scribd company logo
1 of 16
Download to read offline
Coordination-aware Elasticity 
Stefano Mariani1, Hong-Linh Truong2, Georgiana Copil2, Andrea Omicini1, 
Schahram Dustdar2 
1DISI, Alma Mater Studiorum, Università di Bologna 
2Distributed Systems Group, Vienna University of Technology 
truong@dsg.tuwien.ac.at 
http://dsg.tuwien.ac.at/research/viecom 
7th IEEE/ACM International Conference on Utility and Cloud Computing (UCC 2014) 
11 Dec 2014, London 
1
Outline 
 Motivation 
 Coordination-aware elasticity approach 
 Integrating elasticity and coordination 
 Prototype and examples 
 Conclusions and future work 
UCC 2014, 11 Dec 2014, London 2
Cloud system n 
Motivation 
 Elasticity for complex services in multiple cloud 
environments needs to move from “control” to 
“coordination” 
UCC 2014, 11 Dec 2014, London 3 
Cloud system 1 
Better coordinator 
Elasticity 
Control 
Goal: Accelerating the development of elasticity 
through the notion of coordination-aware 
elasticity 
 Current development/operation issues 
 Often hard-code, design-time only parameters 
(waiting times, number of tries, targets of 
operations, etc.) 
 Poor synchronisation between enforcement 
mechanisms (hard-coded or undefined waiting 
times, missing knowledge about operations 
success/failure, etc.) 
 Lack of portability and reusability due to low-level 
cloud APIs 
Elastic service 
enforce Better coordinator 
delegate/manage
Coordination-aware Elasticity 
approach 
 We need better ways to support flexibility, safety and 
encapsulation, and separation and delegation of 
concerns 
 the new way to develop elasticity and coordination interactions in 
clouds 
 Elasticity programming directives 
 delegate elasticity actions to infrastructures and separate 
elasticity control from application logic 
 Coordination laws 
 delegation of interaction management to middleware and 
separation of interactive behaviour from computational one 
UCC 2014, 11 Dec 2014, London 4
Coordination-aware Elasticity 
approach 
 Separate concerns between elasticity and coordination 
 Each cloud system has its own coordination models 
 Elasticity exploits coordination features 
 Both deal with managing run-time dependencies in their own 
scopes 
 Benefits 
 Support run-time delegation and separation of concerns 
 Guarantee safety of interactions between elasticity controllers 
and cloud components/services/plugins 
 Improve availability of elasticity controllers, by delegating 
coordination-related computations 
 Ease development process, by enabling and supporting 
separation of duties and responsibilities 
UCC 2014, 11 Dec 2014, London 5
This paper – our first step 
 mapping between elasticity and coordination 
abstractions 
 “usage patterns” involving integrated usage of 
elasticity control and coordination 
 An initial prototype of coordination-aware 
elasticity based on rSYBL elasticity controller 
and ReSpecT coordination framework 
UCC 2014, 11 Dec 2014, London 6
Integrating concepts 
UCC 2014, 11 Dec 2014, London 7 
Elasticity 
Elastic 
Service/Resource 
Elasticity 
Infrastructure 
Programming 
Directive 
Coordination 
Agent 
(Coordinable) 
Coordination 
Media 
Coordination Law 
Concepts from between two worlds must be mapped 
 Semantics of concepts are easy to understand 
 Implementation/syntax/performance are quite different
Integrating concepts 
 Within a single cloud system, elastic service units and 
computational resources are the entities subject of the 
coordination process (the coordinables) 
 Such a process is supported by a suitable elastic 
coordination infrastructure composed by a network of 
distributed coordination media and elastic management 
components 
 Such components are responsible for the run-time 
enforcement and programmability of the desired elastic 
coordination directives 
UCC 2014, 11 Dec 2014, London 8
Integrating languages 
 monitoring primitives and coordination events: enabling the system 
to react to changes in its state 
 constraints and observation (guards): controlling execution of 
(elastic/coordination) computations in response to 
(elastic/coordination) events 
 Strategies and coordination computations: allow the 
elastic/coordination infrastructure to perform computations in 
response to elastic/coordination events 
UCC 2014, 11 Dec 2014, London 9 
Elasticity Directives Coordination Laws 
Directive Law 
Runtime Functions Primitives 
Monitoring Event 
Constraint Observation 
Strategy Communication
Cloud system n 
Runtime and APIs integration 
UCC 2014, 11 Dec 2014, London 10 
 elasticity and coordination controllers work in tight synergy 
 the coordination-aware elasticity enforcement process 
dynamically delegates responsibilities to the right component
Prototype and examples 
 Prototype 
 SYBL language and runtime (rSYBL) - for elasticity 
 the ReSpecT language and runtime (TuCSoN) — for 
coordination 
 TuCSoN is used for coordinating resources in a 
single cloud system 
 rSYBL is used to control elasticity across systems 
 GITs 
 https://github.com/tuwiendsg/rSYBL 
 https://github.com/tuwiendsg/rSYBL/tree/coordination 
UCC 2014, 11 Dec 2014, London 11
Example of delegation 
UCC 2014, 11 Dec 2014, 
London 
12 
Elasticity 
controller 
development
Run-time benefits 
UCC 2014, 11 Dec 2014, London 13 
Elasticity controllers are “locked-in” 
to such API 
synchronous cloud API calls  
lose elasticity control flow, being 
obliged to wait until the call returns 
asynchronous cloud API calls  
busy-waits to know if scale out was 
successful? 
something bad happens  elasticity 
controllers are responsible of 
failure-handling  tedious tasks 
(e.g. undo and/or redo) 
Coordination-unaware 
Elasticity
Run-time benefits 
UCC 2014, 11 Dec 2014, London 14 
Scaling out is delegated to 
coordination services  
control flow is retained by 
elasticity controllers, now 
free from cloud API issues 
(e.g. invocation semantics) 
and no longer tied to the 
specific cloud 
provider/system 
API calls are now asynchronous by 
default  coordination guarantees 
replies in finite time and failures are 
confined to coordination services 
Coordination-aware Elasticity
Conclusions and future work 
 A new approach: coordination-aware elasticity 
 Programming and engineering elasticity across multiple clouds 
need better software engineering techniques 
 Elasticity languages and runtimes should leverage coordination 
capabilities of underlying cloud systems to deal with complex 
elasticity scenarios  delegation and separation of concerns 
 However, it is just an early stage with simple 
coordination models 
 Cloud systems would have complex coordination 
models/languages for their services/resources 
 Future work 
 Real-world coordination models for single cloud systems 
 Elasticity-coordination interaction protocols 
UCC 2014, 11 Dec 2014, London 15
Thanks for your attention! 
Hong-Linh Truong 
Distributed Systems Group 
TU Wien 
truong@dsg.tuwien.ac.at 
dsg.tuwien.ac.at/research/viecom 
UCC 2014, 11 Dec 2014, London 16

More Related Content

Viewers also liked

Viewers also liked (9)

Hybrid Collective Adaptive Systems
Hybrid Collective Adaptive SystemsHybrid Collective Adaptive Systems
Hybrid Collective Adaptive Systems
 
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
Emerging Dynamic TUW-ASE Summer 2015 - Distributed Systems and Challenges for...
 
Context-aware Programming for Hybrid and Diversity-aware Collective Adaptive ...
Context-aware Programming for Hybrid and Diversity-aware Collective Adaptive ...Context-aware Programming for Hybrid and Diversity-aware Collective Adaptive ...
Context-aware Programming for Hybrid and Diversity-aware Collective Adaptive ...
 
TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...
TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...
TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...
 
Fundamentals of Collective Adaptive Systems Manifesto
Fundamentals of Collective Adaptive Systems ManifestoFundamentals of Collective Adaptive Systems Manifesto
Fundamentals of Collective Adaptive Systems Manifesto
 
Scalability Issues of Firefly-Based Self-Synchronization in Collective Adapti...
Scalability Issues of Firefly-Based Self-Synchronization in Collective Adapti...Scalability Issues of Firefly-Based Self-Synchronization in Collective Adapti...
Scalability Issues of Firefly-Based Self-Synchronization in Collective Adapti...
 
Human-machine Coexistence in Groups
Human-machine Coexistence in GroupsHuman-machine Coexistence in Groups
Human-machine Coexistence in Groups
 
Towards Hybrid and Diversity-Aware Collective Adaptive Systems
Towards Hybrid and Diversity-Aware Collective Adaptive SystemsTowards Hybrid and Diversity-Aware Collective Adaptive Systems
Towards Hybrid and Diversity-Aware Collective Adaptive Systems
 
Smart Society: Vision and Challenges
Smart Society: Vision and ChallengesSmart Society: Vision and Challenges
Smart Society: Vision and Challenges
 

Similar to Coordination-aware Elasticity

COMOT – Platform-as-a-Service for Software-defined Elastic Systems
COMOT – Platform-as-a-Service for Software-defined Elastic SystemsCOMOT – Platform-as-a-Service for Software-defined Elastic Systems
COMOT – Platform-as-a-Service for Software-defined Elastic Systems
Hong-Linh Truong
 
CoMoT – A Platform-as-a-Service for Elasticity in the Cloud
CoMoT – A Platform-as-a-Service for Elasticity in the CloudCoMoT – A Platform-as-a-Service for Elasticity in the Cloud
CoMoT – A Platform-as-a-Service for Elasticity in the Cloud
Hong-Linh Truong
 
Cost-aware scalability of applications in public clouds
Cost-aware scalability of applications in public clouds Cost-aware scalability of applications in public clouds
Cost-aware scalability of applications in public clouds
Daniel Moldovan
 

Similar to Coordination-aware Elasticity (20)

EOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithmEOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
 
COMOT – Platform-as-a-Service for Software-defined Elastic Systems
COMOT – Platform-as-a-Service for Software-defined Elastic SystemsCOMOT – Platform-as-a-Service for Software-defined Elastic Systems
COMOT – Platform-as-a-Service for Software-defined Elastic Systems
 
CoMoT – A Platform-as-a-Service for Elasticity in the Cloud
CoMoT – A Platform-as-a-Service for Elasticity in the CloudCoMoT – A Platform-as-a-Service for Elasticity in the Cloud
CoMoT – A Platform-as-a-Service for Elasticity in the Cloud
 
Model-driven adaptation of service choreographies [SAC 2018]
Model-driven adaptation of service choreographies [SAC 2018]Model-driven adaptation of service choreographies [SAC 2018]
Model-driven adaptation of service choreographies [SAC 2018]
 
Orleans: Cloud Computing for Everyone - SOCC 2011
Orleans: Cloud Computing for Everyone - SOCC 2011Orleans: Cloud Computing for Everyone - SOCC 2011
Orleans: Cloud Computing for Everyone - SOCC 2011
 
Resource usage optimization in cloud based networks
Resource usage optimization in cloud based networksResource usage optimization in cloud based networks
Resource usage optimization in cloud based networks
 
WiSANCloud: a set of UML-based specifications for the integration of Wireless...
WiSANCloud: a set of UML-based specifications for the integration of Wireless...WiSANCloud: a set of UML-based specifications for the integration of Wireless...
WiSANCloud: a set of UML-based specifications for the integration of Wireless...
 
81-T48
81-T4881-T48
81-T48
 
Timeline: An Operating System Abstraction for Time-Aware Applications
Timeline: An Operating System Abstraction for Time-Aware ApplicationsTimeline: An Operating System Abstraction for Time-Aware Applications
Timeline: An Operating System Abstraction for Time-Aware Applications
 
Support for Goal Oriented Requirements Engineering in Elastic Cloud Applications
Support for Goal Oriented Requirements Engineering in Elastic Cloud ApplicationsSupport for Goal Oriented Requirements Engineering in Elastic Cloud Applications
Support for Goal Oriented Requirements Engineering in Elastic Cloud Applications
 
HSIENA: a hybrid publish/subscribe system
HSIENA: a hybrid publish/subscribe systemHSIENA: a hybrid publish/subscribe system
HSIENA: a hybrid publish/subscribe system
 
Cost-aware scalability of applications in public clouds
Cost-aware scalability of applications in public clouds Cost-aware scalability of applications in public clouds
Cost-aware scalability of applications in public clouds
 
Cloud testing
Cloud testingCloud testing
Cloud testing
 
An Overview of Workflow Management on Mobile Agent Technology
An Overview of Workflow Management on Mobile Agent TechnologyAn Overview of Workflow Management on Mobile Agent Technology
An Overview of Workflow Management on Mobile Agent Technology
 
Graph-Based Algorithm for a User-Aware SaaS Approach: Computing Optimal Distr...
Graph-Based Algorithm for a User-Aware SaaS Approach: Computing Optimal Distr...Graph-Based Algorithm for a User-Aware SaaS Approach: Computing Optimal Distr...
Graph-Based Algorithm for a User-Aware SaaS Approach: Computing Optimal Distr...
 
G017553540
G017553540G017553540
G017553540
 
Concurrency Issues in Object-Oriented Modeling
Concurrency Issues in Object-Oriented ModelingConcurrency Issues in Object-Oriented Modeling
Concurrency Issues in Object-Oriented Modeling
 
Ieeepro techno solutions 2014 ieee java project - deadline based resource p...
Ieeepro techno solutions   2014 ieee java project - deadline based resource p...Ieeepro techno solutions   2014 ieee java project - deadline based resource p...
Ieeepro techno solutions 2014 ieee java project - deadline based resource p...
 
Ieeepro techno solutions 2014 ieee dotnet project - deadline based resource...
Ieeepro techno solutions   2014 ieee dotnet project - deadline based resource...Ieeepro techno solutions   2014 ieee dotnet project - deadline based resource...
Ieeepro techno solutions 2014 ieee dotnet project - deadline based resource...
 
Ieeepro techno solutions 2014 ieee dotnet project - deadline based resource...
Ieeepro techno solutions   2014 ieee dotnet project - deadline based resource...Ieeepro techno solutions   2014 ieee dotnet project - deadline based resource...
Ieeepro techno solutions 2014 ieee dotnet project - deadline based resource...
 

More from Hong-Linh Truong

Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Hong-Linh Truong
 

More from Hong-Linh Truong (20)

QoA4ML – A Framework for Supporting Contracts in Machine Learning Services
QoA4ML – A Framework for Supporting Contracts in Machine Learning ServicesQoA4ML – A Framework for Supporting Contracts in Machine Learning Services
QoA4ML – A Framework for Supporting Contracts in Machine Learning Services
 
Sharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service DevelopmentSharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service Development
 
Measuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
Measuring, Quantifying, & Predicting the Cost-Accuracy TradeoffMeasuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
Measuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
 
DevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
DevOps for Dynamic Interoperability of IoT, Edge and Cloud SystemsDevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
DevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
 
Dynamic IoT data, protocol, and middleware interoperability with resource sli...
Dynamic IoT data, protocol, and middleware interoperability with resource sli...Dynamic IoT data, protocol, and middleware interoperability with resource sli...
Dynamic IoT data, protocol, and middleware interoperability with resource sli...
 
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
 
Modeling and Provisioning IoT Cloud Systems for Testing Uncertainties
Modeling and Provisioning IoT Cloud Systems for Testing UncertaintiesModeling and Provisioning IoT Cloud Systems for Testing Uncertainties
Modeling and Provisioning IoT Cloud Systems for Testing Uncertainties
 
Characterizing Incidents in Cloud-based IoT Data Analytics
Characterizing Incidents in Cloud-based IoT Data AnalyticsCharacterizing Incidents in Cloud-based IoT Data Analytics
Characterizing Incidents in Cloud-based IoT Data Analytics
 
Enabling Edge Analytics of IoT Data: The Case of LoRaWAN
Enabling Edge Analytics of IoT Data: The Case of LoRaWANEnabling Edge Analytics of IoT Data: The Case of LoRaWAN
Enabling Edge Analytics of IoT Data: The Case of LoRaWAN
 
Analytics of Performance and Data Quality for Mobile Edge Cloud Applications
Analytics of Performance and Data Quality for Mobile Edge Cloud ApplicationsAnalytics of Performance and Data Quality for Mobile Edge Cloud Applications
Analytics of Performance and Data Quality for Mobile Edge Cloud Applications
 
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
 
Deep Context-Awareness: Context Coupling and New Types of Context Information...
Deep Context-Awareness: Context Coupling and New Types of Context Information...Deep Context-Awareness: Context Coupling and New Types of Context Information...
Deep Context-Awareness: Context Coupling and New Types of Context Information...
 
Managing and Testing Ensembles of IoT, Network functions, and Clouds
Managing and Testing Ensembles of IoT, Network functions, and CloudsManaging and Testing Ensembles of IoT, Network functions, and Clouds
Managing and Testing Ensembles of IoT, Network functions, and Clouds
 
Towards a Resource Slice Interoperability Hub for IoT
Towards a Resource Slice Interoperability Hub for IoTTowards a Resource Slice Interoperability Hub for IoT
Towards a Resource Slice Interoperability Hub for IoT
 
On Supporting Contract-aware IoT Dataspace Services
On Supporting Contract-aware IoT Dataspace ServicesOn Supporting Contract-aware IoT Dataspace Services
On Supporting Contract-aware IoT Dataspace Services
 
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
 
On Engineering Analytics of Elastic IoT Cloud Systems
On Engineering Analytics of Elastic IoT Cloud SystemsOn Engineering Analytics of Elastic IoT Cloud Systems
On Engineering Analytics of Elastic IoT Cloud Systems
 
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
 
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
 
Governing Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under UncertaintiesGoverning Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under Uncertainties
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Coordination-aware Elasticity

  • 1. Coordination-aware Elasticity Stefano Mariani1, Hong-Linh Truong2, Georgiana Copil2, Andrea Omicini1, Schahram Dustdar2 1DISI, Alma Mater Studiorum, Università di Bologna 2Distributed Systems Group, Vienna University of Technology truong@dsg.tuwien.ac.at http://dsg.tuwien.ac.at/research/viecom 7th IEEE/ACM International Conference on Utility and Cloud Computing (UCC 2014) 11 Dec 2014, London 1
  • 2. Outline  Motivation  Coordination-aware elasticity approach  Integrating elasticity and coordination  Prototype and examples  Conclusions and future work UCC 2014, 11 Dec 2014, London 2
  • 3. Cloud system n Motivation  Elasticity for complex services in multiple cloud environments needs to move from “control” to “coordination” UCC 2014, 11 Dec 2014, London 3 Cloud system 1 Better coordinator Elasticity Control Goal: Accelerating the development of elasticity through the notion of coordination-aware elasticity  Current development/operation issues  Often hard-code, design-time only parameters (waiting times, number of tries, targets of operations, etc.)  Poor synchronisation between enforcement mechanisms (hard-coded or undefined waiting times, missing knowledge about operations success/failure, etc.)  Lack of portability and reusability due to low-level cloud APIs Elastic service enforce Better coordinator delegate/manage
  • 4. Coordination-aware Elasticity approach  We need better ways to support flexibility, safety and encapsulation, and separation and delegation of concerns  the new way to develop elasticity and coordination interactions in clouds  Elasticity programming directives  delegate elasticity actions to infrastructures and separate elasticity control from application logic  Coordination laws  delegation of interaction management to middleware and separation of interactive behaviour from computational one UCC 2014, 11 Dec 2014, London 4
  • 5. Coordination-aware Elasticity approach  Separate concerns between elasticity and coordination  Each cloud system has its own coordination models  Elasticity exploits coordination features  Both deal with managing run-time dependencies in their own scopes  Benefits  Support run-time delegation and separation of concerns  Guarantee safety of interactions between elasticity controllers and cloud components/services/plugins  Improve availability of elasticity controllers, by delegating coordination-related computations  Ease development process, by enabling and supporting separation of duties and responsibilities UCC 2014, 11 Dec 2014, London 5
  • 6. This paper – our first step  mapping between elasticity and coordination abstractions  “usage patterns” involving integrated usage of elasticity control and coordination  An initial prototype of coordination-aware elasticity based on rSYBL elasticity controller and ReSpecT coordination framework UCC 2014, 11 Dec 2014, London 6
  • 7. Integrating concepts UCC 2014, 11 Dec 2014, London 7 Elasticity Elastic Service/Resource Elasticity Infrastructure Programming Directive Coordination Agent (Coordinable) Coordination Media Coordination Law Concepts from between two worlds must be mapped  Semantics of concepts are easy to understand  Implementation/syntax/performance are quite different
  • 8. Integrating concepts  Within a single cloud system, elastic service units and computational resources are the entities subject of the coordination process (the coordinables)  Such a process is supported by a suitable elastic coordination infrastructure composed by a network of distributed coordination media and elastic management components  Such components are responsible for the run-time enforcement and programmability of the desired elastic coordination directives UCC 2014, 11 Dec 2014, London 8
  • 9. Integrating languages  monitoring primitives and coordination events: enabling the system to react to changes in its state  constraints and observation (guards): controlling execution of (elastic/coordination) computations in response to (elastic/coordination) events  Strategies and coordination computations: allow the elastic/coordination infrastructure to perform computations in response to elastic/coordination events UCC 2014, 11 Dec 2014, London 9 Elasticity Directives Coordination Laws Directive Law Runtime Functions Primitives Monitoring Event Constraint Observation Strategy Communication
  • 10. Cloud system n Runtime and APIs integration UCC 2014, 11 Dec 2014, London 10  elasticity and coordination controllers work in tight synergy  the coordination-aware elasticity enforcement process dynamically delegates responsibilities to the right component
  • 11. Prototype and examples  Prototype  SYBL language and runtime (rSYBL) - for elasticity  the ReSpecT language and runtime (TuCSoN) — for coordination  TuCSoN is used for coordinating resources in a single cloud system  rSYBL is used to control elasticity across systems  GITs  https://github.com/tuwiendsg/rSYBL  https://github.com/tuwiendsg/rSYBL/tree/coordination UCC 2014, 11 Dec 2014, London 11
  • 12. Example of delegation UCC 2014, 11 Dec 2014, London 12 Elasticity controller development
  • 13. Run-time benefits UCC 2014, 11 Dec 2014, London 13 Elasticity controllers are “locked-in” to such API synchronous cloud API calls  lose elasticity control flow, being obliged to wait until the call returns asynchronous cloud API calls  busy-waits to know if scale out was successful? something bad happens  elasticity controllers are responsible of failure-handling  tedious tasks (e.g. undo and/or redo) Coordination-unaware Elasticity
  • 14. Run-time benefits UCC 2014, 11 Dec 2014, London 14 Scaling out is delegated to coordination services  control flow is retained by elasticity controllers, now free from cloud API issues (e.g. invocation semantics) and no longer tied to the specific cloud provider/system API calls are now asynchronous by default  coordination guarantees replies in finite time and failures are confined to coordination services Coordination-aware Elasticity
  • 15. Conclusions and future work  A new approach: coordination-aware elasticity  Programming and engineering elasticity across multiple clouds need better software engineering techniques  Elasticity languages and runtimes should leverage coordination capabilities of underlying cloud systems to deal with complex elasticity scenarios  delegation and separation of concerns  However, it is just an early stage with simple coordination models  Cloud systems would have complex coordination models/languages for their services/resources  Future work  Real-world coordination models for single cloud systems  Elasticity-coordination interaction protocols UCC 2014, 11 Dec 2014, London 15
  • 16. Thanks for your attention! Hong-Linh Truong Distributed Systems Group TU Wien truong@dsg.tuwien.ac.at dsg.tuwien.ac.at/research/viecom UCC 2014, 11 Dec 2014, London 16