SlideShare une entreprise Scribd logo
1  sur  17
Techniques for Minimizing Cloud Footprint



                         Arun Kejariwal

                             March 2013




1              International Conference on Cloud Engineering 2013   © Arun Kejariwal
Overview

      Cloud Computing
        o  Ubiquitous



        o  IDC – Cloud Services revenue ~100 B by 2016
      Infrastructure-as-a-Service (IaaS)
        o  Large adoption
               Elasticity
                     Scale up and down
               Eliminates cycles for hardware procurement, datacenter maintenance
               Higher product development agility
               Fault Tolerance
                     Geographically distributed availability zones (e.g., AWS in US, Ireland, Singapore, Japan, Brazil)
        o  Growing vendors




2                                                International Conference on Cloud Engineering 2013                        © Arun Kejariwal
Capitalizing Cloud Elasticity

      Non-trivial to manage
        o  Aggressive scale down
              Potentially affect latency and throughput adversely
                    Degraded end-user experience - impacts bottomline

        o  Aggressive scale up
              Balloon cloud footprint
                    Adversely impact operational efficiency - impacts bottomline


        o  Which metric to use?
              Traffic
                    Incoming, Outgoing




              CPU
              Load


3                                              International Conference on Cloud Engineering 2013   © Arun Kejariwal
Capitalizing Cloud Elasticity (contd.)

      Non-trivial to manage
        o  Scaling policy
               Whether to scale up/down by fixed amount
               Whether to scale up/down by percentage of current capacity
               What should be the cooldown period?

      Efficient exploitation of cloud elasticity: Why Bother?
        o  Handle high traffic
               Deliver best end-user experience
        o  Contain overall footprint
               Reserved vs. On-Demand instances




4                                       International Conference on Cloud Engineering 2013   © Arun Kejariwal
Key Contributions

      Algorithms
       1.  Scale up/down by fixed amount
               Target applications: small (< 20-25 nodes) clusters
               Case Study
       2.  Scale up/down by percentage of current capacity
               Target applications: medium/large clusters
       3.  Implications of long application start up time?
               Example application: Netflix Recommendation Engine
                     Loading of user metadata (such as users preferences)
               Modified Algorithm 2 to capture effects of application start up time
               Case Study




5                                          International Conference on Cloud Engineering 2013   © Arun Kejariwal
Autoscaling in AWS: Quick review

      CloudWatch
        o  Real-time monitoring of EC2 instances
        o  Metrics
               CPU utilization, latency, network traffic, application specific etc.
        o  Alarm
               Change state when metric > threshold
               Action: when metric > threshold for a number of time periods

      Policy
        o  ScalingAdjustment
               # instances by which to scale
        o  Adjustment type
               ChangeInCapacity
               PercentChangeInCapacity

      Cooldown
        o  Allows effects of scaling activity to become visible

6                                          International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: Design Guidelines

      Avoid ping-pong effect




        o  High latency
        o  SLA violation
      Be proactive, not reactive
        o  Application start up

                                                                                       SLA driven need
                                                                                         to scale up

                                                                                       Autoscaling
                                                                                          event




7                                 International Conference on Cloud Engineering 2013         © Arun Kejariwal
Techniques: Design Guidelines (contd.)

      Aggressive upwards, conservative downwards
        o  Deliver best user experience
              Handle more than expected increase in traffic
              Handle slower ramp down of traffic
        o  Aggressive scale up
              Provides buffer for increase in traffic during the cooldown period
        o  Aggressive scale down
              May result in under-provisioning
                    Impact user experience

      Scalability Analysis
        o  Given an SLA, determine maximum throughput




8                                             International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: Properties

      RPS -> Requests per second

    1.  RPS/node after scale up > Scale down threshold

    2.  RPS/node after scale down > Scale up threshold




9                            International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: # 1

       Scale up by fixed amount
        o  Outline
                    : Scale up threshold (RPS per node)
                    : Scale up value
             
                   Proactive
                   Empirically determined




       Example applications
        o  Beaconserver, customer service
        o  It does add up!

10                                           International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: # 1 (contd.)

       Case Study
        Aggressive upwards
      Conservative downwards




11                                   International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: # 3

       Scale up/down by percentage of current capacity
        o  Account for application start up
        o  How to model it?
               Time series of RPS
                     : Application start up time, determine rolling RPS change time series




               Compute 99th percentile
               Compute effective scale up threshold
                     Consistent with being proactive design guideline




