SlideShare a Scribd company logo
1 of 35
Daniel Moldovan, Georgiana Copil,
Hong-Linh Truong, Schahram Dustdar
On Analyzing Elasticity Relationships
of
Cloud Services
Distributed Systems Group (http://dsg.tuwien.ac.at/)
Vienna University of Technology (http://www.tuwien.ac.at/)
d.moldovan@dsg.tuwien.ac.at
http://www.infosys.tuwien.ac.at/staff/dmoldovan/
CloudCom 2014
CloudCom 2014
Motivation
Elasticity
2
Start with an initial lighter configuration
NOTE:
CloudCom 2014
Motivation
Elasticity
3
Scale/reconfigure service unit when load increases
NOTE:
CloudCom 2014
Motivation
Elasticity
4
Scale back service unit when load decreases
NOTE:
CloudCom 2014
Motivation
Elasticity
5
Scale/reconfigure different service units if situation
demands it
NOTE:
CloudCom 2014
Motivation
Developing intelligent controller: a little prediction
6
Enforce Elasticity Capability
(scale in/out, reconfigure)
Effect/Impact w.r.t.
requirements on ALL UNITS ?
Change in Load
Understand how the elasticity of a service unit is influenced by another unit
i.e. if one unit “moves” towards violating its requirements, what happens with the
other units of the service
NOTE:
CloudCom 2014
Communication
dependencies
Elasticity control
processes
Elasticity Relationships
Causes and Importance
7
e.g., when adding a Data Node instance, the Data
Controller must be informed, to execute data balancing
tasks
e.g., if Event Processing is bottleneck, and thus is
scaled out, the bottleneck might transfer to the Data
end
CloudCom 2014
Elasticity Relationships
Types
8
Direct
relationships
Indirect
relationships
e.g., throughput on Event Processing is dependent on
response time
e.g., CPU usage on Data End is dependent on
throughput on Event Processing which is dependent
on response time
CloudCom 2014
Elasticity Relationships
Definition
9
𝑬𝒍𝑹𝒆𝒍𝒂𝒕𝒊𝒐𝒏𝒔𝒉𝒊𝒑:
𝑪𝒉𝒂𝒏𝒈𝒆𝑭𝒄𝒕, 𝑫𝒆𝒍𝒂𝒚𝑭𝒄𝒕, 𝑨𝒕𝒕𝒆𝒏𝒖𝒂𝒕𝒊𝒐𝒏𝑭𝒄𝒕
Behavior i
Behavior j
CloudCom 2014
Elasticity Relationships
Stakeholders
10
Different users might care about different types of relationships
NOTE:
CloudCom 2014
Aim
Objective
• Determine relationships influencing the service’s elasticity
11
Approach
• Abstract and analyze service behavior w.r.t. elasticity requirements
Challenges
• How to abstract service behavior
• Lack of complete requirements
• Inadequate monitoring information
Scale IN/OUT Reconfigure
Elasticity Controller Elasticity Behavior Analysis MonitoringElastic Cloud Service Elasticity Relationships Analysis
CloudCom 201412
Background
Elastic cloud service
CloudCom 2014
Abstracting Service Behavior
Elasticity Energy
13
El. Boundary
u
El. Boundary
l
If we determine relationships between concrete values, in case of elastic
services which scale in/out at run-time, those absolute values might not hold
after such elasticity capabilities are enforced
Thus, we abstract service behavior with respect to its requirements, which
give us for each metric collected from the service a lower and upper boundary
NOTE:
NOTE:
CloudCom 2014
Abstracting Service Behavior
Elasticity Energy
14
El. Boundary
u
El. Boundary
l
Initial El Energy =
𝐸𝑙𝐵𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝑢
− 𝐸𝑙𝐵𝑜𝑢𝑑𝑎𝑟𝑦 𝑙
ElWork=
𝑥∗𝐿𝑜𝑎𝑑𝑈𝑛𝑖𝑡(%)
𝐼𝐸𝑙𝐸𝑛𝑒𝑟𝑔𝑦
ElEnergy = 100− 𝐸𝑙𝑊𝑜𝑟𝑘 𝑙𝑜𝑎𝑑
− 𝐸𝑙𝑊𝑜𝑟𝑘 𝑖𝑑𝑙𝑒
CloudCom 2014
Background
Structuring monitoring information
15
Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Monitoring and Analyzing Elasticity of Cloud Services, 5'th International
Conference on Cloud Computing, CloudCom. Bristol, UK, 2-5 December, 2013, http://dx.doi.org/10.1109/CloudCom.2013.18
VM 10.0.0.i
mi
VM 10.0.0.j
mi mj mk…
VM 10.0.0.k
mi mj mk…
…
Data Node Unit
Data Controller
Unit
Data End
Topology
…
Event Processing
Topology
Elastic
DaaS
…
VM 10.0.0.i
mi mj mk…
VM 10.0.0.j
mi
Service Unit Instance
Service Unit Instance
mi
mi
Custom aggregation
<rule> := operation "=>" metric
<operation>:= operator "(" operand { "," operand } ")"
<operator> := "+"|"-"|"*"|"/"|"AVG"|"MAX"|"MIN“
|"CONCAT"|"FIRST"|"LAST"|"SET"
<operand> := metric | number | string
Collect only relevant monitoring information,
and logically associate it to the service structure
NOTE:
CloudCom 2014
Background
Determining complete requirements
16
Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Monitoring and Analyzing Elasticity of Cloud Services, 5'th International
Conference on Cloud Computing, CloudCom. Bristol, UK, 2-5 December, 2013, http://dx.doi.org/10.1109/CloudCom.2013.18
Data Node Unit
Data Controller
Unit
Data End
Topology
…
Event Processing
Topology
Elastic
DaaS
mt1
ms
mi
mj
mk
…
ml
mp
…
mt2
User-Defined Elasticity Requirements
ms <= x mt1 > y
for each metric
when REQUIREMENTS are fulfilled
record Upper and Lower encountered values
…
Upper Boundary
Lower Boundary
Upper Boundary
Lower Boundary
? ?
?
?
?
?
Starting from a reduced set of initially known requirements, bridge requirements
knowledge gap by determining requirements for all service metrics
NOTE:
CloudCom 2014
Elasticity Relationships Analysis
Single relationship analysis
17
Depending on the Elasticity
Capability to be enforced,
determine relationships between
the metrics influenced by the
capability and other service
metrics
NOTE:
CloudCom 2014
Elasticity Relationships Analysis
Complete service relationships analysis
18
Traverse structure tree and analyze relationships between:
• El. Metrics from same Elastic Element with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in different Sub-Tree
• El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
CloudCom 2014
Elasticity Relationships Analysis
Complete service relationships analysis
19
Traverse structure tree and analyze relationships between:
• El. Metrics from same Elastic Element with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in different Sub-Tree
• El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
CloudCom 2014
Elasticity Relationships Analysis
Complete service relationships analysis
20
Traverse structure tree and analyze relationships between:
• El. Metrics from same Elastic Element with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in different Sub-Tree
• El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
CloudCom 2014
Elasticity Relationships Analysis
Complete service relationships analysis
21
Traverse structure tree and analyze relationships between:
• El. Metrics from same Elastic Element with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in different Sub-Tree
• El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
CloudCom 2014
Elasticity Relationships Analysis
Complete service relationships analysis
22
Traverse structure tree and analyze relationships between:
• El. Metrics from same Elastic Element with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in same Sub-Tree
• El. Metrics from different Elastic Elements with same Level in different Sub-Tree
• El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
CloudCom 2014
Elasticity Relationships Analysis
Framework
23
CloudCom 2014
Elasticity Relationships Analysis
Prototype
• Elasticity Relationships Analysis R-based Prototype
• Change Function
• Linear dependency function
• Delay Function
• Lag between time series
24
𝑚𝑒𝑡𝑟𝑖𝑐(𝑡) ∶ 𝑒𝑙𝑒𝑚𝑒𝑛𝑡 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 + 𝑐𝑜𝑒𝑓𝑓𝑖 ∗ 𝑚𝑒𝑡𝑟𝑖𝑐𝑖 (𝑡) ∶ 𝑒𝑙𝑒𝑚𝑒𝑛𝑡 𝑥 + …
CloudCom 2014
Elasticity Relationships Analysis
Scenario
• Elastic Data-as-a-Service
• Runs in private cloud
• Bursts in public cloud
25
Event Processing Topology Data End Topology
CloudCom 201426
User-Defined Elasticity Requirements
responseTime:EventProcessing ≤ 100 ms cpuUsage:DataNode ≤ 90 %
Elasticity Relationships Analysis
4 Experimental scenarios
CloudCom 201427
Elasticity Relationships Analysis
Scenario 1: DaaS on private cloud
CloudCom 201428
Elasticity Relationships Analysis
Scenario 1: DaaS on private cloud
A user would look at monitoring information and select what relationships s/he
would like to analyze
NOTE:
CloudCom 201429
Elasticity Relationships Analysis
Scenario 1: DaaS on private cloud
CloudCom 201430
Elasticity Relationships Analysis
Scenario 1: DaaS on private cloud
From the determined relationship,
one can estimate what is the
maximum throughput achievable
before CPU usage on data end
becomes a bottleneck (e.g, 80-
90%), and design a predictive
controller accordingly
NOTE:
CloudCom 201431
Elasticity Relationships Analysis
Scenario 2: DaaS on public cloud
Almost identical relationship also
discovered on the public cloud,
meaning the relationship is due to the
service implementation
NOTE:
CloudCom 201432
Elasticity Relationships Analysis
Scenario 3: DaaS on multiple clouds
In the multi-cloud scenario, the
relationship is attenuated (i.e., 0.18 as
multiplicative constant instead of 0.29),
indicating that CPU usage is less of a
bottleneck (increases more slowly with
throughput)
NOTE:
CloudCom 201433
Elasticity Relationships Analysis
Scenario 4: DaaS with elasticity controller
User-Defined Elasticity Requirements
responseTime:EventProcessing ≤ 100 ms
cpuUsage:DataNode ≤ 90 %
+
CloudCom 201434
Elasticity Relationships Analysis
Scenario 4: DaaS with elasticity controller
User-Defined Elasticity Requirements
responseTime:EventProcessing ≤ 100 ms
cpuUsage:DataNode ≤ 90 %
+
Depending on individual goals, a user might be interested in other determined
relationships, such as that when a particular elasticity controller is used, the achieved
throughput is only half the connection rate in 0.54% of the cases (Adjusted r),
indicating a potential bottleneck in the service
NOTE:
CloudCom 2014
Conclusions
• Concepts
• Elasticity Relationship
• Elasticity Energy/ Work
• Mechanisms
• Abstracting behavior of elastic cloud services w.r.t. requirements
• Analyzing elasticity relationships
• Framework/Tools
• MELA: Monitoring and analyzing elasticity of cloud services
(http://tuwiendsg.github.io/MELA/)
Work partially supported by the European Commission in terms of the CELAR FP7 project
(http://www.celarcloud.eu/)
Distributed Systems Group (http://dsg.tuwien.ac.at/)
Vienna University of Technology (http://www.tuwien.ac.at/)
35

More Related Content

What's hot

Quality of Service Control Mechanisms in Cloud Computing Environments
Quality of Service Control Mechanisms in Cloud Computing EnvironmentsQuality of Service Control Mechanisms in Cloud Computing Environments
Quality of Service Control Mechanisms in Cloud Computing Environments
Soodeh Farokhi
 
Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...
Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...
Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...
Soodeh Farokhi
 
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
Soodeh Farokhi
 
The Power Of Event Chapter 6
The Power Of Event Chapter 6The Power Of Event Chapter 6
The Power Of Event Chapter 6
Woojin Joe
 
Coordinating CPU and Memory Elasticity Controllers to Meet Service Response T...
Coordinating CPU and Memory Elasticity Controllers toMeet Service Response T...Coordinating CPU and Memory Elasticity Controllers toMeet Service Response T...
Coordinating CPU and Memory Elasticity Controllers to Meet Service Response T...
Soodeh Farokhi
 
Wei's notes on MapReduce Scheduling
Wei's notes on MapReduce SchedulingWei's notes on MapReduce Scheduling
Wei's notes on MapReduce Scheduling
Lu Wei
 
The Power Of Event Chapter 7
The Power Of Event Chapter 7The Power Of Event Chapter 7
The Power Of Event Chapter 7
Woojin Joe
 
The Power Of Event Chapter 5
The Power Of Event Chapter 5The Power Of Event Chapter 5
The Power Of Event Chapter 5
Woojin Joe
 
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...
Soodeh Farokhi
 

What's hot (20)

Quality of Service Control Mechanisms in Cloud Computing Environments
Quality of Service Control Mechanisms in Cloud Computing EnvironmentsQuality of Service Control Mechanisms in Cloud Computing Environments
Quality of Service Control Mechanisms in Cloud Computing Environments
 
Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...
Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...
Self-adaptation Challenges for Cloud-based Applications (Feedback Computing 2...
 
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
 
The Power Of Event Chapter 6
The Power Of Event Chapter 6The Power Of Event Chapter 6
The Power Of Event Chapter 6
 
Coordinating CPU and Memory Elasticity Controllers to Meet Service Response T...
Coordinating CPU and Memory Elasticity Controllers toMeet Service Response T...Coordinating CPU and Memory Elasticity Controllers toMeet Service Response T...
Coordinating CPU and Memory Elasticity Controllers to Meet Service Response T...
 
Wei's notes on MapReduce Scheduling
Wei's notes on MapReduce SchedulingWei's notes on MapReduce Scheduling
Wei's notes on MapReduce Scheduling
 
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
Keep Calm and React with Foresight: Strategies for Low-Latency and Energy-Eff...
 
Load Balancing in Cloud
Load Balancing in CloudLoad Balancing in Cloud
Load Balancing in Cloud
 
The Power Of Event Chapter 7
The Power Of Event Chapter 7The Power Of Event Chapter 7
The Power Of Event Chapter 7
 
Cloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based SurveyCloud Computing Load Balancing Algorithms Comparison Based Survey
Cloud Computing Load Balancing Algorithms Comparison Based Survey
 
STUDY THE EFFECT OF PARAMETERS TO LOAD BALANCING IN CLOUD COMPUTING
STUDY THE EFFECT OF PARAMETERS TO LOAD BALANCING IN CLOUD COMPUTINGSTUDY THE EFFECT OF PARAMETERS TO LOAD BALANCING IN CLOUD COMPUTING
STUDY THE EFFECT OF PARAMETERS TO LOAD BALANCING IN CLOUD COMPUTING
 
The Power Of Event Chapter 2
The Power Of Event  Chapter 2The Power Of Event  Chapter 2
The Power Of Event Chapter 2
 
Shaheer
ShaheerShaheer
Shaheer
 
LOAD BALANCING ALGORITHM TO IMPROVE RESPONSE TIME ON CLOUD COMPUTING
LOAD BALANCING ALGORITHM TO IMPROVE RESPONSE TIME ON CLOUD COMPUTINGLOAD BALANCING ALGORITHM TO IMPROVE RESPONSE TIME ON CLOUD COMPUTING
LOAD BALANCING ALGORITHM TO IMPROVE RESPONSE TIME ON CLOUD COMPUTING
 
The Power Of Event Chapter 5
The Power Of Event Chapter 5The Power Of Event Chapter 5
The Power Of Event Chapter 5
 
Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud
 
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...Cost-Aware Virtual Machine Placement acrossDistributed Data Centers using Ba...
Cost-Aware Virtual Machine Placement across Distributed Data Centers using Ba...
 
Coordination-aware Elasticity
Coordination-aware ElasticityCoordination-aware Elasticity
Coordination-aware Elasticity
 
Load Balancing in Auto Scaling Enabled Cloud Environments
Load Balancing in Auto Scaling Enabled Cloud EnvironmentsLoad Balancing in Auto Scaling Enabled Cloud Environments
Load Balancing in Auto Scaling Enabled Cloud Environments
 
Intelligent Workload Management in Virtualized Cloud Environment
Intelligent Workload Management in Virtualized Cloud EnvironmentIntelligent Workload Management in Virtualized Cloud Environment
Intelligent Workload Management in Virtualized Cloud Environment
 

Viewers also liked

Deployment Preparedness
Deployment Preparedness Deployment Preparedness
Deployment Preparedness
MongoDB
 
Top 10 it infrastructure manager interview questions and answers
Top 10 it infrastructure manager interview questions and answersTop 10 it infrastructure manager interview questions and answers
Top 10 it infrastructure manager interview questions and answers
kingjonhs
 
Top 10 it infrastructure interview questions and answers
Top 10 it infrastructure interview questions and answersTop 10 it infrastructure interview questions and answers
Top 10 it infrastructure interview questions and answers
AvrilLavigne888
 
Project Management System
Project Management SystemProject Management System
Project Management System
Divyen Patel
 
Top 15 toughest interview questions with answers
Top 15 toughest interview questions with answersTop 15 toughest interview questions with answers
Top 15 toughest interview questions with answers
jobguide247
 
Top 15 tips to prepare every job interviews
Top 15 tips to prepare every job interviewsTop 15 tips to prepare every job interviews
Top 15 tips to prepare every job interviews
jobguide247
 

Viewers also liked (20)

MELA: Monitoring and Analyzing Elasticity of Cloud Services -- CloudCom 2013
MELA: Monitoring and Analyzing Elasticity of Cloud Services -- CloudCom 2013MELA: Monitoring and Analyzing Elasticity of Cloud Services -- CloudCom 2013
MELA: Monitoring and Analyzing Elasticity of Cloud Services -- CloudCom 2013
 
Deployment Preparedness
Deployment Preparedness Deployment Preparedness
Deployment Preparedness
 
B6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaborationB6 improve operational_efficiency_through_process_and_document_collaboration
B6 improve operational_efficiency_through_process_and_document_collaboration
 
Top 10 it infrastructure manager interview questions and answers
Top 10 it infrastructure manager interview questions and answersTop 10 it infrastructure manager interview questions and answers
Top 10 it infrastructure manager interview questions and answers
 
SharePoint Jumpstart #1 Creating a SharePoint Strategy
SharePoint Jumpstart #1 Creating a SharePoint StrategySharePoint Jumpstart #1 Creating a SharePoint Strategy
SharePoint Jumpstart #1 Creating a SharePoint Strategy
 
How to Plan, Manage and Control SharePoint Projects
How to Plan, Manage and Control SharePoint Projects How to Plan, Manage and Control SharePoint Projects
How to Plan, Manage and Control SharePoint Projects
 
Guiding a Successful SharePoint Implementation
Guiding a Successful SharePoint ImplementationGuiding a Successful SharePoint Implementation
Guiding a Successful SharePoint Implementation
 
Top 10 it infrastructure interview questions and answers
Top 10 it infrastructure interview questions and answersTop 10 it infrastructure interview questions and answers
Top 10 it infrastructure interview questions and answers
 
World-Class Web Metrics by Dan Olsen
World-Class Web Metrics by Dan OlsenWorld-Class Web Metrics by Dan Olsen
World-Class Web Metrics by Dan Olsen
 
How to Manage Projects in SharePoint Using Out of the Box Features
How to Manage Projects in SharePoint Using Out of the Box FeaturesHow to Manage Projects in SharePoint Using Out of the Box Features
How to Manage Projects in SharePoint Using Out of the Box Features
 
Building a Project Management Information System with SharePoint
Building a Project Management Information System with SharePointBuilding a Project Management Information System with SharePoint
Building a Project Management Information System with SharePoint
 
Project Management System
Project Management SystemProject Management System
Project Management System
 
How to implement SharePoint in your organization
How to implement SharePoint in your organizationHow to implement SharePoint in your organization
How to implement SharePoint in your organization
 
Top 15 toughest interview questions with answers
Top 15 toughest interview questions with answersTop 15 toughest interview questions with answers
Top 15 toughest interview questions with answers
 
Project Planning Basics - Everything you need to start managing a project
Project Planning Basics - Everything you need to start managing a projectProject Planning Basics - Everything you need to start managing a project
Project Planning Basics - Everything you need to start managing a project
 
Top 15 tips to prepare every job interviews
Top 15 tips to prepare every job interviewsTop 15 tips to prepare every job interviews
Top 15 tips to prepare every job interviews
 
Strategy Grand Tour
Strategy Grand TourStrategy Grand Tour
Strategy Grand Tour
 
We Are Social's Guide To Building A Connected Strategy
We Are Social's Guide To Building A Connected StrategyWe Are Social's Guide To Building A Connected Strategy
We Are Social's Guide To Building A Connected Strategy
 
Strategic Planning For Managers
Strategic Planning For Managers   Strategic Planning For Managers
Strategic Planning For Managers
 
Utilizing SharePoint for Project Management
Utilizing SharePoint for Project ManagementUtilizing SharePoint for Project Management
Utilizing SharePoint for Project Management
 

Similar to On Analyzing Elasticity Relationships of Cloud Services

Evaluation of load balancing approaches for Erlang concurrent application in ...
Evaluation of load balancing approaches for Erlang concurrent application in ...Evaluation of load balancing approaches for Erlang concurrent application in ...
Evaluation of load balancing approaches for Erlang concurrent application in ...
TELKOMNIKA JOURNAL
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 

Similar to On Analyzing Elasticity Relationships of Cloud Services (20)

Novel Models and Techniques for Monitoring and Analysis of Software-defined E...
Novel Models and Techniques for Monitoring and Analysis of Software-defined E...Novel Models and Techniques for Monitoring and Analysis of Software-defined E...
Novel Models and Techniques for Monitoring and Analysis of Software-defined E...
 
G017553540
G017553540G017553540
G017553540
 
Public Cloud Partition Using Load Status Evaluation and Cloud Division Rules
Public Cloud Partition Using Load Status Evaluation and Cloud Division RulesPublic Cloud Partition Using Load Status Evaluation and Cloud Division Rules
Public Cloud Partition Using Load Status Evaluation and Cloud Division Rules
 
Evaluation of load balancing approaches for Erlang concurrent application in ...
Evaluation of load balancing approaches for Erlang concurrent application in ...Evaluation of load balancing approaches for Erlang concurrent application in ...
Evaluation of load balancing approaches for Erlang concurrent application in ...
 
A load balancing model based on cloud partitioning for the public cloud. ppt
A  load balancing model based on cloud partitioning for the public cloud. ppt A  load balancing model based on cloud partitioning for the public cloud. ppt
A load balancing model based on cloud partitioning for the public cloud. ppt
 
Partitioning based Approach for Load Balancing Public Cloud
Partitioning based Approach for Load Balancing Public CloudPartitioning based Approach for Load Balancing Public Cloud
Partitioning based Approach for Load Balancing Public Cloud
 
LOAD MANAGEMENT IN CLOUD ENVIRONMENT
LOAD MANAGEMENT IN CLOUD ENVIRONMENTLOAD MANAGEMENT IN CLOUD ENVIRONMENT
LOAD MANAGEMENT IN CLOUD ENVIRONMENT
 
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
 
M035484088
M035484088M035484088
M035484088
 
A Novel Switch Mechanism for Load Balancing in Public Cloud
A Novel Switch Mechanism for Load Balancing in Public CloudA Novel Switch Mechanism for Load Balancing in Public Cloud
A Novel Switch Mechanism for Load Balancing in Public Cloud
 
Cloud partitioning with load balancing a new load balancing technique for pub...
Cloud partitioning with load balancing a new load balancing technique for pub...Cloud partitioning with load balancing a new load balancing technique for pub...
Cloud partitioning with load balancing a new load balancing technique for pub...
 
Cloud partitioning with load balancing a new load balancing technique for pub...
Cloud partitioning with load balancing a new load balancing technique for pub...Cloud partitioning with load balancing a new load balancing technique for pub...
Cloud partitioning with load balancing a new load balancing technique for pub...
 
LOAD BALANCING IN CLOUD COMPUTING
LOAD BALANCING IN CLOUD COMPUTINGLOAD BALANCING IN CLOUD COMPUTING
LOAD BALANCING IN CLOUD COMPUTING
 
Cloud service lifecycle management
Cloud service lifecycle managementCloud service lifecycle management
Cloud service lifecycle management
 
EXPERIMENTAL STUDY TO MAINTAIN STABILITY IN THE CASE OF INDUSTRIAL CLOUDLETS ...
EXPERIMENTAL STUDY TO MAINTAIN STABILITY IN THE CASE OF INDUSTRIAL CLOUDLETS ...EXPERIMENTAL STUDY TO MAINTAIN STABILITY IN THE CASE OF INDUSTRIAL CLOUDLETS ...
EXPERIMENTAL STUDY TO MAINTAIN STABILITY IN THE CASE OF INDUSTRIAL CLOUDLETS ...
 
Cloud Service Life-cycle Management
Cloud Service Life-cycle ManagementCloud Service Life-cycle Management
Cloud Service Life-cycle Management
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Scheduling in CCE
Scheduling in CCEScheduling in CCE
Scheduling in CCE
 
Cloud computing performance evaluation issues and challenges3
Cloud computing performance evaluation issues and challenges3Cloud computing performance evaluation issues and challenges3
Cloud computing performance evaluation issues and challenges3
 
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
 

Recently uploaded

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
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
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Ă...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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.
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
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
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 

On Analyzing Elasticity Relationships of Cloud Services

  • 1. Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar On Analyzing Elasticity Relationships of Cloud Services Distributed Systems Group (http://dsg.tuwien.ac.at/) Vienna University of Technology (http://www.tuwien.ac.at/) d.moldovan@dsg.tuwien.ac.at http://www.infosys.tuwien.ac.at/staff/dmoldovan/ CloudCom 2014
  • 2. CloudCom 2014 Motivation Elasticity 2 Start with an initial lighter configuration NOTE:
  • 4. CloudCom 2014 Motivation Elasticity 4 Scale back service unit when load decreases NOTE:
  • 5. CloudCom 2014 Motivation Elasticity 5 Scale/reconfigure different service units if situation demands it NOTE:
  • 6. CloudCom 2014 Motivation Developing intelligent controller: a little prediction 6 Enforce Elasticity Capability (scale in/out, reconfigure) Effect/Impact w.r.t. requirements on ALL UNITS ? Change in Load Understand how the elasticity of a service unit is influenced by another unit i.e. if one unit “moves” towards violating its requirements, what happens with the other units of the service NOTE:
  • 7. CloudCom 2014 Communication dependencies Elasticity control processes Elasticity Relationships Causes and Importance 7 e.g., when adding a Data Node instance, the Data Controller must be informed, to execute data balancing tasks e.g., if Event Processing is bottleneck, and thus is scaled out, the bottleneck might transfer to the Data end
  • 8. CloudCom 2014 Elasticity Relationships Types 8 Direct relationships Indirect relationships e.g., throughput on Event Processing is dependent on response time e.g., CPU usage on Data End is dependent on throughput on Event Processing which is dependent on response time
  • 9. CloudCom 2014 Elasticity Relationships Definition 9 𝑬𝒍𝑹𝒆𝒍𝒂𝒕𝒊𝒐𝒏𝒔𝒉𝒊𝒑: 𝑪𝒉𝒂𝒏𝒈𝒆𝑭𝒄𝒕, 𝑫𝒆𝒍𝒂𝒚𝑭𝒄𝒕, 𝑨𝒕𝒕𝒆𝒏𝒖𝒂𝒕𝒊𝒐𝒏𝑭𝒄𝒕 Behavior i Behavior j
  • 10. CloudCom 2014 Elasticity Relationships Stakeholders 10 Different users might care about different types of relationships NOTE:
  • 11. CloudCom 2014 Aim Objective • Determine relationships influencing the service’s elasticity 11 Approach • Abstract and analyze service behavior w.r.t. elasticity requirements Challenges • How to abstract service behavior • Lack of complete requirements • Inadequate monitoring information Scale IN/OUT Reconfigure Elasticity Controller Elasticity Behavior Analysis MonitoringElastic Cloud Service Elasticity Relationships Analysis
  • 13. CloudCom 2014 Abstracting Service Behavior Elasticity Energy 13 El. Boundary u El. Boundary l If we determine relationships between concrete values, in case of elastic services which scale in/out at run-time, those absolute values might not hold after such elasticity capabilities are enforced Thus, we abstract service behavior with respect to its requirements, which give us for each metric collected from the service a lower and upper boundary NOTE: NOTE:
  • 14. CloudCom 2014 Abstracting Service Behavior Elasticity Energy 14 El. Boundary u El. Boundary l Initial El Energy = 𝐸𝑙𝐵𝑜𝑢𝑛𝑑𝑎𝑟𝑦 𝑢 − 𝐸𝑙𝐵𝑜𝑢𝑑𝑎𝑟𝑦 𝑙 ElWork= 𝑥∗𝐿𝑜𝑎𝑑𝑈𝑛𝑖𝑡(%) 𝐼𝐸𝑙𝐸𝑛𝑒𝑟𝑔𝑦 ElEnergy = 100− 𝐸𝑙𝑊𝑜𝑟𝑘 𝑙𝑜𝑎𝑑 − 𝐸𝑙𝑊𝑜𝑟𝑘 𝑖𝑑𝑙𝑒
  • 15. CloudCom 2014 Background Structuring monitoring information 15 Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Monitoring and Analyzing Elasticity of Cloud Services, 5'th International Conference on Cloud Computing, CloudCom. Bristol, UK, 2-5 December, 2013, http://dx.doi.org/10.1109/CloudCom.2013.18 VM 10.0.0.i mi VM 10.0.0.j mi mj mk… VM 10.0.0.k mi mj mk… … Data Node Unit Data Controller Unit Data End Topology … Event Processing Topology Elastic DaaS … VM 10.0.0.i mi mj mk… VM 10.0.0.j mi Service Unit Instance Service Unit Instance mi mi Custom aggregation <rule> := operation "=>" metric <operation>:= operator "(" operand { "," operand } ")" <operator> := "+"|"-"|"*"|"/"|"AVG"|"MAX"|"MIN“ |"CONCAT"|"FIRST"|"LAST"|"SET" <operand> := metric | number | string Collect only relevant monitoring information, and logically associate it to the service structure NOTE:
  • 16. CloudCom 2014 Background Determining complete requirements 16 Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Monitoring and Analyzing Elasticity of Cloud Services, 5'th International Conference on Cloud Computing, CloudCom. Bristol, UK, 2-5 December, 2013, http://dx.doi.org/10.1109/CloudCom.2013.18 Data Node Unit Data Controller Unit Data End Topology … Event Processing Topology Elastic DaaS mt1 ms mi mj mk … ml mp … mt2 User-Defined Elasticity Requirements ms <= x mt1 > y for each metric when REQUIREMENTS are fulfilled record Upper and Lower encountered values … Upper Boundary Lower Boundary Upper Boundary Lower Boundary ? ? ? ? ? ? Starting from a reduced set of initially known requirements, bridge requirements knowledge gap by determining requirements for all service metrics NOTE:
  • 17. CloudCom 2014 Elasticity Relationships Analysis Single relationship analysis 17 Depending on the Elasticity Capability to be enforced, determine relationships between the metrics influenced by the capability and other service metrics NOTE:
  • 18. CloudCom 2014 Elasticity Relationships Analysis Complete service relationships analysis 18 Traverse structure tree and analyze relationships between: • El. Metrics from same Elastic Element with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in different Sub-Tree • El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
  • 19. CloudCom 2014 Elasticity Relationships Analysis Complete service relationships analysis 19 Traverse structure tree and analyze relationships between: • El. Metrics from same Elastic Element with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in different Sub-Tree • El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
  • 20. CloudCom 2014 Elasticity Relationships Analysis Complete service relationships analysis 20 Traverse structure tree and analyze relationships between: • El. Metrics from same Elastic Element with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in different Sub-Tree • El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
  • 21. CloudCom 2014 Elasticity Relationships Analysis Complete service relationships analysis 21 Traverse structure tree and analyze relationships between: • El. Metrics from same Elastic Element with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in different Sub-Tree • El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
  • 22. CloudCom 2014 Elasticity Relationships Analysis Complete service relationships analysis 22 Traverse structure tree and analyze relationships between: • El. Metrics from same Elastic Element with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in same Sub-Tree • El. Metrics from different Elastic Elements with same Level in different Sub-Tree • El. Metrics from different Elastic Elements with different Level and same/different Sub-Tree
  • 23. CloudCom 2014 Elasticity Relationships Analysis Framework 23
  • 24. CloudCom 2014 Elasticity Relationships Analysis Prototype • Elasticity Relationships Analysis R-based Prototype • Change Function • Linear dependency function • Delay Function • Lag between time series 24 𝑚𝑒𝑡𝑟𝑖𝑐(𝑡) ∶ 𝑒𝑙𝑒𝑚𝑒𝑛𝑡 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡 + 𝑐𝑜𝑒𝑓𝑓𝑖 ∗ 𝑚𝑒𝑡𝑟𝑖𝑐𝑖 (𝑡) ∶ 𝑒𝑙𝑒𝑚𝑒𝑛𝑡 𝑥 + …
  • 25. CloudCom 2014 Elasticity Relationships Analysis Scenario • Elastic Data-as-a-Service • Runs in private cloud • Bursts in public cloud 25 Event Processing Topology Data End Topology
  • 26. CloudCom 201426 User-Defined Elasticity Requirements responseTime:EventProcessing ≤ 100 ms cpuUsage:DataNode ≤ 90 % Elasticity Relationships Analysis 4 Experimental scenarios
  • 27. CloudCom 201427 Elasticity Relationships Analysis Scenario 1: DaaS on private cloud
  • 28. CloudCom 201428 Elasticity Relationships Analysis Scenario 1: DaaS on private cloud A user would look at monitoring information and select what relationships s/he would like to analyze NOTE:
  • 29. CloudCom 201429 Elasticity Relationships Analysis Scenario 1: DaaS on private cloud
  • 30. CloudCom 201430 Elasticity Relationships Analysis Scenario 1: DaaS on private cloud From the determined relationship, one can estimate what is the maximum throughput achievable before CPU usage on data end becomes a bottleneck (e.g, 80- 90%), and design a predictive controller accordingly NOTE:
  • 31. CloudCom 201431 Elasticity Relationships Analysis Scenario 2: DaaS on public cloud Almost identical relationship also discovered on the public cloud, meaning the relationship is due to the service implementation NOTE:
  • 32. CloudCom 201432 Elasticity Relationships Analysis Scenario 3: DaaS on multiple clouds In the multi-cloud scenario, the relationship is attenuated (i.e., 0.18 as multiplicative constant instead of 0.29), indicating that CPU usage is less of a bottleneck (increases more slowly with throughput) NOTE:
  • 33. CloudCom 201433 Elasticity Relationships Analysis Scenario 4: DaaS with elasticity controller User-Defined Elasticity Requirements responseTime:EventProcessing ≤ 100 ms cpuUsage:DataNode ≤ 90 % +
  • 34. CloudCom 201434 Elasticity Relationships Analysis Scenario 4: DaaS with elasticity controller User-Defined Elasticity Requirements responseTime:EventProcessing ≤ 100 ms cpuUsage:DataNode ≤ 90 % + Depending on individual goals, a user might be interested in other determined relationships, such as that when a particular elasticity controller is used, the achieved throughput is only half the connection rate in 0.54% of the cases (Adjusted r), indicating a potential bottleneck in the service NOTE:
  • 35. CloudCom 2014 Conclusions • Concepts • Elasticity Relationship • Elasticity Energy/ Work • Mechanisms • Abstracting behavior of elastic cloud services w.r.t. requirements • Analyzing elasticity relationships • Framework/Tools • MELA: Monitoring and analyzing elasticity of cloud services (http://tuwiendsg.github.io/MELA/) Work partially supported by the European Commission in terms of the CELAR FP7 project (http://www.celarcloud.eu/) Distributed Systems Group (http://dsg.tuwien.ac.at/) Vienna University of Technology (http://www.tuwien.ac.at/) 35