SlideShare a Scribd company logo
1 of 34
Variations in Performance and Scalability when Migrating n-Tier Applications to Different Clouds DeepalJayasinghe, Simon Malkowski, Qingyang Wang, Jack Li, PengchengXiong, CaltonPu
Outline Motivation  Experiment setup Results on Emulab/ Open Cirrus  Results on EC2 Horizontal scalability  Vertical Scalability  Issue 1 : Multi-threading overhead Issue 2 : Network driver overhead  Conclusion
Motivation Clouds are much popular, but not a mature technology. More experimental studies are needed to better understand them. N-Tier applications are complex and migrating them to clouds is a non-trivial task.  We analyzed the performance and scalability when migrating n-tier applications from a traditional datacenter to an Infrastructure as a Service (IaaS) cloud.
Experiment Setup RUBBoS benchmark Bulletin board system like Slashdot (www.slashdot.org) Typical 3-tier or 4-tier architecture Two types of workload Browsing only Read/Write mix 24 web interactions MySQL Cluster Middleware for database scale-out Multi-master In-memory RUBBoS Deployment Topology with MySQL Cluster
Experiment Environment - Emulab ,[object Object]
Relatively modest testbed originally for network research
Virtual network & physical machines (not VM),[object Object]
Experiment Environment – Amazon EC2 Amazon EC2 – (http://aws.amazon.com/ec2/) An Elastic Compute Cloud that provides resizable compute capacity in the cloud.  It is designed to make web-scale computing easier for developers. 1: EC2 Unit = 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor
Software Settings
Summary of Experiments Automated experiment management approach (Elba1) 1: http://www.cc.gatech.edu/systems/projects/Elba/
Notation  We use the notation  #W-#A-#S-#D-p #W – Number of Web server (all experiments in this paper with one Web server) #A – Number of Application servers #S – Number of SQL nodes  #D – Number of Data nodes p – Platforms (em- for Emulab, oc – for Open Cirrus, ec2- for EC2)  1-2-2-2-em Emulab configuration with 1-Apache, 2-Tomcats, 2-SQL nodes and 2-Data nodes
Performance on Emulab Improvement Improvement
Performance on Open Cirrus Improvement Improvement
Performance on EC2 Degradation Degradation On Large instances
CPU Utilization (1-2-2-2) EC2 Emulab Tomcat MySQL Data Node
Vertical Scalability on EC2 Improvement Improvement Improvement
Summary  Emulab and Open Cirrus show better horizontal scalability  EC2 show good vertical scalability, but not better horizontal scalability  Our analysis resulted in two findings: Multi-threading overhead  Network driver overhead
Multi-Threading Overhead
End-to-End Response Time Client End-to-End Web Server End-to-End
Differences in Response Time Time differences
Context Switching (using LMBench)
Number of Context Switches
CPU Percentage
Issues and Solution Overall throughput and number of context switches are related  But, in EC2 we get less switches and similar overhead as Emulab When the number of threads is higher the cloud become unstable  Solutions: Rent more instances   (Like fixing memory leaks by increasing the heap size ) Re-write the application  E.g., reduce the number of threads
With our Solution Improvement
Solution - Improvements Improvement
Network Driver Overhead
Data Node Send Queue
Data Node Send Queue
Ping-Pong Time without a Load
Ping-Pong with a Load
Solution Use network friendly database middleware  Reduce the pressure on the network  Evaluated C-JDBC, an open source database middleware  Performed well and showed a very good scalability  Reduce the network traffic significantly
C-JDBC vs. MySQL Cluster Performance
C-JDBC vs. MySQL Cluster Network Traffic

More Related Content

What's hot

Federation manager demo
Federation manager demoFederation manager demo
Federation manager demoPLUMgrid
 
The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...
The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...
The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...Principled Technologies
 
Webinar Slides: MySQL Multi-Site Multi-Master Done Right
Webinar Slides: MySQL Multi-Site Multi-Master Done RightWebinar Slides: MySQL Multi-Site Multi-Master Done Right
Webinar Slides: MySQL Multi-Site Multi-Master Done RightContinuent
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesPapitha Velumani
 
Designing HPC & Deep Learning Middleware for Exascale Systems
Designing HPC & Deep Learning Middleware for Exascale SystemsDesigning HPC & Deep Learning Middleware for Exascale Systems
Designing HPC & Deep Learning Middleware for Exascale Systemsinside-BigData.com
 
Exploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingExploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingMichael May
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Papitha Velumani
 
Best Practices: Large Scale Multiphysics
Best Practices: Large Scale MultiphysicsBest Practices: Large Scale Multiphysics
Best Practices: Large Scale Multiphysicsinside-BigData.com
 
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...IEEEGLOBALSOFTSTUDENTPROJECTS
 
Testbed for Heterogeneous Cloud
Testbed for Heterogeneous CloudTestbed for Heterogeneous Cloud
Testbed for Heterogeneous CloudCloudLightning
 
Amazon Aurora TechConnect
Amazon Aurora TechConnect Amazon Aurora TechConnect
Amazon Aurora TechConnect LavanyaMurthy9
 
CloudLightning Service Description Language
CloudLightning Service Description LanguageCloudLightning Service Description Language
CloudLightning Service Description LanguageCloudLightning
 
3.1.Performance and BigData Ecosystem
3.1.Performance and BigData Ecosystem3.1.Performance and BigData Ecosystem
3.1.Performance and BigData Ecosystem振东 刘
 
Job sequence scheduling for cloud computing
Job sequence scheduling for cloud computingJob sequence scheduling for cloud computing
Job sequence scheduling for cloud computingSamruddhi Gaikwad
 
Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...
Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...
Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...HostedbyConfluent
 
apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...
apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...
apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...apidays
 
Materialize: a platform for changing data
Materialize: a platform for changing dataMaterialize: a platform for changing data
Materialize: a platform for changing dataAltinity Ltd
 
Cloud ftp a case study of migrating traditional applications to the cloud
Cloud ftp a case study of migrating traditional applications to the cloudCloud ftp a case study of migrating traditional applications to the cloud
Cloud ftp a case study of migrating traditional applications to the cloudJPINFOTECH JAYAPRAKASH
 
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Databricks
 
Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...
Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...
Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...Spark Summit
 

What's hot (20)

Federation manager demo
Federation manager demoFederation manager demo
Federation manager demo
 
The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...
The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...
The Dell EMC PowerMax 8000 outperformed another vendor's array on an OLTP-lik...
 
Webinar Slides: MySQL Multi-Site Multi-Master Done Right
Webinar Slides: MySQL Multi-Site Multi-Master Done RightWebinar Slides: MySQL Multi-Site Multi-Master Done Right
Webinar Slides: MySQL Multi-Site Multi-Master Done Right
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
 
Designing HPC & Deep Learning Middleware for Exascale Systems
Designing HPC & Deep Learning Middleware for Exascale SystemsDesigning HPC & Deep Learning Middleware for Exascale Systems
Designing HPC & Deep Learning Middleware for Exascale Systems
 
Exploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancingExploiting latency bounds for energy efficient load balancing
Exploiting latency bounds for energy efficient load balancing
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...
 
Best Practices: Large Scale Multiphysics
Best Practices: Large Scale MultiphysicsBest Practices: Large Scale Multiphysics
Best Practices: Large Scale Multiphysics
 
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Adaptive algorithm for minimizing clo...
 
Testbed for Heterogeneous Cloud
Testbed for Heterogeneous CloudTestbed for Heterogeneous Cloud
Testbed for Heterogeneous Cloud
 
Amazon Aurora TechConnect
Amazon Aurora TechConnect Amazon Aurora TechConnect
Amazon Aurora TechConnect
 
CloudLightning Service Description Language
CloudLightning Service Description LanguageCloudLightning Service Description Language
CloudLightning Service Description Language
 
3.1.Performance and BigData Ecosystem
3.1.Performance and BigData Ecosystem3.1.Performance and BigData Ecosystem
3.1.Performance and BigData Ecosystem
 
Job sequence scheduling for cloud computing
Job sequence scheduling for cloud computingJob sequence scheduling for cloud computing
Job sequence scheduling for cloud computing
 
Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...
Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...
Getting up to Speed with MirrorMaker 2 (Mickael Maison, IBM & Ryanne Dolan) K...
 
apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...
apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...
apidays LIVE Paris 2021 - Building an AWS EC2 Carbon Emissions Dataset by Ben...
 
Materialize: a platform for changing data
Materialize: a platform for changing dataMaterialize: a platform for changing data
Materialize: a platform for changing data
 
Cloud ftp a case study of migrating traditional applications to the cloud
Cloud ftp a case study of migrating traditional applications to the cloudCloud ftp a case study of migrating traditional applications to the cloud
Cloud ftp a case study of migrating traditional applications to the cloud
 
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
 
Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...
Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...
Reactive Streams, linking Reactive Application to Spark Streaming by Luc Bour...
 

Similar to Variations in Performance and Scalability when Migrating n-Tier Applications to Different Clouds

IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...IEEEGLOBALSOFTSTUDENTPROJECTS
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...
2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...
2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...IEEEFINALYEARSTUDENTPROJECT
 
Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...
Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...
Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...Principled Technologies
 
Computer Network Performance evaluation based on Network scalability using OM...
Computer Network Performance evaluation based on Network scalability using OM...Computer Network Performance evaluation based on Network scalability using OM...
Computer Network Performance evaluation based on Network scalability using OM...Jaipal Dhobale
 
Deliver better return on investment and faster data analysis while performing...
Deliver better return on investment and faster data analysis while performing...Deliver better return on investment and faster data analysis while performing...
Deliver better return on investment and faster data analysis while performing...Principled Technologies
 
Performance and Energy evaluation
Performance and Energy evaluationPerformance and Energy evaluation
Performance and Energy evaluationGIORGOS STAMELOS
 
Calton pu experimental methods on performance in cloud and accuracy in big da...
Calton pu experimental methods on performance in cloud and accuracy in big da...Calton pu experimental methods on performance in cloud and accuracy in big da...
Calton pu experimental methods on performance in cloud and accuracy in big da...jins0618
 
Using Grid Technologies in the Cloud for High Scalability
Using Grid Technologies in the Cloud for High ScalabilityUsing Grid Technologies in the Cloud for High Scalability
Using Grid Technologies in the Cloud for High Scalabilitymabuhr
 
Finish Microsoft SQL Server data analysis faster with new M5n series instance...
Finish Microsoft SQL Server data analysis faster with new M5n series instance...Finish Microsoft SQL Server data analysis faster with new M5n series instance...
Finish Microsoft SQL Server data analysis faster with new M5n series instance...Principled Technologies
 
Cloudsim & greencloud
Cloudsim & greencloud Cloudsim & greencloud
Cloudsim & greencloud nedamaleki87
 
High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegreesscetrajiv
 
OpenACC Monthly Highlights: September 2021
OpenACC Monthly Highlights: September 2021OpenACC Monthly Highlights: September 2021
OpenACC Monthly Highlights: September 2021OpenACC
 
Low Latency Execution For Apache Spark
Low Latency Execution For Apache SparkLow Latency Execution For Apache Spark
Low Latency Execution For Apache SparkJen Aman
 
Scalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availabilityScalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availabilityPapitha Velumani
 
DataCluster
DataClusterDataCluster
DataClustergystell
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesPapitha Velumani
 
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)Thilina Gunarathne
 
Supporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud servicesSupporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud servicesAhmed Abdullah
 

Similar to Variations in Performance and Scalability when Migrating n-Tier Applications to Different Clouds (20)

IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS Optimal power allocation and load dis...
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...
2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...
2014 IEEE JAVA CLOUD COMPUTING PROJECT Optimal power allocation and load dist...
 
Gupta_Keynote_VTDC-3
Gupta_Keynote_VTDC-3Gupta_Keynote_VTDC-3
Gupta_Keynote_VTDC-3
 
Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...
Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...
Deliver better ROI and faster data analysis with Dell Technologies APEX Priva...
 
Computer Network Performance evaluation based on Network scalability using OM...
Computer Network Performance evaluation based on Network scalability using OM...Computer Network Performance evaluation based on Network scalability using OM...
Computer Network Performance evaluation based on Network scalability using OM...
 
Deliver better return on investment and faster data analysis while performing...
Deliver better return on investment and faster data analysis while performing...Deliver better return on investment and faster data analysis while performing...
Deliver better return on investment and faster data analysis while performing...
 
Performance and Energy evaluation
Performance and Energy evaluationPerformance and Energy evaluation
Performance and Energy evaluation
 
Paper
PaperPaper
Paper
 
Calton pu experimental methods on performance in cloud and accuracy in big da...
Calton pu experimental methods on performance in cloud and accuracy in big da...Calton pu experimental methods on performance in cloud and accuracy in big da...
Calton pu experimental methods on performance in cloud and accuracy in big da...
 