12                                              International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: # 3 (contd.)


      Rolling RPS Change Time Series
       (Application start up: 30 mins)




13                  International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: # 3 (contd.)

       Scale up percentage of current capacity
           Outline
                     : Scale up threshold (RPS per node)
                     : Scale up value
              
                    Proactive
                    Empirically determined




       Example applications
         o  Merchweb, simsservice, recommendation service, API
         o  Savings up to 50%


14                                            International Conference on Cloud Engineering 2013   © Arun Kejariwal
Techniques: # 3 (contd.)

       Case Study




15                        International Conference on Cloud Engineering 2013   © Arun Kejariwal
Wrapping up …

       Summary
        o  Improve operational efficiency in the cloud
             o  Benefits both small and large clusters
             o  Up to 50% reduction in operational footprint


       Future work
        o  How to handle spikes?




        o  Capture interaction between different services in a SOA
        o  Autoscale across IaaS vendors


16                                       International Conference on Cloud Engineering 2013   © Arun Kejariwal
Q&A




17   International Conference on Cloud Engineering 2013   © Arun Kejariwal

Contenu connexe

Tendances

Tendances (8)

App Performance Tip: Sharing Flash Across Virtualized Workloads
App Performance Tip: Sharing Flash Across Virtualized WorkloadsApp Performance Tip: Sharing Flash Across Virtualized Workloads
App Performance Tip: Sharing Flash Across Virtualized Workloads
 
Cloud Reliability: Decreasing outage frequency using fault injection
Cloud Reliability: Decreasing outage frequency using fault injectionCloud Reliability: Decreasing outage frequency using fault injection
Cloud Reliability: Decreasing outage frequency using fault injection
 
Going Server-less for Web-Services that need to Crunch Large Volumes of Data
Going Server-less for Web-Services that need to Crunch Large Volumes of DataGoing Server-less for Web-Services that need to Crunch Large Volumes of Data
Going Server-less for Web-Services that need to Crunch Large Volumes of Data
 
Machine Learning Model Deployment: Strategy to Implementation
Machine Learning Model Deployment: Strategy to ImplementationMachine Learning Model Deployment: Strategy to Implementation
Machine Learning Model Deployment: Strategy to Implementation
 
HPC in higher education
HPC in higher educationHPC in higher education
HPC in higher education
 
CUDA Sessions You Won't Want to Miss at GTC 2019
CUDA Sessions You Won't Want to Miss at GTC 2019CUDA Sessions You Won't Want to Miss at GTC 2019
CUDA Sessions You Won't Want to Miss at GTC 2019
 
FPGA-enhanced Bioinformatics @ NECST
FPGA-enhanced Bioinformatics @ NECSTFPGA-enhanced Bioinformatics @ NECST
FPGA-enhanced Bioinformatics @ NECST
 
How novel compute technology transforms life science research
How novel compute technology transforms life science researchHow novel compute technology transforms life science research
How novel compute technology transforms life science research
 

En vedette

Days In Green : Forecasting the Life of a Healthy Service @Twitter
Days In Green : Forecasting the Life of a Healthy Service @TwitterDays In Green : Forecasting the Life of a Healthy Service @Twitter
Days In Green : Forecasting the Life of a Healthy Service @Twitter
Vibhav Garg
 
A Tool for Practical Garbage Collection Analysis In the Cloud
A Tool for Practical Garbage Collection Analysis In the CloudA Tool for Practical Garbage Collection Analysis In the Cloud
A Tool for Practical Garbage Collection Analysis In the Cloud
Arun Kejariwal
 
Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ...
 Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ... Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ...
Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ...
nawaporn khamseanwong
 

En vedette (19)

Integracio continguts sabadell_web
Integracio continguts sabadell_webIntegracio continguts sabadell_web
Integracio continguts sabadell_web
 
Days In Green : Forecasting the Life of a Healthy Service @Twitter
Days In Green : Forecasting the Life of a Healthy Service @TwitterDays In Green : Forecasting the Life of a Healthy Service @Twitter
Days In Green : Forecasting the Life of a Healthy Service @Twitter
 
思薇爾Swear型錄
思薇爾Swear型錄思薇爾Swear型錄
思薇爾Swear型錄
 
Ob型錄
Ob型錄Ob型錄
Ob型錄
 
