![Page 1: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/1.jpg)
![Page 2: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/2.jpg)
Vrije Universiteit Amsterdam
Efficient Database queries:
-25%
Efficient multi-threading:
-8%
![Page 3: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/3.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/4.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/5.jpg)
Vrije Universiteit Amsterdam
Efficient Database queries:
-25%
Efficient multi-threading:
-8%
![Page 6: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/6.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/7.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/8.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/9.jpg)
Vrije Universiteit Amsterdam
●
![Page 10: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/10.jpg)
Vrije Universiteit Amsterdam
●
![Page 11: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/11.jpg)
Vrije Universiteit Amsterdam
●
![Page 12: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/12.jpg)
Vrije Universiteit Amsterdam
![Page 13: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/13.jpg)
Vrije Universiteit Amsterdam
●○
●○○○ …
![Page 14: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/14.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/15.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/16.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/17.jpg)
Vrije Universiteit Amsterdam
![Page 18: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/18.jpg)
Vrije Universiteit Amsterdam
28% Power savings
![Page 19: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/19.jpg)
Vrije Universiteit Amsterdam
46% Energy savings
![Page 20: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/20.jpg)
Vrije Universiteit Amsterdam
46% Energy savings
![Page 21: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/21.jpg)
Vrije Universiteit Amsterdam
●○
●○○
![Page 22: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/22.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/23.jpg)
Vrije Universiteit Amsterdam
Progressive web apps in Android
![Page 24: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/24.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/25.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/26.jpg)
Vrije Universiteit Amsterdamhttps://developer.mozilla.org/en-US/Apps/Progressive
![Page 27: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/27.jpg)
Vrije Universiteit Amsterdamhttps://developers.google.com/web/showcase/
![Page 28: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/28.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/29.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/30.jpg)
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](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/31.jpg)
Vrije Universiteit Amsterdam
![Page 32: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/32.jpg)
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)!
![Page 33: The Green Lab - [01-B] Case study presentation](https://reader031.vdocuments.us/reader031/viewer/2022030211/58a27fd51a28ab891a8b586b/html5/thumbnails/33.jpg)
Vrije Universiteit Amsterdam