Using Grid Technologies in the Cloud for High Scalability
Using Grid Technologies in the Cloud for High ScalabilityUsing Grid Technologies in the Cloud for High Scalability
Using Grid Technologies in the Cloud for High Scalability
 
Finish Microsoft SQL Server data analysis faster with new M5n series instance...
Finish Microsoft SQL Server data analysis faster with new M5n series instance...Finish Microsoft SQL Server data analysis faster with new M5n series instance...
Finish Microsoft SQL Server data analysis faster with new M5n series instance...
 
Cloudsim & greencloud
Cloudsim & greencloud Cloudsim & greencloud
Cloudsim & greencloud
 
High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegree
 
OpenACC Monthly Highlights: September 2021
OpenACC Monthly Highlights: September 2021OpenACC Monthly Highlights: September 2021
OpenACC Monthly Highlights: September 2021
 
Low Latency Execution For Apache Spark
Low Latency Execution For Apache SparkLow Latency Execution For Apache Spark
Low Latency Execution For Apache Spark
 
Scalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availabilityScalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availability
 
DataCluster
DataClusterDataCluster
DataCluster
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
 
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)
Map Reduce in the Clouds (http://salsahpc.indiana.edu/mapreduceroles4azure/)
 
Supporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud servicesSupporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud services
 

Recently uploaded

Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 

Recently uploaded (20)

Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 

Variations in Performance and Scalability when Migrating n-Tier Applications to Different Clouds

  • 1. Variations in Performance and Scalability when Migrating n-Tier Applications to Different Clouds DeepalJayasinghe, Simon Malkowski, Qingyang Wang, Jack Li, PengchengXiong, CaltonPu
  • 2. Outline Motivation Experiment setup Results on Emulab/ Open Cirrus Results on EC2 Horizontal scalability Vertical Scalability Issue 1 : Multi-threading overhead Issue 2 : Network driver overhead Conclusion
  • 3. Motivation Clouds are much popular, but not a mature technology. More experimental studies are needed to better understand them. N-Tier applications are complex and migrating them to clouds is a non-trivial task. We analyzed the performance and scalability when migrating n-tier applications from a traditional datacenter to an Infrastructure as a Service (IaaS) cloud.
  • 4. Experiment Setup RUBBoS benchmark Bulletin board system like Slashdot (www.slashdot.org) Typical 3-tier or 4-tier architecture Two types of workload Browsing only Read/Write mix 24 web interactions MySQL Cluster Middleware for database scale-out Multi-master In-memory RUBBoS Deployment Topology with MySQL Cluster
  • 5.
  • 6. Relatively modest testbed originally for network research
  • 7.
  • 8. Experiment Environment – Amazon EC2 Amazon EC2 – (http://aws.amazon.com/ec2/) An Elastic Compute Cloud that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers. 1: EC2 Unit = 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor
  • 10. Summary of Experiments Automated experiment management approach (Elba1) 1: http://www.cc.gatech.edu/systems/projects/Elba/
  • 11. Notation We use the notation #W-#A-#S-#D-p #W – Number of Web server (all experiments in this paper with one Web server) #A – Number of Application servers #S – Number of SQL nodes #D – Number of Data nodes p – Platforms (em- for Emulab, oc – for Open Cirrus, ec2- for EC2) 1-2-2-2-em Emulab configuration with 1-Apache, 2-Tomcats, 2-SQL nodes and 2-Data nodes
  • 12. Performance on Emulab Improvement Improvement
  • 13. Performance on Open Cirrus Improvement Improvement
  • 14. Performance on EC2 Degradation Degradation On Large instances
  • 15. CPU Utilization (1-2-2-2) EC2 Emulab Tomcat MySQL Data Node
  • 16. Vertical Scalability on EC2 Improvement Improvement Improvement
  • 17. Summary Emulab and Open Cirrus show better horizontal scalability EC2 show good vertical scalability, but not better horizontal scalability Our analysis resulted in two findings: Multi-threading overhead Network driver overhead
  • 19. End-to-End Response Time Client End-to-End Web Server End-to-End
  • 20. Differences in Response Time Time differences
  • 22. Number of Context Switches
  • 24. Issues and Solution Overall throughput and number of context switches are related But, in EC2 we get less switches and similar overhead as Emulab When the number of threads is higher the cloud become unstable Solutions: Rent more instances (Like fixing memory leaks by increasing the heap size ) Re-write the application E.g., reduce the number of threads
  • 25. With our Solution Improvement
  • 26. Solution - Improvements Improvement
  • 28. Data Node Send Queue
  • 29. Data Node Send Queue
  • 32. Solution Use network friendly database middleware Reduce the pressure on the network Evaluated C-JDBC, an open source database middleware Performed well and showed a very good scalability Reduce the network traffic significantly
  • 33. C-JDBC vs. MySQL Cluster Performance
  • 34. C-JDBC vs. MySQL Cluster Network Traffic
  • 35. Conclusion & Future works Studied the performance and scalability variations when migrating n-tier applications to clouds. Our results show, that cloud are new and need more experimental studies to better understand them. More specifically, application re-design is needed to handle cloud challenges. Future works Extend our analysis into other clouds (e.g., Wipro) Micro level study to dig deep into observe phenomena With other database monument systems (e.g., Oracle, DB2)