Matematiques donar respostes
Matematiques donar respostesMatematiques donar respostes
Matematiques donar respostes
 
A Tool for Practical Garbage Collection Analysis In the Cloud
A Tool for Practical Garbage Collection Analysis In the CloudA Tool for Practical Garbage Collection Analysis In the Cloud
A Tool for Practical Garbage Collection Analysis In the Cloud
 
Lasten ja nuorten osallisuus lapsivaikutusten arvioinnissa
Lasten ja nuorten osallisuus lapsivaikutusten arvioinnissaLasten ja nuorten osallisuus lapsivaikutusten arvioinnissa
Lasten ja nuorten osallisuus lapsivaikutusten arvioinnissa
 
Andanzas de Patoruzú e Isidoro nro 26, febrero 1959 revista completa
Andanzas de Patoruzú e Isidoro nro 26,  febrero 1959 revista completaAndanzas de Patoruzú e Isidoro nro 26,  febrero 1959 revista completa
Andanzas de Patoruzú e Isidoro nro 26, febrero 1959 revista completa
 
Frederick Grant Banting, descubridor de la insulina, historieta completa Novaro
Frederick Grant Banting, descubridor de la insulina, historieta completa NovaroFrederick Grant Banting, descubridor de la insulina, historieta completa Novaro
Frederick Grant Banting, descubridor de la insulina, historieta completa Novaro
 
электронное портфолио
электронное портфолиоэлектронное портфолио
электронное портфолио
 
Kuule nuoria - Sokran Kemin kiertoajelun aineisto 14.3.2017
Kuule nuoria - Sokran Kemin kiertoajelun aineisto 14.3.2017Kuule nuoria - Sokran Kemin kiertoajelun aineisto 14.3.2017
Kuule nuoria - Sokran Kemin kiertoajelun aineisto 14.3.2017
 
Amalan terbaik dalam pembangunan sosial
Amalan terbaik dalam pembangunan sosialAmalan terbaik dalam pembangunan sosial
Amalan terbaik dalam pembangunan sosial
 
Lmcp 1552 pembangunan mapan dalam islam
Lmcp 1552 pembangunan mapan dalam islamLmcp 1552 pembangunan mapan dalam islam
Lmcp 1552 pembangunan mapan dalam islam
 
Gosaikund tour bsc 3rd gg 2014 student pics
Gosaikund tour bsc 3rd gg 2014 student picsGosaikund tour bsc 3rd gg 2014 student pics
Gosaikund tour bsc 3rd gg 2014 student pics
 
мо вихователів та класних керівників І ступеню
мо вихователів та класних керівників І ступенюмо вихователів та класних керівників І ступеню
мо вихователів та класних керівників І ступеню
 
17.03
17.0317.03
17.03
 
Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ...
 Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ... Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ...
Loadแนวข้อสอบ พนักงานสมทบตรวจเงินแผ่นดิน ชั้น 3 (ด้านบัญชี) สำนักงานการตรวจเ...
 
МО вчителів І ступеня
МО вчителів І ступеняМО вчителів І ступеня
МО вчителів І ступеня
 
CvC Resume
CvC ResumeCvC Resume
CvC Resume
 

Similaire à Techniques for Minimizing Cloud Footprint

A survey paper on an improved scheduling algorithm for task offloading on cloud
A survey paper on an improved scheduling algorithm for task offloading on cloudA survey paper on an improved scheduling algorithm for task offloading on cloud
A survey paper on an improved scheduling algorithm for task offloading on cloud
Aditya Tornekar
 
Application Architecture for Cloud Computing
Application Architecture for Cloud Computing Application Architecture for Cloud Computing
Application Architecture for Cloud Computing
white paper
 
Cloud computing (pdf)
Cloud computing   (pdf)Cloud computing   (pdf)
Cloud computing (pdf)
Steven Habuda
 
Overview of Sensors project
Overview of Sensors projectOverview of Sensors project
Overview of Sensors project
Shan Guan
 

Similaire à Techniques for Minimizing Cloud Footprint (20)

SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
 
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
 
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
SERVICE LEVEL AGREEMENT BASED FAULT TOLERANT WORKLOAD SCHEDULING IN CLOUD COM...
 
Efficient fault tolerant cost optimized approach for scientific workflow via ...
Efficient fault tolerant cost optimized approach for scientific workflow via ...Efficient fault tolerant cost optimized approach for scientific workflow via ...
Efficient fault tolerant cost optimized approach for scientific workflow via ...
 
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
 
