SlideShare a Scribd company logo
A Study of the Energy Consumption of
Databases and Cloud Patterns
Naouel Moha,
B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc
´Ecole Polytechnique de Montr´eal
Ptidej Team / SWAT Lab
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Table of contents
1 Introduction
2 Literature Review
3 Methodology
4 Results
5 Conclusion
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 2/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Motivations
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 3/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Motivations
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 4/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Motivations
• Little is still known about the energy footprint of these
applications and, in particular, of their databases
• Databases are the backbone of cloud-based applications
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 5/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Motivations
Cloud Application = Databases + Cloud Patterns
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 6/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Motivations
• None of previous works investigated the combined impact of
databases and cloud patterns on the energy consumption of
cloud-based applications
• The benefits and trade-offs of different databases and
combinations of cloud patterns are mostly intuitive and not
validated
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 7/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Objectives
1 Propose an approach to collect energy measures of
cloud-based applications implemented with cloud patterns in
conjunction with databases in a cloud environment
2 Evaluate the impact on energy consumption of three cloud
patterns with three databases
3 Highlight the contrast response time with energy efficiency of
databases
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 8/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Energy Consumption and Applications Design
1 How Green Are Cloud Patterns? (Abtahizadeh et al.)
• Showed that cloud patterns can effectively reduce the energy
consumption of a cloud application
• Only considered MySQL database and a RESTful application
2 Investigating the impacts of web servers on web
application energy usage (Manotas et al.)
• Showed that the energy consumption of a Web application
depends on the Web server used to handle requests
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 9/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Performance of Relational and NoSQL Databases
1 Comparison of NoSQL and SQL Databases in the Cloud
(Hammes et al.)
• Highlighted the performance of both PostgreSQL database and
MongoDB database
• Observed that PostgreSQL databases perform better than
MongoDB databases in cloud environments
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 10/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Impact of Cloud Patterns on Applications Performance
1 An empirical Study of the impact of cloud patterns on
Quality of Service (QoS) (Hecht et al.)
• Studied the impact of three cloud patterns on QoS
• Reported that the implementation of the Local Database
Proxy pattern can significantly impact the QoS
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 11/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Objects and Design
1 RESTful multi-threaded application
• Use Sakila sample database (provided by MySQL)
• Adapt the schema of Sakila sample database to PostgreSQL
and MongoDB databases
2 DVD Store application
• Open source simulation of an e-commerce web site
• We refactor the code of DVD Store to allow it to connect to a
MongoDB database
3 JPetStore application
• Open source simulation of an e-commerce web application
• We refactor the code of JPetStore to allow it to connect to a
PostgreSQL and MongoDB databases
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 12/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Objects and Design
Power-API Tool
• Provides power information (in watts converted to joules to
measure the energy) per PID for each system component
(CPU, memory, etc.)
• Uses sensors and analytical models for its energy estimation
• Allows to estimate the amount of power required by the CPU
to execute a process (at the corresponding PID)
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 13/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Research Variables
1 Independent Variables
• Databases: MySQL, PostgreSQL, MongoDB
• Cloud Patterns: Local Database Proxy, Local Sharding-Based
Router, Priority Message Queue
2 Dependent Variables
• Response Time: Corresponding to Select and Insert requests
(milliseconds)
• Energy Consumption: Using Power-API profiler (Joules)
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 14/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Data Extraction Process
Energy Consumption Data Extraction Process
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 15/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Analysis Method
• Mann-Whitney U test
• A non-parametric statistical test whose relevance is reflected in
the assessment of two independent distributions
• The null hypothesis is rejected (there is a significant difference
between the the two distributions) when its p-value < 0.05
• Cliff’s δ effect size
• Represents the degree of interlock between two sample
distributions
• Its value ranges from -1 to +1: negligeable (δ < 0.147),
small (0.147< δ <0.33), medium (0.33< δ <0.474) and
large (δ > 0.474)
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 16/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
RQ1:
Does the choice of MySQL, PostgreSQL, and
MongoDB databases affect the energy consumption
of cloud applications (when no cloud patterns are
implemented)?
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 17/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Without Applying Cloud Patterns
Energy Consumption p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P0 262.5 568.2 0.01 medium 262.5 354.7 0.24 small 568.2 354.7 0.09 small
Response Time p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P0 36018.6 28615.7 0.09 small 36018.6 4253.8 < 10e−6 large 28615.7 4253.8 < 10e−6 large
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 18/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
RQ2:
Does the implementation of Local Database Proxy,
Local Sharding Based Router, and Priority Message
Queue patterns affect the energy consumption of
cloud applications using MySQL, PostgreSQL, and
MongoDB Databases?
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 19/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Local Database Proxy Pattern
Energy Consumption p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P1 490.2 1391.1 < 10e−6 large 490.2 890.0 < 10e−6 large 1391.1 890.0 0.09 small
P2 495.2 1529.9 < 10e−6 large 495.2 915.9 < 10e−6 large 1529.9 915.9 0.04 medium
P3 495.0 1476.5 < 10e−6 large 495.0 904.5 < 10e−6 large 1476.5 904.5 0.04 medium
Response Time p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P1 30430.0 27867.8 0.23 small 30430.0 3639.8 < 10e−6 large 27867.8 3639.8 < 10e−6 large
P2 29504.1 27036.5 0.23 small 29504.1 3214.2 < 10e−6 large 27036.5 3214.2 < 10e−6 large
P3 29825.2 26129.6 0.23 small 29825.2 3275.0 < 10e−6 large 26129.6 3275.0 < 10e−6 large
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 20/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Local Sharding-Based Router
Energy Consumption p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P4 1331.9 6330.2 < 10e−6 large 1331.9 5826.4 < 10e−6 large 6330.2 5826.4 0.23 small
P5 611.6 4245.1 < 10e−6 large 611.6 3821.8 < 10e−6 large 4245.1 3821.8 0.23 small
P6 824.1 4929.4 < 10e−6 large 824.1 4194.4 < 10e−6 large 4929.4 4194.4 0.23 small
Response Time p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P4 170693.1 138026.6 0.09 small 170693.1 26259.5 < 10e−6 large 138026.6 26259.5 < 10e−6 large
P5 165250.7 145382.6 0.09 small 165250.7 27897.8 < 10e−6 large 145382.6 27897.8 < 10e−6 large
P6 168786.5 130585.0 0.09 small 168786.5 24680.3 < 10e−6 large 130585.0 24680.3 < 10e−6 large
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 21/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
RQ3:
Do the interactions between Local Database Proxy,
Local Sharding Based Router, and Priority Message
Queue patterns affect the energy consumption of
cloud applications using MySQL, PostgreSQL, and
MongoDB databases?
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 22/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Combination Proxy Pattern and Message Queue Pattern
Energy Consumption p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P1+P7 442.7 1379.8 < 10e−6 large 442.7 814.3 < 10e−6 large 1379.8 814.3 0.03 medium
P2+P7 468.8 1482.5 < 10e−6 large 468.8 891.9 < 10e−6 large 1482.5 891.9 0.03 medium
P3+P7 490.2 1391.1 < 10e−6 large 490.2 890.0 < 10e−6 large 1391.1 890.0 0.09 small
Response Time p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P1+P7 27826.2 22299.8 0.48 negligible 27826.2 3747.1 < 10e−6 large 22299.8 3747.1 < 10e−6 large
P2+P7 26703.4 25706.8 0.48 negligible 26703.4 3127.5 < 10e−6 large 25706.8 3127.5 < 10e−6 large
P3+P7 29339.7 23153.6 0.23 small 29339.7 4210.2 < 10e−6 large 23153.6 4210.2 < 10e−6 large
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 23/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Combination Sharding and Message Queue Patterns
Energy Consumption p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P4+P7 1255.5 5777.4 < 10e−6 large 1255.5 5622.9 < 10e−6 large 5777.4 5622.9 0.82 negligible
P5+P7 492.2 3884.5 < 10e−6 large 492.2 3386.6 < 10e−6 large 3884.5 3386.6 0.23 small
P6+P7 775.9 4526.8 < 10e−6 large 775.9 4127.4 < 10e−6 large 4526.8 4127.4 0.23 small
Response Time p-value and Cliff’s δ
Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ
P4+P7 37584.7 29287.7 0.23 small 37584.7 2716.3 < 10e−6 large 29287.7 2716.3 < 10e−6 large
P5+P7 38153.7 26445.6 0.09 small 38153.7 2869.7 < 10e−6 large 26445.6 2869.7 < 10e−6 large
P6+P7 34183.0 27507.3 0.23 small 34183.0 20609.3 0.03 medium 27507.3 20609.3 0.09 small
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 24/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Important Results
• MySQL database is the least energy consuming but is the
slowest among the three databases
• PostgreSQL database is the most energy consuming among
the three databases, but is faster than MySQL but slower
than MongoDB
• MongoDB database consumes more energy than MySQL
but less than PostgreSQL and is the fastest among the three
databases
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 25/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Discussions
• PostgreSQL database generates multiple parallel processes to
run the requests sent by the RESTful cloud-based application
• MySQL and MongoDB generate only one process at a time to
handle requests sent by the cloud-based application
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 26/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Discussions
• MySQL and PostgreSQL follow the ACID model
• MongoDB database follow the BASE model
⇒ MongoDB is faster than the other two relational
databases
⇒ requests processed by relational databases must be
executed one by one and cannot be executed in a
Simultaneous way
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 27/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Summary
• We carried on a series of experiments on different versions of
three cloud applications
• We contrasted the performance of various combinations of
databases and cloud patterns in terms of energy consumption
and response time of the cloud-based applications
• Databases can reduce the energy consumption of cloud-based
applications
• Cloud patterns do not impact the behavior of the databases
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 28/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Limitations of the proposed approach
• Energy measurements are subject to perturbations depending
of hardware and network
• More studies should be conducted with possibly more accurate
tools to verify our findings
• Our findings may still be specific to our studied applications,
which were designed specifically for the experiments
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 29/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
Future work
• Expand our study to different NoSQL databases
• Examine how a match/mismatch between the selected
database and the workload characteristic affects energy
efficiency
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 30/31 – www.polymtl.ca
POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion
• We carried on a series of experiments on different versions of
three cloud applications
• We contrasted the performance of various combinations of
databases and cloud patterns in terms of energy consumption
and response time of the cloud-based applications
• Databases can reduce the energy consumption of cloud-based
applications
• Cloud patterns do not impact the behavior of the databases
14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 31/31 – www.polymtl.ca

