Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

The Green Lab - [01-B] Case study presentation

1,552 views

Published on

This presentation is about a lecture I gave within the "Green Lab" course of the Computer Science master, Software Engineering and Green IT track of the Vrije Universiteit Amsterdam: http://masters.vu.nl/en/programmes/computer-science-software-engineering-green-it/index.aspx
http://www.procaccianti.me

Published in: Education
  • Be the first to comment

  • Be the first to like this

The Green Lab - [01-B] Case study presentation

  1. 1. Vrije Universiteit Amsterdam Efficient Database queries: -25% Efficient multi-threading: -8%
  2. 2. 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
  3. 3. 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
  4. 4. Vrije Universiteit Amsterdam Efficient Database queries: -25% Efficient multi-threading: -8%
  5. 5. 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
  6. 6. 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
  7. 7. Vrije Universiteit Amsterdam Efficient Database queries: -25% Efficient multi-threading: -8% Efficient ORM strategies: -60%
  8. 8. Vrije Universiteit Amsterdam ●
  9. 9. Vrije Universiteit Amsterdam ●
  10. 10. Vrije Universiteit Amsterdam ●
  11. 11. Vrije Universiteit Amsterdam
  12. 12. Vrije Universiteit Amsterdam ● ○ ● ○ ○ ○ …
  13. 13. Vrije Universiteit Amsterdam ● LAMP stack (Linux, Apache, MySQL, PHP) ● Databases ● Virtual Machines Case presentation by Wouter Diesveld on Thursday 15th
  14. 14. Vrije Universiteit Amsterdam Efficient Database queries: -25% Efficient multi-threading: -8% Efficient Web pages: -46% Efficient ORM strategies: -60%
  15. 15. 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
  16. 16. Vrije Universiteit Amsterdam
  17. 17. Vrije Universiteit Amsterdam 28% Power savings
  18. 18. Vrije Universiteit Amsterdam 46% Energy savings
  19. 19. Vrije Universiteit Amsterdam 46% Energy savings
  20. 20. Vrije Universiteit Amsterdam ● ○ ● ○ ○
  21. 21. Vrije Universiteit Amsterdam ● Wordpress, PHP ● Load Testing of Web Apps ● Virtual Machines Case presentation by Patrick de Ridder on Thursday 15th
  22. 22. Vrije Universiteit Amsterdam Progressive web apps in Android
  23. 23. Vrije Universiteit Amsterdam Software built with web technologies that is accessible via a mobile browser
  24. 24. 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) ● …
  25. 25. Vrije Universiteit Amsterdam https://developer.mozilla.org/en-US/Apps/Progressive
  26. 26. Vrije Universiteit Amsterdam https://developers.google.com/web/showcase/
  27. 27. Vrije Universiteit Amsterdam PWAs have been advertised as: ● performance boosters ● network savers ● providers of better UX ● …. What about their impact on energy consumption?
  28. 28. 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...
  29. 29. 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
  30. 30. Vrije Universiteit Amsterdam
  31. 31. 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)!
  32. 32. Vrije Universiteit Amsterdam g.procaccianti@vu.nl i.malavolta@vu.nl

×