Deploy Microservices in the Real World
Deploy Microservices in the Real WorldDeploy Microservices in the Real World
Deploy Microservices in the Real World
 
Hands-On Lab: Monitor Modern Applications in the Cloud
Hands-On Lab: Monitor Modern Applications in the CloudHands-On Lab: Monitor Modern Applications in the Cloud
Hands-On Lab: Monitor Modern Applications in the Cloud
 
CloudSpurt customer
CloudSpurt customerCloudSpurt customer
CloudSpurt customer
 
internship paper
internship paperinternship paper
internship paper
 
A survey paper on an improved scheduling algorithm for task offloading on cloud
A survey paper on an improved scheduling algorithm for task offloading on cloudA survey paper on an improved scheduling algorithm for task offloading on cloud
A survey paper on an improved scheduling algorithm for task offloading on cloud
 
Evaluating paas scalability and improving performance using scalability impro...
Evaluating paas scalability and improving performance using scalability impro...Evaluating paas scalability and improving performance using scalability impro...
Evaluating paas scalability and improving performance using scalability impro...
 
Evaluating paas scalability and improving performance using scalability impro...
Evaluating paas scalability and improving performance using scalability impro...Evaluating paas scalability and improving performance using scalability impro...
Evaluating paas scalability and improving performance using scalability impro...
 
The Enterprise Adoption of Cloud Technology - Infographic by RapidValue
The Enterprise Adoption of Cloud Technology - Infographic by RapidValueThe Enterprise Adoption of Cloud Technology - Infographic by RapidValue
The Enterprise Adoption of Cloud Technology - Infographic by RapidValue
 
Application Architecture for Cloud Computing
Application Architecture for Cloud Computing Application Architecture for Cloud Computing
Application Architecture for Cloud Computing
 
Cloud Testing : An Overview
Cloud Testing : An OverviewCloud Testing : An Overview
Cloud Testing : An Overview
 
Automation of end-to-end QOS
Automation of end-to-end QOSAutomation of end-to-end QOS
Automation of end-to-end QOS
 
Cloud computing (pdf)
Cloud computing   (pdf)Cloud computing   (pdf)
Cloud computing (pdf)
 
What does performance mean in the cloud
What does performance mean in the cloudWhat does performance mean in the cloud
What does performance mean in the cloud
 
Overview of Sensors project
Overview of Sensors projectOverview of Sensors project
Overview of Sensors project
 
Best Data Center Service Provider in India - Best Hybrid Cloud Hosting Servi...
Best Data Center Service Provider in India -  Best Hybrid Cloud Hosting Servi...Best Data Center Service Provider in India -  Best Hybrid Cloud Hosting Servi...
Best Data Center Service Provider in India - Best Hybrid Cloud Hosting Servi...
 

Plus de Arun Kejariwal

Anomaly Detection At The Edge
Anomaly Detection At The EdgeAnomaly Detection At The Edge
Anomaly Detection At The Edge
Arun Kejariwal
 
Serverless Streaming Architectures and Algorithms for the Enterprise
Serverless Streaming Architectures and Algorithms for the EnterpriseServerless Streaming Architectures and Algorithms for the Enterprise
Serverless Streaming Architectures and Algorithms for the Enterprise
Arun Kejariwal
 
Designing Modern Streaming Data Applications
Designing Modern Streaming Data ApplicationsDesigning Modern Streaming Data Applications
Designing Modern Streaming Data Applications
Arun Kejariwal
 
Data Data Everywhere: Not An Insight to Take Action Upon
Data Data Everywhere: Not An Insight to Take Action UponData Data Everywhere: Not An Insight to Take Action Upon
Data Data Everywhere: Not An Insight to Take Action Upon
Arun Kejariwal
 
Finding bad apples early: Minimizing performance impact
Finding bad apples early: Minimizing performance impactFinding bad apples early: Minimizing performance impact
Finding bad apples early: Minimizing performance impact
Arun Kejariwal
 
Days In Green (DIG): Forecasting the life of a healthy service
Days In Green (DIG): Forecasting the life of a healthy serviceDays In Green (DIG): Forecasting the life of a healthy service
Days In Green (DIG): Forecasting the life of a healthy service
Arun Kejariwal
 
