the green lab - [01-b] case study presentation
TRANSCRIPT
Vrije Universiteit Amsterdam
Efficient Database queries:
-25%
Efficient multi-threading:
-8%
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
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
Vrije Universiteit Amsterdam
Efficient Database queries:
-25%
Efficient multi-threading:
-8%
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
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
Vrije Universiteit Amsterdam
Efficient Database queries:
-25%
Efficient multi-threading:
-8%
Efficient ORM strategies:
-60%
Vrije Universiteit Amsterdam
●
Vrije Universiteit Amsterdam
●
Vrije Universiteit Amsterdam
●
Vrije Universiteit Amsterdam
Vrije Universiteit Amsterdam
●○
●○○○ …
Vrije Universiteit Amsterdam
● LAMP stack (Linux, Apache, MySQL, PHP)
● Databases
● Virtual Machines
Case presentation by Wouter Diesveld on Thursday 15th
Vrije Universiteit Amsterdam
Efficient Database queries:
-25%
Efficient multi-threading:
-8%
Efficient Web pages:
-46%
Efficient ORM strategies:
-60%
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
Vrije Universiteit Amsterdam
Vrije Universiteit Amsterdam
28% Power savings
Vrije Universiteit Amsterdam
46% Energy savings
Vrije Universiteit Amsterdam
46% Energy savings
Vrije Universiteit Amsterdam
●○
●○○
Vrije Universiteit Amsterdam
● Wordpress, PHP
● Load Testing of Web Apps
● Virtual Machines
Case presentation by Patrick de Ridder on Thursday 15th
Vrije Universiteit Amsterdam
Progressive web apps in Android
Vrije Universiteit Amsterdam
Software built with web technologies that is accessible via a mobile browser
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)● …
Vrije Universiteit Amsterdamhttps://developer.mozilla.org/en-US/Apps/Progressive
Vrije Universiteit Amsterdamhttps://developers.google.com/web/showcase/
Vrije Universiteit Amsterdam
PWAs have been advertised as:
● performance boosters● network savers● providers of better UX● ….
What about their impact on energy consumption?
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...
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
Vrije Universiteit Amsterdam
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)!
Vrije Universiteit Amsterdam