the green lab - [01-b] case study presentation

33

Upload: giuseppe-procaccianti

Post on 14-Feb-2017

494 views

Category:

Education


3 download

TRANSCRIPT

Page 1: The Green Lab - [01-B] Case study presentation
Page 2: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Database queries:

-25%

Efficient multi-threading:

-8%

Page 3: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Database Queries

[1] Procaccianti G., Fernandez H., Lago P. "Empirical Evaluation of Two Best-Practices for Energy-Efficient Software Development". Accepted for publication in Journal of System and Software, 2016. Pre-print available on: http://dare.ubvu.vu.nl/handle/1871/54184

Page 4: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Database Queries

25% Energy savings

[1] Procaccianti G., Fernandez H., Lago P. "Empirical Evaluation of Two Best-Practices for Energy-Efficient Software Development". Accepted for publication in Journal of System and Software, 2016. Pre-print available on: http://dare.ubvu.vu.nl/handle/1871/54184

3% Power savings

Page 5: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Database queries:

-25%

Efficient multi-threading:

-8%

Page 6: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Multithreading

[1] Procaccianti G., Fernandez H., Lago P. "Empirical Evaluation of Two Best-Practices for Energy-Efficient Software Development". Accepted for publication in Journal of System and Software, 2016. Pre-print available on: http://dare.ubvu.vu.nl/handle/1871/54184

Page 7: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Multithreading

8.2% Power savings 8.4% Energy savings

[1] Procaccianti G., Fernandez H., Lago P. "Empirical Evaluation of Two Best-Practices for Energy-Efficient Software Development". Accepted for publication in Journal of System and Software, 2016. Pre-print available on: http://dare.ubvu.vu.nl/handle/1871/54184

Page 8: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Database queries:

-25%

Efficient multi-threading:

-8%

Efficient ORM strategies:

-60%

Page 9: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Page 10: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Page 11: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Page 12: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Page 13: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

●○

●○○○ …

Page 14: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

● LAMP stack (Linux, Apache, MySQL, PHP)

● Databases

● Virtual Machines

Case presentation by Wouter Diesveld on Thursday 15th

Page 15: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Efficient Database queries:

-25%

Efficient multi-threading:

-8%

Efficient Web pages:

-46%

Efficient ORM strategies:

-60%

Page 16: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

● Evaluate energy impact of Content Management Systems○ E.g. Wordpress vs. Static web pages

● Experiment: compare 2 different VMs○ different software stack○ Same content

Page 17: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Page 18: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

28% Power savings

Page 19: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

46% Energy savings

Page 20: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

46% Energy savings

Page 21: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

●○

●○○

Page 22: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

● Wordpress, PHP

● Load Testing of Web Apps

● Virtual Machines

Case presentation by Patrick de Ridder on Thursday 15th

Page 23: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Progressive web apps in Android

Page 24: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Software built with web technologies that is accessible via a mobile browser

Page 25: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Traditional mobile web apps:

● do not work offline● no background activities

○ e.g., geofencing

● poor access to system APIs○ push notifications, camera, contacts, etc.

● poor distribution (no app store)● …

Page 26: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdamhttps://developer.mozilla.org/en-US/Apps/Progressive

Page 27: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdamhttps://developers.google.com/web/showcase/

Page 28: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

PWAs have been advertised as:

● performance boosters● network savers● providers of better UX● ….

What about their impact on energy consumption?

Page 29: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

● Different levels of “PWA-ility”

● Network conditions

● Browser types/versions (it can be even a desktop browser)

● Caching strategies

● Page load time

● CPU usage

● Memory consumption

● Number of network requests

● Energy consumption

+ any other aspects you want to measure...

Page 30: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

● HTML5, CSS3, and JavaScript

● Ajax-based communication for the web

● Android development environment

● Shell scripting

Introductory material available here: https://developers.google.com/web/fundamentals

Page 31: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Page 32: The Green Lab - [01-B] Case study presentation

Vrije Universiteit Amsterdam

Procedure:

● Self-enroll on BlackBoard

● Fill this form: https://goo.gl/forms/b2nBcTpbS2ZOajOI2

Teams have to be finalized before next Thursday (Sept 8th)!