SlideShare a Scribd company logo
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Monitor-Based Testing of
Elastic Cloud Computing
Applications
Michel Albonico
PhD Student - AtlanMod - EMN (Nantes, France)
(michel.albonico@inria.fr)
Jean-Marie Mottu
Gerson Sunyé
1
5thInt.WorkshoponLargeScaleTesting
Delft,Netherlands-2016
© AtlanMod (atlanmod-contact@mines-nantes.fr)
● Cloud Computing Elasticity
● Motivation
● Test Procedure
● Experiments
● Conclusion and Future Work
Outline
2
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
3
● Cloud computing elasticity:
The ability of a cloud infrastructure/system modifying its resource
configuration according to demand.
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
4
● Thresholds:
○ Scale-out threshold: maximum resource usage, e.g., 80% of CPU
usage;
○ Scale-in threshold: minimum resource usage, e.g., 20% of CPU
usage;
○ Used to decide when varying a resource.
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Scale-out Threshold Breaching
Scale-in Threshold Breaching
Time (s)
Resource
(Processors)
1
Legend
80% 0.8
20% 0.2
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
5
● Resource demand varies according to workload variations.
○ Example:
■ number of users increases from 1 to 2, the resource
demand doubles.
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Scale-out Threshold Breaching
Scale-in Threshold Breaching
Time (s)
Resource
(Processors)
1
Legend
80% 0.8
20% 0.2
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
6
● Resource demand varies over time;
● Scale-out threshold breaching.
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Scale-out Threshold Breaching
Scale-in Threshold Breaching
Time (s)
Resource
(Processors)
1
Legend
scale-out threshold breaching
80% 0.8
20% 0.2
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
7
● Resource demand varies over time;
● Scale-out threshold breaching;
● Scale-out reaction time;
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Scale-out Threshold Breaching
Scale-in Threshold Breaching
Time (s)
Resource
(Processors)
1
Legend
scale-out reaction time
80% 0.8
20% 0.2
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
8
● Resource demand varies over time;
● Scale-out threshold breaching;
● Scale-out reaction time;
● Scale-out time, then the thresholds are updated.
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Scale-out Threshold Breaching
Scale-in Threshold Breaching
Time (s)
Resource
(Processors)
2
1
80% 0.8
Legend
scale-out time
80% 1.6
20% 0.2
20% 0.4
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
9
● Scale-in:
○ Scale-in threshold breaching;
○ Scale-in reaction time (resource is no longer available);
■ Thresholds reconfiguration.
○ Scale-in time.
Resource Allocation
Resource Demand
Scale-out Threshold
Scale-in Threshold
Scale-out Threshold Breaching
Scale-in Threshold Breaching
Time (s)
Resource
(Processors)
2
1
Legend
scale-in time
scale-in reaction time
80% 0.8
80% 1.6
20% 0.2
20% 0.4
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Cloud Computing Elasticity
10
● Elasticity states transition.
scale-out
threshold
breaching
scale-in
threshold
breaching
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
● Elasticity states transition.
● Related work only test during the ready state;
● Scaling states:
○ Considerable time: in our experiments, scaling-out takes more
than 90 seconds (Amazon EC2);
○ Great part of the adaptation tasks: replication data, leader
election, etc.
Motivation
11
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Test Procedure
● Test cloud systems during all the elasticity states;
● Execute tests dynamically:
○ Associate test cases to a set of elasticity states;
○ Execute the test according to the current elasticity state.
● Test execution:
○ Periodically monitor the resource during the test execution;
■ Current elasticity state.
○ (Re)-execute the associated test cases during the current
elasticity state.
12
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Experiments
● Research questions (answered by the experiments):
1. Is it necessary to run the test during different elasticity states?
a. Does a cloud system react distinctly depending on the
elasticity state?
2. Is it possible to execute the test during different elasticity states
and to assign the test verdicts accordingly?
13
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Experiments
Question 1: system behavior during different elasticity state.
● First experiment:
Measure the performance of a cloud system during different
elasticity states.
○ Manually executed;
○ Workload (50% read / 50% write);
○ 2500 operations per second (ops).
14
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Experiments
● First experiment results:
○ 2000 ops: covers all the performance drops;
○ Elasticity states extracted from the log files;
RQ1:
It is necessary to run the test during different elasticity states.
15
Performance-OperationsperSecond(ops)
Minimal Performance
Measured Performance
R R R R R RSISISO SO SOSI
200
400
1000
1200
800
600
Time (s)
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Question 2: test execution during different elasticity states + test
verdicts assignment.
● Second experiment: (same workload)
○ We use our test procedure;
○ We monitor the elasticity states throughout the test
execution;
○ Test Case:
■ answered operation >= 2000 ops -> pass
■ otherwise -> fail
○ Same test case associated to every elasticity state.
■ Test case re-executed throughout the cloud system
execution.
Experiments
16
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Experiments
● Result of the second experiment:
○ Test through different elasticity states;
○ Assign test verdicts to different elasticity states;
■ Proportional to the previous experiment (correct elasticity
states).
RQ2:
It is possible to execute the test according to the elasticity state, and
we are able to assign the test verdicts correctly.
17
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Conclusion and Future Work
● Identify all the performance problems;
● Assign the test verdicts to the correct elasticity states (at
runtime);
● Address the scaling states, which are not addressed by related
work;
● Future work:
○ Write functional test cases;
○ Apply to other study cases;
○ Generate test cases based on elasticity states.
18
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Monitor-Based Testing of
Elastic Cloud Computing
Applications
Michel Albonico
PhD Student - AtlanMod - EMN (Nantes, France)
(michel.albonico@inria.fr)
Jean-Marie Mottu
Gerson Sunyé
19
5thInt.WorkshoponLargeScaleTesting
Delft,Netherlands-2016