More Related Content

Similar to Icsoc16b.ppt

Realization of Innovative Light Energy Conversion Materials utilizing the Sup...
Realization of Innovative Light Energy Conversion Materials utilizing the Sup...Realization of Innovative Light Energy Conversion Materials utilizing the Sup...
Realization of Innovative Light Energy Conversion Materials utilizing the Sup...
RCCSRENKEI
 
01-10 Exploring new high potential 2D materials - Angioni.pdf
01-10 Exploring new high potential 2D materials - Angioni.pdf01-10 Exploring new high potential 2D materials - Angioni.pdf
01-10 Exploring new high potential 2D materials - Angioni.pdf
OCRE | Open Clouds for Research Environments
 
Continuous modeling - automating model building on high-performance e-Infrast...
Continuous modeling - automating model building on high-performance e-Infrast...Continuous modeling - automating model building on high-performance e-Infrast...
Continuous modeling - automating model building on high-performance e-Infrast...
Ola Spjuth
 
CloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use CaseCloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use Case
CloudLightning
 
NCPC IE Conference 2017 P Mukoma
NCPC IE Conference 2017 P MukomaNCPC IE Conference 2017 P Mukoma
NCPC IE Conference 2017 P Mukoma
7391456
 
Bde sc3 2nd_workshop_2016_10_04_p10_maja_skrjanc
Bde sc3 2nd_workshop_2016_10_04_p10_maja_skrjancBde sc3 2nd_workshop_2016_10_04_p10_maja_skrjanc
Bde sc3 2nd_workshop_2016_10_04_p10_maja_skrjanc
BigData_Europe
 
Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...
Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...
Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...
Francisco de Melo Jr
 