Gimme More! Supporting User Growth in a Performant and Efficient Fashion
Gimme More! Supporting User Growth in a Performant and Efficient FashionGimme More! Supporting User Growth in a Performant and Efficient Fashion
Gimme More! Supporting User Growth in a Performant and Efficient Fashion
Arun Kejariwal
 

Plus de Arun Kejariwal (20)

Anomaly Detection At The Edge
Anomaly Detection At The EdgeAnomaly Detection At The Edge
Anomaly Detection At The Edge
 
Serverless Streaming Architectures and Algorithms for the Enterprise
Serverless Streaming Architectures and Algorithms for the EnterpriseServerless Streaming Architectures and Algorithms for the Enterprise
Serverless Streaming Architectures and Algorithms for the Enterprise
 
Sequence-to-Sequence Modeling for Time Series
Sequence-to-Sequence Modeling for Time SeriesSequence-to-Sequence Modeling for Time Series
Sequence-to-Sequence Modeling for Time Series
 
Sequence-to-Sequence Modeling for Time Series
Sequence-to-Sequence Modeling for Time SeriesSequence-to-Sequence Modeling for Time Series
Sequence-to-Sequence Modeling for Time Series
 
Model Serving via Pulsar Functions
Model Serving via Pulsar FunctionsModel Serving via Pulsar Functions
Model Serving via Pulsar Functions
 
Designing Modern Streaming Data Applications
Designing Modern Streaming Data ApplicationsDesigning Modern Streaming Data Applications
Designing Modern Streaming Data Applications
 
Correlation Analysis on Live Data Streams
Correlation Analysis on Live Data StreamsCorrelation Analysis on Live Data Streams
Correlation Analysis on Live Data Streams
 
Deep Learning for Time Series Data
Deep Learning for Time Series DataDeep Learning for Time Series Data
Deep Learning for Time Series Data
 
Correlation Analysis on Live Data Streams
Correlation Analysis on Live Data StreamsCorrelation Analysis on Live Data Streams
Correlation Analysis on Live Data Streams
 
Live Anomaly Detection
Live Anomaly DetectionLive Anomaly Detection
Live Anomaly Detection
 
Modern real-time streaming architectures
Modern real-time streaming architecturesModern real-time streaming architectures
Modern real-time streaming architectures
 
Anomaly detection in real-time data streams using Heron
Anomaly detection in real-time data streams using HeronAnomaly detection in real-time data streams using Heron
Anomaly detection in real-time data streams using Heron
 
Data Data Everywhere: Not An Insight to Take Action Upon
Data Data Everywhere: Not An Insight to Take Action UponData Data Everywhere: Not An Insight to Take Action Upon
Data Data Everywhere: Not An Insight to Take Action Upon
 
Real Time Analytics: Algorithms and Systems
Real Time Analytics: Algorithms and SystemsReal Time Analytics: Algorithms and Systems
Real Time Analytics: Algorithms and Systems
 
Finding bad apples early: Minimizing performance impact
Finding bad apples early: Minimizing performance impactFinding bad apples early: Minimizing performance impact
Finding bad apples early: Minimizing performance impact
 
Velocity 2015-final
Velocity 2015-finalVelocity 2015-final
Velocity 2015-final
 
Statistical Learning Based Anomaly Detection @ Twitter
Statistical Learning Based Anomaly Detection @ TwitterStatistical Learning Based Anomaly Detection @ Twitter
Statistical Learning Based Anomaly Detection @ Twitter
 
Days In Green (DIG): Forecasting the life of a healthy service
Days In Green (DIG): Forecasting the life of a healthy serviceDays In Green (DIG): Forecasting the life of a healthy service
Days In Green (DIG): Forecasting the life of a healthy service
 
Gimme More! Supporting User Growth in a Performant and Efficient Fashion
Gimme More! Supporting User Growth in a Performant and Efficient FashionGimme More! Supporting User Growth in a Performant and Efficient Fashion
Gimme More! Supporting User Growth in a Performant and Efficient Fashion
 
