SlideShare a Scribd company logo
Making Elasticity Testing of Cloud-Based Systems Reproducible
Making Elasticity Testing of Cloud-Based Systems Reproducible
Cloud Computing Elasticity
N. R. Herbst, S. Kounev, and R. Reussner, “Elasticity in Cloud Computing: What It Is, and What It Is Not,” ICAC, pp. 23–27, 2013.
M. M. Bersani, D. Bianculli, S. Dustdar, A. Gambi, C. Ghezzi, and S. Krstić, “Towards the Formalization of Properties of Cloud-based Elastic
Systems,” in Proceedings of the 6th International Workshop on Principles of Engineering Service-Oriented and Cloud Systems, New York,
NY, USA, 2014, pp. 38–47.
Elastic Behavior : threshold-based elasticity
Time
Resource
(CPUs)
2
1
0.3
0.8
0.6
1.2
Ready
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Elastic Behavior : threshold-based elasticity
Ready
Time
Resource
(CPUs)
2
1
scale-out reaction time
0.3
0.8
0.6
1.2
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Elastic Behavior : threshold-based elasticity
Time
Resource
(CPUs)
2
1
scale-out reaction time
scale-out time
0.3
0.8
0.6
1.2
Ready
Scaling-Out
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Elastic Behavior : threshold-based elasticity
Time
Resource
(CPUs)
2
1
scale-out reaction time
scale-out time
0.3
0.8
0.6
1.2
Ready
Scaling-Out
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Elastic Behavior : threshold-based elasticity
Time
Resource
(CPUs)
2
1
scale-out reaction time
scale-out time
0.3
0.8
0.6
1.2
scale-in
reaction time
Ready
Scaling-Out
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Elastic Behavior : threshold-based elasticity
Time
Resource
(CPUs)
2
1
scale-out reaction time
scale-out time
scale-in
time
scale-in
reaction time
0.3
0.8
0.6
1.2
Ready
Scaling-Out
Scaling-In
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Elastic Behavior : threshold-based elasticity
Ready
Scaling-Out
Scaling-In
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Time
Resource
(CPUs)
2
1
scale-out reaction time
scale-out time
scale-in
reaction time
scale-in
time
0.3
0.8
0.6
1.2
Making Elasticity Testing of Cloud-Based Systems Reproducible
Motivation : MongoDB’s bug 7974
“ A secondary server shuts down when it
detects a replication error, ... “
●
○
○
○
■
Motivation : MongoDB’s bug 7974
Primary
Ready
Motivation : MongoDB’s bug 7974
Primary
Ready
Scaling-out
Motivation : MongoDB’s bug 7974
Primary
Secondary Secondary
Ready
Scaling-out
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-In
Secondary
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-InCreate Index
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-InCreate Index
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-In
Secondary
Scaling-Out
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-In
Secondary
Scaling-Out
Add doc. with
duplicated key
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-In
Secondary
Scaling-Out
Add doc. with
duplicated key
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-In
Secondary
Scaling-Out
Add doc. with
duplicated key
Motivation : MongoDB’s bug 7974
Primary
Ready
Secondary
Scaling-In
Secondary
Scaling-Out
Duplicate Key
Error
Requirements for Elasticity Testing Reproduction
●
○
●
○
●
○
Elasticity Testing Reproduction
Case Studies
●
Making Elasticity Testing of Cloud-Based Systems Reproducible
Prototype’s Architecture
Elasticity
Controller
Mock
Event
Scheduler
Workload
Generator
Cloud-Based
System
Cloud
Monitor
Prototype’s Architecture
Elasticity
Controller
Mock
Event
Scheduler
EC = {ec1
=(es1
,W1
), …, ecn
}
SER = {(ec1
, ser1
), …, (ecn
, sern
)}
Workload
Generator
Cloud-Based
System
Cloud
Monitor
S={(ec1
, e1
), …, (ecn
, en
)}
Prototype’s Architecture
Elasticity
Controller
Mock
Event
Scheduler
EC = {ec1
=(es1
,W1
), …, ecn
}
SER = {(ec1
, ser1
), …, (ecn
, sern
)}
S={(ec1
, e1
), …, (ecn
, en
)}
Workload
Generator
Wi Cloud-Based
System
Cloud
Monitor
Elasticity
Controller
Mock
Event
Scheduler
EC = {ec1
=(es1
,W1
), …, ecn
}
SER = {(ec1
, ser1
), …, (ecn
, sern
)}
S={(ec1
, e1
), …, (ecn
, en
)}
Workload
Generator
Wi Cloud-Based
System
Workload
Cloud
Monitor
Prototype’s Architecture
Elasticity
Controller
Mock
Event
Scheduler
EC = {ec1
=(es1
,W1
), …, ecn
}
SER = {(ec1
, ser1
), …, (ecn
, sern
)}
S={(ec1
, e1
), …, (ecn
, en
)}
Workload
Generator
Wi Cloud-Based
System
Workload
Resource Variation
Cloud
Monitor
Prototype’s Architecture
Elasticity
Controller
Mock
Event
Scheduler
EC = {ec1
=(es1
,W1
), …, ecn
}
SER = {(ec1
, ser1
), …, (ecn
, sern
)}
S={(ec1
, e1
), …, (ecn
, en
)}
Workload
Generator
Wi Cloud-Based
System
Workload
NewElasticityState
Resource Variation
Cloud
Monitor
Prototype’s Architecture
Elasticity
Controller
Mock
Event
Scheduler
EC = {ec1
=(es1
,W1
), …, ecn
}
SER = {(ec1
, ser1
), …, (ecn
, sern
)}
S={(ec1
, e1
), …, (ecn
, en
)}
Workload
Generator
Wi Cloud-Based
System
Workload
Event Execution
Resource Variation
Cloud
Monitor
NewElasticityState
Prototype’s Architecture
Elasticity
Controller
Mock
Event
Scheduler
EC = {ec1
=(es1
,W1
), …, ecn
}
SER = {(ec1
, ser1
), …, (ecn
, sern
)}
S={(ec1
, e1
), …, (ecn
, en
)}
Workload
Generator
Wi Cloud-Based
System
Workload
Event Execution
Resource Variation
Cloud
Monitor
NewElasticityState
Prototype’s Architecture
Making Elasticity Testing of Cloud-Based Systems Reproducible
Reproduction of Bugs
●
●
●
Reproduction of Bugs
Bug Success of Reproduction
Using Our Approach
Success of Reproduction
Without Our Approach
MongoDB-7974 3 0
ZooKeeper-2164 3 1
ZooKeeper-2172 3 0
●
Reproduction of Bugs
Bug Success of Reproduction
Using Our Approach
Success of Reproduction
Without Our Approach
MongoDB-7974 3 0
ZooKeeper-2164 3 1
ZooKeeper-2172 3 0
● Comercial elastic controllers natively removes either the oldest (first added) or the newest (last
added) resource;
● In our experiment, ZooKeeper node on the oldest resource (VM) is elected the leader;
● At one of the three executions, we configure elastic controller to remove the oldest node;
○ Then, the bug is reproduced.
● If the leader was the node in the middle, the bug would never be reproduced without our
approach.
●
●
○
●
Conclusion
●
●
○
●
Perspectives
Making Elasticity Testing of Cloud-Based Systems Reproducible