ProteomeXchange update HUPO 2016
ProteomeXchange update HUPO 2016ProteomeXchange update HUPO 2016
ProteomeXchange update HUPO 2016
Juan Antonio Vizcaino
 
Selecting Ontologies and Publishing Data of Electrical Appliances: A Refrige...
Selecting Ontologies  and Publishing Data of Electrical Appliances: A Refrige...Selecting Ontologies  and Publishing Data of Electrical Appliances: A Refrige...
Selecting Ontologies and Publishing Data of Electrical Appliances: A Refrige...
Anna Fensel
 
YangHu-CV-Nov2016
YangHu-CV-Nov2016YangHu-CV-Nov2016
YangHu-CV-Nov2016Yang Hu
 
Show and Tell - Data and Digitalisation, Digital Twins.pdf
Show and Tell - Data and Digitalisation, Digital Twins.pdfShow and Tell - Data and Digitalisation, Digital Twins.pdf
Show and Tell - Data and Digitalisation, Digital Twins.pdf
SIFOfgem
 
An innovative approach to design cogeneration systems based on big data analy...
An innovative approach to design cogeneration systems based on big data analy...An innovative approach to design cogeneration systems based on big data analy...
An innovative approach to design cogeneration systems based on big data analy...
Giulio Vialetto
 
Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...
Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...
Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...
CaaS EU FP7 Project
 