More Related Content

PDF
Advanced patterns in asynchronous programming
PDF
A DSL-Based Approach for Cloud-Based Systems Elasticity Testing
PDF
Towards a Unified View of Cloud Elasticity
PPT
MELA: Monitoring and Analyzing Elasticity of Cloud Services -- CloudCom 2013
PDF
Making Elasticity Testing of Cloud-Based Systems Reproducible
PPTX
QUELLE - a Framework for Accelerating the Development of Elastic Systems
PPTX
Being Elastic -- Evolving Programming for the Cloud
PPTX
Novel Models and Techniques for Monitoring and Analysis of Software-defined E...
Advanced patterns in asynchronous programming
A DSL-Based Approach for Cloud-Based Systems Elasticity Testing
Towards a Unified View of Cloud Elasticity
MELA: Monitoring and Analyzing Elasticity of Cloud Services -- CloudCom 2013
Making Elasticity Testing of Cloud-Based Systems Reproducible
QUELLE - a Framework for Accelerating the Development of Elastic Systems
Being Elastic -- Evolving Programming for the Cloud
Novel Models and Techniques for Monitoring and Analysis of Software-defined E...

Similar to Monitor-Based Testing of Elastic Cloud Computing Applications (11)

PPTX
Coordinating CPU and Memory Elasticity Controllers to Meet Service Response T...
PPTX
Performance testing in scope of migration to cloud by Serghei Radov
PDF
Latency-aware Elastic Scaling for Distributed Data Stream Processing Systems
PDF
C017531925
PDF
Automatic Resource Elasticity for HPC Applications
PPTX
Cloud computing
PPTX
Cloud Computing - Geektalk
PDF
Auto-scaling Techniques for Elastic Data Stream Processing
PPT
Cost-aware scalability of applications in public clouds
PDF
Autonomic Resource Provisioning for Cloud-Based Software
PDF
Designing and coding for cloud-native applications using Python, Harjinder Mi...
Coordinating CPU and Memory Elasticity Controllers to Meet Service Response T...
Performance testing in scope of migration to cloud by Serghei Radov
Latency-aware Elastic Scaling for Distributed Data Stream Processing Systems
C017531925
Automatic Resource Elasticity for HPC Applications
Cloud computing
Cloud Computing - Geektalk
Auto-scaling Techniques for Elastic Data Stream Processing
Cost-aware scalability of applications in public clouds
Autonomic Resource Provisioning for Cloud-Based Software
Designing and coding for cloud-native applications using Python, Harjinder Mi...
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
cuic standard and advanced reporting.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Cloud computing and distributed systems.
PDF
Assigned Numbers - 2025 - Bluetooth® Document
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
cuic standard and advanced reporting.pdf
Spectral efficient network and resource selection model in 5G networks
Big Data Technologies - Introduction.pptx
Spectroscopy.pptx food analysis technology
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Unlocking AI with Model Context Protocol (MCP)
Cloud computing and distributed systems.
Assigned Numbers - 2025 - Bluetooth® Document
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Building Integrated photovoltaic BIPV_UPV.pdf
Ad