More Related Content

PPTX
CloudClustering: Toward an Iterative Data Processing Pattern on the Cloud
PDF
Census and spatial data in sql server 2008 designing tools for hazard mitigat...
PPTX
NASA's Movement Towards Cloud Computing
PPTX
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)
PDF
PPTX
Microservice performance-b
DOC
wsns
PDF
Using Elastiknn for exact and approximate nearest neighbor search
CloudClustering: Toward an Iterative Data Processing Pattern on the Cloud
Census and spatial data in sql server 2008 designing tools for hazard mitigat...
NASA's Movement Towards Cloud Computing
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)
Microservice performance-b
wsns
Using Elastiknn for exact and approximate nearest neighbor search

Similar to Making Elasticity Testing of Cloud-Based Systems Reproducible (20)

PDF
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...
PDF
SERENE 2014 School: Gabor karsai serene2014_school
PPT
Bruce Damer's presentation of Digital Spaces, an open source 3D simulation pl...
PDF
Expert systems for advanced FE modelling of bridges and buildings using OpenSees
PDF
Transfer Learning for Software Performance Analysis: An Exploratory Analysis
PDF
INFLUENCE OF PRIORS OVER MULTITYPED OBJECT IN EVOLUTIONARY CLUSTERING
PDF
Influence of priors over multityped object in evolutionary clustering
PDF
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
PDF
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
PDF
A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...
PDF
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
PDF
A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...
PDF
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
PDF
2 achuthan c_pankaj--23-39
PDF
VARIATIONAL MONTE-CARLO APPROACH FOR ARTICULATED OBJECT TRACKING
PPTX
PDF
IRJET- A Particle Swarm Optimization Algorithm for Total Cost Minimization in...
PDF
CLIM Program: Remote Sensing Workshop, An Introduction to Systems and Softwar...
PDF
Workflow Provenance: From Modelling to Reporting
PPTX
Better Information Faster: Programming the Continuum
SERENE 2014 School: Resilience in Cyber-Physical Systems: Challenges and Oppo...
SERENE 2014 School: Gabor karsai serene2014_school
Bruce Damer's presentation of Digital Spaces, an open source 3D simulation pl...
Expert systems for advanced FE modelling of bridges and buildings using OpenSees
Transfer Learning for Software Performance Analysis: An Exploratory Analysis
INFLUENCE OF PRIORS OVER MULTITYPED OBJECT IN EVOLUTIONARY CLUSTERING
Influence of priors over multityped object in evolutionary clustering
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...
A NOVEL OPTIMIZATION OF CLOUD INSTANCES WITH INVENTORY THEORY APPLIED ON REAL...
2 achuthan c_pankaj--23-39
VARIATIONAL MONTE-CARLO APPROACH FOR ARTICULATED OBJECT TRACKING
IRJET- A Particle Swarm Optimization Algorithm for Total Cost Minimization in...
CLIM Program: Remote Sensing Workshop, An Introduction to Systems and Softwar...
Workflow Provenance: From Modelling to Reporting
Better Information Faster: Programming the Continuum
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Spectroscopy.pptx food analysis technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
A Presentation on Artificial Intelligence
PDF
Approach and Philosophy of On baking technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation theory and applications.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Assigned Numbers - 2025 - Bluetooth® Document
Spectroscopy.pptx food analysis technology
Per capita expenditure prediction using model stacking based on satellite ima...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
A comparative analysis of optical character recognition models for extracting...
A Presentation on Artificial Intelligence
Approach and Philosophy of On baking technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation
Ad

Making Elasticity Testing of Cloud-Based Systems Reproducible