Querying and reasoning over large scale building datasets: an outline of a pe...
Querying and reasoning over large scale building datasets: an outline of a pe...Querying and reasoning over large scale building datasets: an outline of a pe...
Querying and reasoning over large scale building datasets: an outline of a pe...
Ana Roxin
 
The Importance of Open Data and Models for Energy Systems Analysis
The Importance of Open Data and Models for Energy Systems AnalysisThe Importance of Open Data and Models for Energy Systems Analysis
The Importance of Open Data and Models for Energy Systems Analysis
The Open Data Institute of North Carolina
 
SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...
SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...
SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...Maghrenov
 
Big Data HPC Convergence and a bunch of other things
Big Data HPC Convergence and a bunch of other thingsBig Data HPC Convergence and a bunch of other things
Big Data HPC Convergence and a bunch of other things
Geoffrey Fox
 

Similar to Icsoc16b.ppt (20)

Realization of Innovative Light Energy Conversion Materials utilizing the Sup...
Realization of Innovative Light Energy Conversion Materials utilizing the Sup...Realization of Innovative Light Energy Conversion Materials utilizing the Sup...
Realization of Innovative Light Energy Conversion Materials utilizing the Sup...
 
01-10 Exploring new high potential 2D materials - Angioni.pdf
01-10 Exploring new high potential 2D materials - Angioni.pdf01-10 Exploring new high potential 2D materials - Angioni.pdf
01-10 Exploring new high potential 2D materials - Angioni.pdf
 
Continuous modeling - automating model building on high-performance e-Infrast...
Continuous modeling - automating model building on high-performance e-Infrast...Continuous modeling - automating model building on high-performance e-Infrast...
Continuous modeling - automating model building on high-performance e-Infrast...
 
CloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use CaseCloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use Case
 
NCPC IE Conference 2017 P Mukoma
NCPC IE Conference 2017 P MukomaNCPC IE Conference 2017 P Mukoma
NCPC IE Conference 2017 P Mukoma
 
Bde sc3 2nd_workshop_2016_10_04_p10_maja_skrjanc
Bde sc3 2nd_workshop_2016_10_04_p10_maja_skrjancBde sc3 2nd_workshop_2016_10_04_p10_maja_skrjanc
Bde sc3 2nd_workshop_2016_10_04_p10_maja_skrjanc
 
Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...
Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...
Performance Analysis Using Automated Grouping Mechanisms - Conference Portuga...
 
ProteomeXchange update HUPO 2016
ProteomeXchange update HUPO 2016ProteomeXchange update HUPO 2016
ProteomeXchange update HUPO 2016
 
Selecting Ontologies and Publishing Data of Electrical Appliances: A Refrige...
Selecting Ontologies  and Publishing Data of Electrical Appliances: A Refrige...Selecting Ontologies  and Publishing Data of Electrical Appliances: A Refrige...
Selecting Ontologies and Publishing Data of Electrical Appliances: A Refrige...
 
YangHu-CV-Nov2016
YangHu-CV-Nov2016YangHu-CV-Nov2016
YangHu-CV-Nov2016
 
Show and Tell - Data and Digitalisation, Digital Twins.pdf
Show and Tell - Data and Digitalisation, Digital Twins.pdfShow and Tell - Data and Digitalisation, Digital Twins.pdf
Show and Tell - Data and Digitalisation, Digital Twins.pdf
 
ACCESS-Opt_Overview
ACCESS-Opt_OverviewACCESS-Opt_Overview
ACCESS-Opt_Overview
 