Isolating Events from the Fail Whale
Isolating Events from the Fail WhaleIsolating Events from the Fail Whale
Isolating Events from the Fail Whale
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Techniques for Minimizing Cloud Footprint

  • 1. Techniques for Minimizing Cloud Footprint Arun Kejariwal March 2013 1 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 2. Overview   Cloud Computing o  Ubiquitous o  IDC – Cloud Services revenue ~100 B by 2016   Infrastructure-as-a-Service (IaaS) o  Large adoption   Elasticity   Scale up and down   Eliminates cycles for hardware procurement, datacenter maintenance   Higher product development agility   Fault Tolerance   Geographically distributed availability zones (e.g., AWS in US, Ireland, Singapore, Japan, Brazil) o  Growing vendors 2 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 3. Capitalizing Cloud Elasticity   Non-trivial to manage o  Aggressive scale down   Potentially affect latency and throughput adversely   Degraded end-user experience - impacts bottomline o  Aggressive scale up   Balloon cloud footprint   Adversely impact operational efficiency - impacts bottomline o  Which metric to use?   Traffic   Incoming, Outgoing   CPU   Load 3 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 4. Capitalizing Cloud Elasticity (contd.)   Non-trivial to manage o  Scaling policy   Whether to scale up/down by fixed amount   Whether to scale up/down by percentage of current capacity   What should be the cooldown period?   Efficient exploitation of cloud elasticity: Why Bother? o  Handle high traffic   Deliver best end-user experience o  Contain overall footprint   Reserved vs. On-Demand instances 4 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 5. Key Contributions   Algorithms 1.  Scale up/down by fixed amount   Target applications: small (< 20-25 nodes) clusters   Case Study 2.  Scale up/down by percentage of current capacity   Target applications: medium/large clusters 3.  Implications of long application start up time?   Example application: Netflix Recommendation Engine   Loading of user metadata (such as users preferences)   Modified Algorithm 2 to capture effects of application start up time   Case Study 5 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 6. Autoscaling in AWS: Quick review   CloudWatch o  Real-time monitoring of EC2 instances o  Metrics   CPU utilization, latency, network traffic, application specific etc. o  Alarm   Change state when metric > threshold   Action: when metric > threshold for a number of time periods   Policy o  ScalingAdjustment   # instances by which to scale o  Adjustment type   ChangeInCapacity   PercentChangeInCapacity   Cooldown o  Allows effects of scaling activity to become visible 6 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 7. Techniques: Design Guidelines   Avoid ping-pong effect o  High latency o  SLA violation   Be proactive, not reactive o  Application start up SLA driven need to scale up Autoscaling event 7 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 8. Techniques: Design Guidelines (contd.)   Aggressive upwards, conservative downwards o  Deliver best user experience   Handle more than expected increase in traffic   Handle slower ramp down of traffic o  Aggressive scale up   Provides buffer for increase in traffic during the cooldown period o  Aggressive scale down   May result in under-provisioning   Impact user experience   Scalability Analysis o  Given an SLA, determine maximum throughput 8 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 9. Techniques: Properties   RPS -> Requests per second 1.  RPS/node after scale up > Scale down threshold 2.  RPS/node after scale down > Scale up threshold 9 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 10. Techniques: # 1   Scale up by fixed amount o  Outline   : Scale up threshold (RPS per node)   : Scale up value     Proactive   Empirically determined   Example applications o  Beaconserver, customer service o  It does add up! 10 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 11. Techniques: # 1 (contd.)   Case Study Aggressive upwards Conservative downwards 11 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 12. Techniques: # 3   Scale up/down by percentage of current capacity o  Account for application start up o  How to model it?   Time series of RPS   : Application start up time, determine rolling RPS change time series   Compute 99th percentile   Compute effective scale up threshold   Consistent with being proactive design guideline 12 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 13. Techniques: # 3 (contd.) Rolling RPS Change Time Series (Application start up: 30 mins) 13 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 14. Techniques: # 3 (contd.)   Scale up percentage of current capacity   Outline   : Scale up threshold (RPS per node)   : Scale up value     Proactive   Empirically determined   Example applications o  Merchweb, simsservice, recommendation service, API o  Savings up to 50% 14 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 15. Techniques: # 3 (contd.)   Case Study 15 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 16. Wrapping up …   Summary o  Improve operational efficiency in the cloud o  Benefits both small and large clusters o  Up to 50% reduction in operational footprint   Future work o  How to handle spikes? o  Capture interaction between different services in a SOA o  Autoscale across IaaS vendors 16 International Conference on Cloud Engineering 2013 © Arun Kejariwal
  • 17. Q&A 17 International Conference on Cloud Engineering 2013 © Arun Kejariwal