An energy consumption analyses of several Django projects with different levels of optimization
We measure the energy consumption of a django web application. by running a script who will visit the webpages and record the energy consumption of the rending fuctions - this includes :
- get the data from the database
- compute the data
- render the data in the django webpage
Remarque the pypy couldn't launch the postgress implementation because it is note compatible with the module psycopg2-binary
-
To start the application with sqlite
docker-compose up -d sqlite
-
To start the application with postgres
docker-compose up -d postgres
- Add crud operation
- Setup a gatling to simulate stress requests
- Assiciate employees to events
- Find the function respinsible of invoking the threads to handle each request