An innovative approach to design cogeneration systems based on big data analy...
An innovative approach to design cogeneration systems based on big data analy...An innovative approach to design cogeneration systems based on big data analy...
An innovative approach to design cogeneration systems based on big data analy...
 
Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...
Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...
Context-oriented Knowledge Management in Production Networks @Gsom Emerging m...
 
Querying and reasoning over large scale building datasets: an outline of a pe...
Querying and reasoning over large scale building datasets: an outline of a pe...Querying and reasoning over large scale building datasets: an outline of a pe...
Querying and reasoning over large scale building datasets: an outline of a pe...
 
The Importance of Open Data and Models for Energy Systems Analysis
The Importance of Open Data and Models for Energy Systems AnalysisThe Importance of Open Data and Models for Energy Systems Analysis
The Importance of Open Data and Models for Energy Systems Analysis
 
SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...
SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...
SOPHIA by Philippe Malbranch - Maghrenov workshop on research infrastructures...
 
LEFTERIS_PROJECT_FINAL
LEFTERIS_PROJECT_FINALLEFTERIS_PROJECT_FINAL
LEFTERIS_PROJECT_FINAL
 
Resume_Akshay
Resume_AkshayResume_Akshay
Resume_Akshay
 
Big Data HPC Convergence and a bunch of other things
Big Data HPC Convergence and a bunch of other thingsBig Data HPC Convergence and a bunch of other things
Big Data HPC Convergence and a bunch of other things
 

More from Ptidej Team

From IoT to Software Miniaturisation
From IoT to Software MiniaturisationFrom IoT to Software Miniaturisation
From IoT to Software Miniaturisation
Ptidej Team
 
Presentation
PresentationPresentation
Presentation
Ptidej Team
 
Presentation
PresentationPresentation
Presentation
Ptidej Team
 
Presentation
PresentationPresentation
Presentation
Ptidej Team
 
Presentation by Lionel Briand
Presentation by Lionel BriandPresentation by Lionel Briand
Presentation by Lionel Briand
Ptidej Team
 
Manel Abdellatif
Manel AbdellatifManel Abdellatif
Manel Abdellatif
Ptidej Team
 
Azadeh Kermansaravi
Azadeh KermansaraviAzadeh Kermansaravi
Azadeh Kermansaravi
Ptidej Team
 
Mouna Abidi
Mouna AbidiMouna Abidi
Mouna Abidi
Ptidej Team
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel Grichi
Ptidej Team
 
Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano Politowski
Ptidej Team
 
Will io t trigger the next software crisis
Will io t trigger the next software crisisWill io t trigger the next software crisis
Will io t trigger the next software crisis
Ptidej Team
 
MIPA
MIPAMIPA
Thesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptThesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.ppt
Ptidej Team
 
Thesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptThesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.ppt
Ptidej Team
 
Medicine15.ppt
Medicine15.pptMedicine15.ppt
Medicine15.ppt
Ptidej Team
 
Qrs17b.ppt
Qrs17b.pptQrs17b.ppt
Qrs17b.ppt
Ptidej Team
 
Icpc11c.ppt
Icpc11c.pptIcpc11c.ppt
Icpc11c.ppt
Ptidej Team
 
Icsme16.ppt
Icsme16.pptIcsme16.ppt
Icsme16.ppt
Ptidej Team
 
Msr17a.ppt
Msr17a.pptMsr17a.ppt
Msr17a.ppt
Ptidej Team
 
Icsoc15.ppt
Icsoc15.pptIcsoc15.ppt
Icsoc15.ppt
Ptidej Team
 

More from Ptidej Team (20)

From IoT to Software Miniaturisation
From IoT to Software MiniaturisationFrom IoT to Software Miniaturisation
From IoT to Software Miniaturisation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation by Lionel Briand
Presentation by Lionel BriandPresentation by Lionel Briand
Presentation by Lionel Briand
 
Manel Abdellatif
Manel AbdellatifManel Abdellatif
Manel Abdellatif
 
Azadeh Kermansaravi
Azadeh KermansaraviAzadeh Kermansaravi
Azadeh Kermansaravi
 
Mouna Abidi
Mouna AbidiMouna Abidi
Mouna Abidi
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel Grichi
 
Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano Politowski
 
