SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
© 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

Weitere ähnliche Inhalte

Ähnlich wie Monitor-Based Testing of Elastic Cloud Computing Applications

ECMFA 2015 MoNoGe metamodel extension
ECMFA 2015 MoNoGe metamodel extensionECMFA 2015 MoNoGe metamodel extension
ECMFA 2015 MoNoGe metamodel extensionJokin García Pérez
 
New Directions for Mahout
New Directions for MahoutNew Directions for Mahout
New Directions for MahoutTed Dunning
 
An adaptive and eventually self healing framework for geo-distributed real-ti...
An adaptive and eventually self healing framework for geo-distributed real-ti...An adaptive and eventually self healing framework for geo-distributed real-ti...
An adaptive and eventually self healing framework for geo-distributed real-ti...Angad Singh
 
Building resilient applications
Building resilient applicationsBuilding resilient applications
Building resilient applicationsNuno Caneco
 
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...Lionel Briand
 
Storm users group real time hadoop
Storm users group real time hadoopStorm users group real time hadoop
Storm users group real time hadoopTed Dunning
 
Storm Users Group Real Time Hadoop
Storm Users Group Real Time HadoopStorm Users Group Real Time Hadoop
Storm Users Group Real Time HadoopMapR Technologies
 
Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...
Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...
Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...Flink Forward
 
PhD_defense_presentation_Oct2013
PhD_defense_presentation_Oct2013PhD_defense_presentation_Oct2013
PhD_defense_presentation_Oct2013Selvi Kadirvel
 
Fase 2015 - Map-based Transparent Persistence for Very Large Models
Fase 2015 - Map-based Transparent Persistence for Very Large ModelsFase 2015 - Map-based Transparent Persistence for Very Large Models
Fase 2015 - Map-based Transparent Persistence for Very Large Modelsabgolla
 
Introduction to Apache Apex - CoDS 2016
Introduction to Apache Apex - CoDS 2016Introduction to Apache Apex - CoDS 2016
Introduction to Apache Apex - CoDS 2016Bhupesh Chawda
 
Real-time Stream Processing using Apache Apex
Real-time Stream Processing using Apache ApexReal-time Stream Processing using Apache Apex
Real-time Stream Processing using Apache ApexApache Apex
 
Graphlab dunning-clustering
Graphlab dunning-clusteringGraphlab dunning-clustering
Graphlab dunning-clusteringTed Dunning
 
OpenGL L02-Transformations
OpenGL L02-TransformationsOpenGL L02-Transformations
OpenGL L02-TransformationsMohammad Shaker
 
Buzz Words Dunning Real-Time Learning
Buzz Words Dunning Real-Time LearningBuzz Words Dunning Real-Time Learning
Buzz Words Dunning Real-Time LearningMapR Technologies
 
Fuzzy Control meets Software Engineering
Fuzzy Control meets Software EngineeringFuzzy Control meets Software Engineering
Fuzzy Control meets Software EngineeringPooyan Jamshidi
 
Review of scheduling algorithms in Open Pit Mining
Review of scheduling algorithms in Open Pit MiningReview of scheduling algorithms in Open Pit Mining
Review of scheduling algorithms in Open Pit MiningJose Gonzales, MBA
 
High Fidelity Wind Model Software for Real-Time Simulation Platforms
High Fidelity Wind Model Software for Real-Time Simulation PlatformsHigh Fidelity Wind Model Software for Real-Time Simulation Platforms
High Fidelity Wind Model Software for Real-Time Simulation PlatformsSimspace Ingeniería SL
 
DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...
DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...
DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...DataStax
 

Ähnlich wie Monitor-Based Testing of Elastic Cloud Computing Applications (20)

ECMFA 2015 MoNoGe metamodel extension
ECMFA 2015 MoNoGe metamodel extensionECMFA 2015 MoNoGe metamodel extension
ECMFA 2015 MoNoGe metamodel extension
 
Gatling
GatlingGatling
Gatling
 
New Directions for Mahout
New Directions for MahoutNew Directions for Mahout
New Directions for Mahout
 
An adaptive and eventually self healing framework for geo-distributed real-ti...
An adaptive and eventually self healing framework for geo-distributed real-ti...An adaptive and eventually self healing framework for geo-distributed real-ti...
An adaptive and eventually self healing framework for geo-distributed real-ti...
 
Building resilient applications
Building resilient applicationsBuilding resilient applications
Building resilient applications
 
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
Testing Dynamic Behavior in Executable Software Models - Making Cyber-physica...
 
Storm users group real time hadoop
Storm users group real time hadoopStorm users group real time hadoop
Storm users group real time hadoop
 
Storm Users Group Real Time Hadoop
Storm Users Group Real Time HadoopStorm Users Group Real Time Hadoop
Storm Users Group Real Time Hadoop
 
Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...
Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...
Keynote: Building and Operating A Serverless Streaming Runtime for Apache Bea...
 
PhD_defense_presentation_Oct2013
PhD_defense_presentation_Oct2013PhD_defense_presentation_Oct2013
PhD_defense_presentation_Oct2013
 
Fase 2015 - Map-based Transparent Persistence for Very Large Models
Fase 2015 - Map-based Transparent Persistence for Very Large ModelsFase 2015 - Map-based Transparent Persistence for Very Large Models
Fase 2015 - Map-based Transparent Persistence for Very Large Models
 
Introduction to Apache Apex - CoDS 2016
Introduction to Apache Apex - CoDS 2016Introduction to Apache Apex - CoDS 2016
Introduction to Apache Apex - CoDS 2016
 
Real-time Stream Processing using Apache Apex
Real-time Stream Processing using Apache ApexReal-time Stream Processing using Apache Apex
Real-time Stream Processing using Apache Apex
 
Graphlab dunning-clustering
Graphlab dunning-clusteringGraphlab dunning-clustering
Graphlab dunning-clustering
 
OpenGL L02-Transformations
OpenGL L02-TransformationsOpenGL L02-Transformations
OpenGL L02-Transformations
 
Buzz Words Dunning Real-Time Learning
Buzz Words Dunning Real-Time LearningBuzz Words Dunning Real-Time Learning
Buzz Words Dunning Real-Time Learning
 
Fuzzy Control meets Software Engineering
Fuzzy Control meets Software EngineeringFuzzy Control meets Software Engineering
Fuzzy Control meets Software Engineering
 
Review of scheduling algorithms in Open Pit Mining
Review of scheduling algorithms in Open Pit MiningReview of scheduling algorithms in Open Pit Mining
Review of scheduling algorithms in Open Pit Mining
 
High Fidelity Wind Model Software for Real-Time Simulation Platforms
High Fidelity Wind Model Software for Real-Time Simulation PlatformsHigh Fidelity Wind Model Software for Real-Time Simulation Platforms
High Fidelity Wind Model Software for Real-Time Simulation Platforms
 
DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...
DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...
DataStax | Distributing the Enterprise, Safely (Thomas Valley) | Cassandra Su...
 

Kürzlich hochgeladen

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 

Kürzlich hochgeladen (20)

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 

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