Monitor-Based Testing of Elastic Cloud Computing Applications

  • 1. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Monitor-Based Testing of Elastic Cloud Computing Applications Michel Albonico PhD Student - AtlanMod - EMN (Nantes, France) (michel.albonico@inria.fr) Jean-Marie Mottu Gerson Sunyé 1 5thInt.WorkshoponLargeScaleTesting Delft,Netherlands-2016
  • 2. © AtlanMod (atlanmod-contact@mines-nantes.fr) ● Cloud Computing Elasticity ● Motivation ● Test Procedure ● Experiments ● Conclusion and Future Work Outline 2
  • 3. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 3 ● Cloud computing elasticity: The ability of a cloud infrastructure/system modifying its resource configuration according to demand.
  • 4. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 4 ● Thresholds: ○ Scale-out threshold: maximum resource usage, e.g., 80% of CPU usage; ○ Scale-in threshold: minimum resource usage, e.g., 20% of CPU usage; ○ Used to decide when varying a resource. Resource Allocation Resource Demand Scale-out Threshold Scale-in Threshold Scale-out Threshold Breaching Scale-in Threshold Breaching Time (s) Resource (Processors) 1 Legend 80% 0.8 20% 0.2
  • 5. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 5 ● Resource demand varies according to workload variations. ○ Example: ■ number of users increases from 1 to 2, the resource demand doubles. Resource Allocation Resource Demand Scale-out Threshold Scale-in Threshold Scale-out Threshold Breaching Scale-in Threshold Breaching Time (s) Resource (Processors) 1 Legend 80% 0.8 20% 0.2
  • 6. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 6 ● Resource demand varies over time; ● Scale-out threshold breaching. Resource Allocation Resource Demand Scale-out Threshold Scale-in Threshold Scale-out Threshold Breaching Scale-in Threshold Breaching Time (s) Resource (Processors) 1 Legend scale-out threshold breaching 80% 0.8 20% 0.2
  • 7. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 7 ● Resource demand varies over time; ● Scale-out threshold breaching; ● Scale-out reaction time; Resource Allocation Resource Demand Scale-out Threshold Scale-in Threshold Scale-out Threshold Breaching Scale-in Threshold Breaching Time (s) Resource (Processors) 1 Legend scale-out reaction time 80% 0.8 20% 0.2
  • 8. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 8 ● Resource demand varies over time; ● Scale-out threshold breaching; ● Scale-out reaction time; ● Scale-out time, then the thresholds are updated. Resource Allocation Resource Demand Scale-out Threshold Scale-in Threshold Scale-out Threshold Breaching Scale-in Threshold Breaching Time (s) Resource (Processors) 2 1 80% 0.8 Legend scale-out time 80% 1.6 20% 0.2 20% 0.4
  • 9. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 9 ● Scale-in: ○ Scale-in threshold breaching; ○ Scale-in reaction time (resource is no longer available); ■ Thresholds reconfiguration. ○ Scale-in time. Resource Allocation Resource Demand Scale-out Threshold Scale-in Threshold Scale-out Threshold Breaching Scale-in Threshold Breaching Time (s) Resource (Processors) 2 1 Legend scale-in time scale-in reaction time 80% 0.8 80% 1.6 20% 0.2 20% 0.4
  • 10. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Cloud Computing Elasticity 10 ● Elasticity states transition. scale-out threshold breaching scale-in threshold breaching
  • 11. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) ● Elasticity states transition. ● Related work only test during the ready state; ● Scaling states: ○ Considerable time: in our experiments, scaling-out takes more than 90 seconds (Amazon EC2); ○ Great part of the adaptation tasks: replication data, leader election, etc. Motivation 11
  • 12. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Test Procedure ● Test cloud systems during all the elasticity states; ● Execute tests dynamically: ○ Associate test cases to a set of elasticity states; ○ Execute the test according to the current elasticity state. ● Test execution: ○ Periodically monitor the resource during the test execution; ■ Current elasticity state. ○ (Re)-execute the associated test cases during the current elasticity state. 12
  • 13. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Experiments ● Research questions (answered by the experiments): 1. Is it necessary to run the test during different elasticity states? a. Does a cloud system react distinctly depending on the elasticity state? 2. Is it possible to execute the test during different elasticity states and to assign the test verdicts accordingly? 13
  • 14. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Experiments Question 1: system behavior during different elasticity state. ● First experiment: Measure the performance of a cloud system during different elasticity states. ○ Manually executed; ○ Workload (50% read / 50% write); ○ 2500 operations per second (ops). 14
  • 15. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Experiments ● First experiment results: ○ 2000 ops: covers all the performance drops; ○ Elasticity states extracted from the log files; RQ1: It is necessary to run the test during different elasticity states. 15 Performance-OperationsperSecond(ops) Minimal Performance Measured Performance R R R R R RSISISO SO SOSI 200 400 1000 1200 800 600 Time (s)
  • 16. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Question 2: test execution during different elasticity states + test verdicts assignment. ● Second experiment: (same workload) ○ We use our test procedure; ○ We monitor the elasticity states throughout the test execution; ○ Test Case: ■ answered operation >= 2000 ops -> pass ■ otherwise -> fail ○ Same test case associated to every elasticity state. ■ Test case re-executed throughout the cloud system execution. Experiments 16
  • 17. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Experiments ● Result of the second experiment: ○ Test through different elasticity states; ○ Assign test verdicts to different elasticity states; ■ Proportional to the previous experiment (correct elasticity states). RQ2: It is possible to execute the test according to the elasticity state, and we are able to assign the test verdicts correctly. 17
  • 18. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Conclusion and Future Work ● Identify all the performance problems; ● Assign the test verdicts to the correct elasticity states (at runtime); ● Address the scaling states, which are not addressed by related work; ● Future work: ○ Write functional test cases; ○ Apply to other study cases; ○ Generate test cases based on elasticity states. 18
  • 19. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Monitor-Based Testing of Elastic Cloud Computing Applications Michel Albonico PhD Student - AtlanMod - EMN (Nantes, France) (michel.albonico@inria.fr) Jean-Marie Mottu Gerson Sunyé 19 5thInt.WorkshoponLargeScaleTesting Delft,Netherlands-2016