Will io t trigger the next software crisis
Will io t trigger the next software crisisWill io t trigger the next software crisis
Will io t trigger the next software crisis
 
MIPA
MIPAMIPA
MIPA
 
Thesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptThesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.ppt
 
Thesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptThesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.ppt
 
Medicine15.ppt
Medicine15.pptMedicine15.ppt
Medicine15.ppt
 
Qrs17b.ppt
Qrs17b.pptQrs17b.ppt
Qrs17b.ppt
 
Icpc11c.ppt
Icpc11c.pptIcpc11c.ppt
Icpc11c.ppt
 
Icsme16.ppt
Icsme16.pptIcsme16.ppt
Icsme16.ppt
 
Msr17a.ppt
Msr17a.pptMsr17a.ppt
Msr17a.ppt
 
Icsoc15.ppt
Icsoc15.pptIcsoc15.ppt
Icsoc15.ppt
 

Recently uploaded

openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 

Recently uploaded (20)

openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 

Icsoc16b.ppt

  • 1. A Study of the Energy Consumption of Databases and Cloud Patterns Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc ´Ecole Polytechnique de Montr´eal Ptidej Team / SWAT Lab
  • 2. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Table of contents 1 Introduction 2 Literature Review 3 Methodology 4 Results 5 Conclusion 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 2/31 – www.polymtl.ca
  • 3. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Motivations 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 3/31 – www.polymtl.ca
  • 4. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Motivations 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 4/31 – www.polymtl.ca
  • 5. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Motivations • Little is still known about the energy footprint of these applications and, in particular, of their databases • Databases are the backbone of cloud-based applications 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 5/31 – www.polymtl.ca
  • 6. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Motivations Cloud Application = Databases + Cloud Patterns 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 6/31 – www.polymtl.ca
  • 7. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Motivations • None of previous works investigated the combined impact of databases and cloud patterns on the energy consumption of cloud-based applications • The benefits and trade-offs of different databases and combinations of cloud patterns are mostly intuitive and not validated 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 7/31 – www.polymtl.ca
  • 8. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Objectives 1 Propose an approach to collect energy measures of cloud-based applications implemented with cloud patterns in conjunction with databases in a cloud environment 2 Evaluate the impact on energy consumption of three cloud patterns with three databases 3 Highlight the contrast response time with energy efficiency of databases 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 8/31 – www.polymtl.ca
  • 9. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Energy Consumption and Applications Design 1 How Green Are Cloud Patterns? (Abtahizadeh et al.) • Showed that cloud patterns can effectively reduce the energy consumption of a cloud application • Only considered MySQL database and a RESTful application 2 Investigating the impacts of web servers on web application energy usage (Manotas et al.) • Showed that the energy consumption of a Web application depends on the Web server used to handle requests 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 9/31 – www.polymtl.ca
  • 10. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Performance of Relational and NoSQL Databases 1 Comparison of NoSQL and SQL Databases in the Cloud (Hammes et al.) • Highlighted the performance of both PostgreSQL database and MongoDB database • Observed that PostgreSQL databases perform better than MongoDB databases in cloud environments 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 10/31 – www.polymtl.ca
  • 11. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Impact of Cloud Patterns on Applications Performance 1 An empirical Study of the impact of cloud patterns on Quality of Service (QoS) (Hecht et al.) • Studied the impact of three cloud patterns on QoS • Reported that the implementation of the Local Database Proxy pattern can significantly impact the QoS 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 11/31 – www.polymtl.ca
  • 12. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Objects and Design 1 RESTful multi-threaded application • Use Sakila sample database (provided by MySQL) • Adapt the schema of Sakila sample database to PostgreSQL and MongoDB databases 2 DVD Store application • Open source simulation of an e-commerce web site • We refactor the code of DVD Store to allow it to connect to a MongoDB database 3 JPetStore application • Open source simulation of an e-commerce web application • We refactor the code of JPetStore to allow it to connect to a PostgreSQL and MongoDB databases 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 12/31 – www.polymtl.ca
  • 13. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Objects and Design Power-API Tool • Provides power information (in watts converted to joules to measure the energy) per PID for each system component (CPU, memory, etc.) • Uses sensors and analytical models for its energy estimation • Allows to estimate the amount of power required by the CPU to execute a process (at the corresponding PID) 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 13/31 – www.polymtl.ca
  • 14. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Research Variables 1 Independent Variables • Databases: MySQL, PostgreSQL, MongoDB • Cloud Patterns: Local Database Proxy, Local Sharding-Based Router, Priority Message Queue 2 Dependent Variables • Response Time: Corresponding to Select and Insert requests (milliseconds) • Energy Consumption: Using Power-API profiler (Joules) 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 14/31 – www.polymtl.ca
  • 15. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Data Extraction Process Energy Consumption Data Extraction Process 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 15/31 – www.polymtl.ca
  • 16. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Analysis Method • Mann-Whitney U test • A non-parametric statistical test whose relevance is reflected in the assessment of two independent distributions • The null hypothesis is rejected (there is a significant difference between the the two distributions) when its p-value < 0.05 • Cliff’s δ effect size • Represents the degree of interlock between two sample distributions • Its value ranges from -1 to +1: negligeable (δ < 0.147), small (0.147< δ <0.33), medium (0.33< δ <0.474) and large (δ > 0.474) 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 16/31 – www.polymtl.ca
  • 17. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion RQ1: Does the choice of MySQL, PostgreSQL, and MongoDB databases affect the energy consumption of cloud applications (when no cloud patterns are implemented)? 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 17/31 – www.polymtl.ca
  • 18. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Without Applying Cloud Patterns Energy Consumption p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P0 262.5 568.2 0.01 medium 262.5 354.7 0.24 small 568.2 354.7 0.09 small Response Time p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P0 36018.6 28615.7 0.09 small 36018.6 4253.8 < 10e−6 large 28615.7 4253.8 < 10e−6 large 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 18/31 – www.polymtl.ca
  • 19. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion RQ2: Does the implementation of Local Database Proxy, Local Sharding Based Router, and Priority Message Queue patterns affect the energy consumption of cloud applications using MySQL, PostgreSQL, and MongoDB Databases? 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 19/31 – www.polymtl.ca
  • 20. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Local Database Proxy Pattern Energy Consumption p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P1 490.2 1391.1 < 10e−6 large 490.2 890.0 < 10e−6 large 1391.1 890.0 0.09 small P2 495.2 1529.9 < 10e−6 large 495.2 915.9 < 10e−6 large 1529.9 915.9 0.04 medium P3 495.0 1476.5 < 10e−6 large 495.0 904.5 < 10e−6 large 1476.5 904.5 0.04 medium Response Time p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P1 30430.0 27867.8 0.23 small 30430.0 3639.8 < 10e−6 large 27867.8 3639.8 < 10e−6 large P2 29504.1 27036.5 0.23 small 29504.1 3214.2 < 10e−6 large 27036.5 3214.2 < 10e−6 large P3 29825.2 26129.6 0.23 small 29825.2 3275.0 < 10e−6 large 26129.6 3275.0 < 10e−6 large 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 20/31 – www.polymtl.ca
  • 21. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Local Sharding-Based Router Energy Consumption p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P4 1331.9 6330.2 < 10e−6 large 1331.9 5826.4 < 10e−6 large 6330.2 5826.4 0.23 small P5 611.6 4245.1 < 10e−6 large 611.6 3821.8 < 10e−6 large 4245.1 3821.8 0.23 small P6 824.1 4929.4 < 10e−6 large 824.1 4194.4 < 10e−6 large 4929.4 4194.4 0.23 small Response Time p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P4 170693.1 138026.6 0.09 small 170693.1 26259.5 < 10e−6 large 138026.6 26259.5 < 10e−6 large P5 165250.7 145382.6 0.09 small 165250.7 27897.8 < 10e−6 large 145382.6 27897.8 < 10e−6 large P6 168786.5 130585.0 0.09 small 168786.5 24680.3 < 10e−6 large 130585.0 24680.3 < 10e−6 large 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 21/31 – www.polymtl.ca
  • 22. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion RQ3: Do the interactions between Local Database Proxy, Local Sharding Based Router, and Priority Message Queue patterns affect the energy consumption of cloud applications using MySQL, PostgreSQL, and MongoDB databases? 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 22/31 – www.polymtl.ca
  • 23. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Combination Proxy Pattern and Message Queue Pattern Energy Consumption p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P1+P7 442.7 1379.8 < 10e−6 large 442.7 814.3 < 10e−6 large 1379.8 814.3 0.03 medium P2+P7 468.8 1482.5 < 10e−6 large 468.8 891.9 < 10e−6 large 1482.5 891.9 0.03 medium P3+P7 490.2 1391.1 < 10e−6 large 490.2 890.0 < 10e−6 large 1391.1 890.0 0.09 small Response Time p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P1+P7 27826.2 22299.8 0.48 negligible 27826.2 3747.1 < 10e−6 large 22299.8 3747.1 < 10e−6 large P2+P7 26703.4 25706.8 0.48 negligible 26703.4 3127.5 < 10e−6 large 25706.8 3127.5 < 10e−6 large P3+P7 29339.7 23153.6 0.23 small 29339.7 4210.2 < 10e−6 large 23153.6 4210.2 < 10e−6 large 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 23/31 – www.polymtl.ca
  • 24. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Combination Sharding and Message Queue Patterns Energy Consumption p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P4+P7 1255.5 5777.4 < 10e−6 large 1255.5 5622.9 < 10e−6 large 5777.4 5622.9 0.82 negligible P5+P7 492.2 3884.5 < 10e−6 large 492.2 3386.6 < 10e−6 large 3884.5 3386.6 0.23 small P6+P7 775.9 4526.8 < 10e−6 large 775.9 4127.4 < 10e−6 large 4526.8 4127.4 0.23 small Response Time p-value and Cliff’s δ Pattern MySQL PostgreSQL p-value Cliff’s δ MySQL MongoDB p-value Cliff’s δ PostgreSQL MongoDB p-value Cliff’s δ P4+P7 37584.7 29287.7 0.23 small 37584.7 2716.3 < 10e−6 large 29287.7 2716.3 < 10e−6 large P5+P7 38153.7 26445.6 0.09 small 38153.7 2869.7 < 10e−6 large 26445.6 2869.7 < 10e−6 large P6+P7 34183.0 27507.3 0.23 small 34183.0 20609.3 0.03 medium 27507.3 20609.3 0.09 small 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 24/31 – www.polymtl.ca
  • 25. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Important Results • MySQL database is the least energy consuming but is the slowest among the three databases • PostgreSQL database is the most energy consuming among the three databases, but is faster than MySQL but slower than MongoDB • MongoDB database consumes more energy than MySQL but less than PostgreSQL and is the fastest among the three databases 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 25/31 – www.polymtl.ca
  • 26. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Discussions • PostgreSQL database generates multiple parallel processes to run the requests sent by the RESTful cloud-based application • MySQL and MongoDB generate only one process at a time to handle requests sent by the cloud-based application 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 26/31 – www.polymtl.ca
  • 27. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Discussions • MySQL and PostgreSQL follow the ACID model • MongoDB database follow the BASE model ⇒ MongoDB is faster than the other two relational databases ⇒ requests processed by relational databases must be executed one by one and cannot be executed in a Simultaneous way 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 27/31 – www.polymtl.ca
  • 28. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Summary • We carried on a series of experiments on different versions of three cloud applications • We contrasted the performance of various combinations of databases and cloud patterns in terms of energy consumption and response time of the cloud-based applications • Databases can reduce the energy consumption of cloud-based applications • Cloud patterns do not impact the behavior of the databases 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 28/31 – www.polymtl.ca
  • 29. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Limitations of the proposed approach • Energy measurements are subject to perturbations depending of hardware and network • More studies should be conducted with possibly more accurate tools to verify our findings • Our findings may still be specific to our studied applications, which were designed specifically for the experiments 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 29/31 – www.polymtl.ca
  • 30. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion Future work • Expand our study to different NoSQL databases • Examine how a match/mismatch between the selected database and the workload characteristic affects energy efficiency 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 30/31 – www.polymtl.ca
  • 31. POLYTECHNIQUE MONTR´EAL Introduction Literature Review Methodology Results Conclusion • We carried on a series of experiments on different versions of three cloud applications • We contrasted the performance of various combinations of databases and cloud patterns in terms of energy consumption and response time of the cloud-based applications • Databases can reduce the energy consumption of cloud-based applications • Cloud patterns do not impact the behavior of the databases 14th ICSOC 2016 – Naouel Moha, B´echir Bani, Foutse Khomh and Yann-Ga¨el Gu´eh´eneuc 31/31 – www.polymtl.ca