Energy Measurements

How does the T2-Project with a microservices architecture compare to the monolithic implementation T2-Modulith in terms of energy consumption?

To answer this question we use different methodologies and tools to measure the energy consumption of both variants under various scenarios.

The files used for executing the measurements are located in the energy-tests folder of the DevOps repository.

The following figure visualizes the basic procedure:

Overview of the basic procedure of how the energy measurement was executed: Workload generator uses an usage scenario to execute API requests to the system under test and a software-based logger records the energy consumption.

Apache JMeter is used as the load workload generator. It executes a predefined test plan that consists of multiple HTTP requests to the backend. See page JMeter for more information.

There are currently two measurement setups prepared:

The Green Metrics Tool is used for measure the energy consumption with different usage case scenarios, however without scaling behaviors.
Kepler is used for measurements in scenarios with scaling involved.

The results are discussed on the page Measurement Results.