A Comparative Study on the Energy Consumption of Four Prominent Node.js Frameworks
Modern world is moving in a tangent such that virtual presence is equally or more important than physical presence. Web development has become so widely spread that anyone looking to have a career in the ICT sector must have good knowledge about it. But the environmental aspects of web development have always been neglected. Studies show that around two percent of total carbon emissions each year come from ICT sectors. In this research, 4 different frameworks of the popular backendbuilding language NodeJS namely ExpressJS, Fastify, NestJS, and Connect have been studied in terms of energy consumption. The experiments are set up in such a way that all the components like database, API services, API tester, etc are present and similar in every framework. Collected data were analyzed by descriptive analysis as well as inferential analysis and found that in terms of energy consumption, services of similar nature take similar energy irrespective of the framework being used. In addition, energy data was converted to GHG emissions with the help of standard conversion factor of 2022 to observe the environmental effects of each framework.