Term
4. term
Education
Publication year
2022
Submitted on
2022-06-09
Pages
64 pages
Abstract
We explore the energy consumption of architectures of software applications. We investigate two architectures, namely the microservice and monolithic architecture. We implement the well described test-application, Pet Store in the languages C# and Java, following each architecture. We utilize JMeter, Docker and a wrapper implementation of Running Average Power Limit (RAPL) by Intel, to setup a test suite where controlled tests are run. Docker Compose and NGINX are used for scaling microservice testing. We setup a set of shell scripts to automatically conduct the tests. We use a test protocol and a minimal install of an operating system, for a consistent test setup. We find that the energy consumption per transaction in a non-scaling environment for C# is 43,79% to 38,80% higher in the microservice architecture compared to the monolithic architecture depending on the use of individual databases for each service. For Java it is 0,86% to 40,30% higher.
Keywords
Energi ; Programmering ; Arkitektur ; Strøm ; Software
Documents
Colophon: This page is part of the AAU Student Projects portal, which is run by Aalborg University. Here, you can find and download publicly available bachelor's theses and master's projects from across the university dating from 2008 onwards. Student projects from before 2008 are available in printed form at Aalborg University Library.
If you have any questions about AAU Student Projects or the research registration, dissemination and analysis at Aalborg University, please feel free to contact the VBN team. You can also find more information in the AAU Student Projects FAQs.