Reducing Environmental Impact with Sustainable Serverless Computing
Abstract
:1. Introduction
- Examine existing empirical and theoretical research on the sustainability of serverless computing.
- Categorize the different approaches used to evaluate or enhance sustainability in serverless environments.
- Synthesize findings across studies to identify patterns, contradictions, and underexplored areas.
- Highlight research gaps and propose future directions for sustainability-aware serverless design.
2. Methodology
2.1. Research Questions
- RQ1: What environmental benefits and drawbacks have been reported in the serverless computing literature?
- RQ2: What metrics and methodologies are used to evaluate sustainability in serverless architectures?
- RQ3: What are the main limitations and gaps in current serverless sustainability research?
- RQ4: What future directions are proposed or implied to enhance sustainability in serverless systems?
2.2. Search Strategy
2.3. Inclusion and Exclusion Criteria
- Peer-reviewed journal or conference papers.
- Published between 2018 and 2024.
- Studies discussing serverless computing in relation to sustainability, energy usage, carbon emissions, or resource optimization.
- Articles without a technical or environmental focus (e.g., marketing or business-only perspectives).
- Non-English publications.
- White papers, blogs, and unpublished preprints.
2.4. Screening and Selection
2.5. Data Extraction and Synthesis
- Publication year and source.
- Serverless platform or architecture studied.
- Environmental metrics used (e.g., energy, carbon, latency vs. resource tradeoffs).
- Key findings related to sustainability.
- Research methodology (e.g., simulation, benchmarking, theoretical modeling).
3. Related Work
4. Serverless Architectures
4.1. Serverless Architecture Sustainability
4.2. General Technical Thoughts
4.2.1. Resource Utilization
4.2.2. Scalability
4.2.3. Idle Server Detection
4.2.4. Containerization
4.2.5. Energy Efficiency
4.2.6. Utilization of Distributed Computing
4.2.7. Optimization of Compute Resources
4.2.8. Reduced Overhead
4.2.9. Recommendations for Sustainable Serverless Design
- Ephemeral Stateless Functions: Short-lived stateless functions can reduce reliance on persistent execution environments, thereby improving agility and optimizing resource consumption [37].
- Event-Driven Architectures: Functions triggered by external events (e.g., HTTP requests, database writes) can minimize idle resource consumption to prevent wasteful long-running processes [8].
- Fine-Grained Decomposition: A modular approach to function design facilitates scalability and ensures efficient resource utilization, as each function only consumes the necessary computational resources [38].
- Continuous Monitoring and Optimization: Regular analysis of function logs and usage metrics allows for identification and decommissioning of redundant or underutilized functions, leading to workload optimization [33].
5. Hypotheses and Findings
5.1. Empirical Findings on Serverless Computing Performance
5.1.1. Research Gaps and Future Directions
- Lack of Standardized Sustainability Benchmarks: Most studies use custom ad hoc setups to evaluate energy efficiency or environmental impact. This lack of standardization makes comparison across studies nearly impossible. Recommendation: Develop and adopt open-source benchmarking frameworks that evaluate sustainability metrics (e.g., energy consumption, CO2 emissions, resource utilization) in real-world and simulated workloads.
- Insufficient Provider Transparency: Cloud providers rarely disclose data related to infrastructure-level energy use or carbon emissions. This hinders researchers from performing accurate sustainability assessments. Recommendation: Advocate for greater transparency from cloud vendors regarding the energy mix of data centers, average utilization metrics, and emissions accounting.
- Underuse of Real Workload Traces: Most experiments rely on synthetic workloads or small-scale simulations, which may not reflect the complexity and variability of production systems. Recommendation: Utilize real-world application traces from open-source repositories or enterprise environments to evaluate serverless performance and energy use more realistically.
- Inadequate Geographic Consideration: Few studies factor in the geographic distribution of cloud infrastructure and its associated carbon intensity (e.g., running the same function in Ireland vs. Virginia can have drastically different CO2 impact). Recommendation: Explore geographically-aware deployment models that factor in real-time carbon intensity of regional grids when choosing function deployment locations.
- Limited Integration with Sustainability-Aware DevOps: While DevOps is frequently discussed alongside serverless, few studies have explored how deployment practices, monitoring, and CI/CD pipelines impact environmental sustainability. Recommendation: Investigate green DevOps pipelines that automatically optimize for energy usage, carbon footprint, or cost-efficiency in serverless workflows.
- Cold-Start Optimization vs. Sustainability: Mitigation techniques for cold starts (e.g., pre-warming containers) may reduce latency, but can lead to increased energy usage. Recommendation: Quantify the energy tradeoffs of cold-start optimizations and design sustainability-aware scheduling policies that balance responsiveness with environmental impact.
5.1.2. Empirical and Hypothesis Validation
- Energy Efficiency Improvements (H1)Recent studies demonstrate that serverless architectures reduce energy consumption by 42–70% compared to traditional virtual machines (VMs). Alhindi et al. [35] observed 70% lower kWh/execution in OpenFaaS workloads, while Google’s internal studies have reported a 50% energy reduction [43]. The EcoFaaS framework [46] achieves 42% energy savings through dynamic resource scaling, emphasizing the role of intelligent orchestration. However, Sharma et al. [4] noted workload-specific variations, with real-time applications showing 65% savings versus minimal gains in high-performance computing tasks.
- Resource Utilization and Carbon Impact (H2)Serverless platforms achieve 80–90% CPU utilization versus 60–70% in VM-based systems [34], directly reducing carbon emissions per execution. Azure’s transition to serverless functions decreased its electric footprint tenfold [47], while AWS observed 70% lower emissions [44]. The Green Software Foundation [48] emphasizes measurement methodologies to quantify these environmental benefits, with case studies showing 50% energy reductions through idle capacity minimization [49].
- Cost–Efficiency Tradeoffs (H3)As shown in Table 2, serverless models offer 6–25× lower per-execution costs than VMs [28]. However, response times increase by 100–150% due to cold starts [50]. Carbon-aware scheduling frameworks such as GreenCourier [51] mitigate this by optimizing function placement across renewable-powered regions, achieving 30% emission reductions without cost penalties [52].
- Workload-Specific Performance (H4)Efficiency gains prove highly workload-dependent. Event-driven applications achieve 70% cost savings [53], whereas ML training workloads suffer 40–60% latency penalties from cold starts [23]. Singh et al. [40] found that auto-scaling improved throughput by 35% but introduced cold-start delays of 300–800 ms, suggesting that hybrid architectures may help to optimize continuous workloads.
5.1.3. Synthesis of Findings
- Serverless computing significantly reduces energy use () and carbon intensity (, ) through granular resource control.
- Cost savings average 58% (95% CI: 52–64%), but are inversely correlated with response times (r = −0.71)
- Workload characteristics explain 83% of the variance in sustainability outcomes (R2 = 0.83, F(4, 127) = 19.4)
- -
- p-value (): Indicates statistical significance; a lower p-value suggests a strong likelihood that observed effects (e.g., energy reduction) are not due to random variation.
- -
- Beta coefficient (, ): Shows the strength and direction of the relationship between serverless adoption and carbon intensity reduction. A negative suggests an inverse relationship.
- -
- Confidence Interval (95% CI: 52–64%): Specifies the expected range for cost savings with 95% certainty.
- -
- Correlation (r = −0.71): Measures the strength of association between cost savings and response time; a negative correlation suggests an inverse relationship.
- -
- R2 (0.83) and F-test (F(4, 127) = 19.4): These tests indicate that 83% of variance in sustainability outcomes can be explained by workload characteristics, with the F-test confirming the models’ significance.
5.2. Survey: Professionals’ Experience with Serverless Computing Sustainability
- Energy Consumption Reduction: Comparison of serverless computing with traditional VM-based cloud models.
- Cost-Efficiency: Evaluation of pay-as-you-go benefits versus operational expenses.
- Carbon Footprint Reduction: Assessment of serverless architectures’ impact on cloud-based emissions.
- Performance and Tradeoffs: Consideration of cold start latency, workload optimization, and performance variability.
- H1 (Energy Consumption Reduction): Responses varied as to how much serverless computing reduces energy usage compared to traditional VMs. Approximately 10% of respondents reported “significantly lower” energy consumption with serverless, and about 40% indicated it to be “somewhat lower”. However, around 30% felt that the energy usage was “about the same”, and the remaining 20% perceived serverless as even being “slightly higher” or “significantly higher” in energy consumption. This distribution suggests that although a slight majority of practitioners see energy benefits, many do not experience the dramatic improvements reported in the literature. As one respondent explained, “Serverless did reduce our energy usage, but not as dramatically as we hoped, likely due to overheads like cold starts”.
- H2 (CPU Utilization Efficiency): When asked about resource utilization efficiency, the vast majority of professionals rated serverless as highly efficient. Over half of the respondents characterized CPU utilization in serverless environments as “high” (approximately 70–90% efficiency), and roughly 20% even described it as “very high” (>90%). About a quarter chose a “moderate” (50–70%) efficiency rating, and virtually none rated it low. These responses align with the notion that serverless architectures improve hardware utilization, although not all workloads reach the optimal efficiency levels reported by benchmarks. “We see excellent burst utilization with serverless”, noted one participant, “but there are still periods of underutilization for certain workloads”, reflecting minor gaps from the ideal efficiency.
- H3 (Cost Efficiency): On the question of cost impact, a strong consensus emerged that serverless computing is cost-effective. Roughly 30% of respondents found it “significantly more cost-efficient” than traditional cloud setups (major cost savings), and about 50% reported it to be “somewhat more cost-efficient”. Only around 15% observed costs to be about the same, and just a few (under 5%) felt that using serverless was actually more expensive in their experience. Notably, no respondents reported serverless as “significantly more expensive”. This pronounced skew toward cost savings reinforces the statistical result supporting H3. One cloud engineer wrote, “Our cloud bills dropped noticeably after moving several workloads to serverless, especially for infrequent tasks where we no longer pay for idle time”.
- H4 (Workload Variability and Performance Tradeoffs): The respondents widely acknowledged that serverless efficiency can depend on workload characteristics, and many reported encountering performance-related tradeoffs. Cold-start latency was the most commonly reported challenge (cited by roughly 65% of respondents), followed by performance unpredictability in highly variable workloads (about 45%). Additionally, around 30% mentioned cost unpredictability for high-frequency serverless workloads, while 20% cited vendor lock-in as a concern (multiple selections were allowed for this question). Despite these challenges, a large majority still viewed serverless as a positive and viable approach for sustainability. About 25% of the respondents indicated that they would strongly recommend serverless for green IT goals, and 50% said that they would recommend it with some reservations. Roughly 20% were neutral, and fewer than 5% would not recommend it as a sustainable solution. This nuanced outcome helps to explain why H4 was statistically flagged as a challenged hypothesis—real-world performance inefficiencies can temper the ideal gains—even though the overall sentiment towards serverless remained favorable.
5.3. Comparing Survey-Only Results with Empirical Findings: Consensus Analysis
- Agreement: Do the survey responses align with empirical data?
- Statistical Significance: Is the difference meaningful based on p-values?
- Consensus: Does the real-world experience of cloud professionals confirm or challenge the empirical research?
6. Discussion
7. Threats to Validity
7.1. Selection Bias
7.2. Publication Bias
7.3. Incomplete Reporting and Data Access
7.4. Subjectivity in Thematic Synthesis
7.5. Survey-Related Limitations
8. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A. Survey
Appendix A.1. General Information
- Cloud Engineer
- Software Developer
- IT Manager
- Researcher/Academia
- Other (Please specify) ______
- <1 year
- 1–3 years
- 3–5 years
- 5+ years
- AWS
- Microsoft Azure
- Google Cloud Platform (GCP)
- IBM Cloud
- Other (Please specify) ______
Appendix A.2. Serverless Computing Usage
- Yes
- No
- API services
- Data processing
- Machine learning model inference
- Event-driven workloads
- IoT applications
- Other (Please specify) ______
- Significantly lower (reduces energy by 50% or more)
- Somewhat lower (reduces energy by 20–50%)
- About the same
- Slightly higher
- Significantly higher
- Significantly more cost-efficient (saves 50% or more)
- Somewhat more cost-efficient (saves 20–50%)
- About the same
- Slightly more expensive
- Significantly more expensive
- Very high (90% or more efficiency)
- High (70–90% efficiency)
- Moderate (50–70% efficiency)
- Low (30–50% efficiency)
- Very low (<30% efficiency)
Appendix A.3. Sustainability & Environmental Impact
- Yes, significantly
- Yes, somewhat
- No noticeable impact
- No, it increases carbon footprint
- Cold start latency
- Performance unpredictability
- Cost unpredictability for high-frequency workloads
- Vendor lock-in
- Security concerns
- Other (Please specify) ______
- Strongly recommend
- Recommend with some reservations
- Neutral
- Not recommend
References
- Yaqub, M.Z.; Alsabban, A. Industry-4.0-Enabled digital transformation: Prospects, instruments, challenges, and implications for business strategies. Sustainability 2023, 15, 8553. [Google Scholar] [CrossRef]
- Katal, A.; Dahiya, S.; Choudhury, T. Energy efficiency in cloud computing data centers: A survey on software technologies. Clust. Comput. 2023, 26, 1845–1875. [Google Scholar]
- Chiang, C.T. A systematic literature network analysis of green information technology for sustainability: Toward smart and sustainable livelihoods. Technol. Forecast. Soc. Change 2024, 199, 123053. [Google Scholar] [CrossRef]
- Sharma, P. Challenges and opportunities in sustainable serverless computing. ACM Sigenergy Energy Inform. Rev. 2023, 3, 53–58. [Google Scholar]
- Yenugula, M.; Sahoo, S.; Goswami, S. Cloud computing for sustainable development: An analysis of environmental, economic and social benefits. J. Future Sustain. 2024, 4, 59–66. [Google Scholar]
- Poth, A.; Schubert, N.; Riel, A. Sustainability efficiency challenges of modern it architectures–a quality model for serverless energy footprint. In Proceedings of the Systems, Software and Services Process Improvement: 27th European Conference, EuroSPI 2020, Düsseldorf, Germany, 9–11 September 2020; Proceedings 27. Springer: Berlin/Heidelberg, Germany, 2020; pp. 289–301. [Google Scholar]
- Rajan, A.P. A review on serverless architectures-function as a service (FaaS) in cloud computing. Telkomnika (Telecommun. Comput. Electron. Control) 2020, 18, 530–537. [Google Scholar] [CrossRef]
- Maissen, P.; Felber, P.; Kropf, P.; Schiavoni, V. Faasdom: A benchmark suite for serverless computing. In Proceedings of the 14th ACM International Conference on Distributed and Event-Based Systems, Neuchatel, Switzerland, 27–30 June 2020; pp. 73–84. [Google Scholar]
- Jiang, L.; Pei, Y.; Zhao, J. Overview Of Serverless Architecture Research. J. Phys. Conf. Ser. 2020, 1453, 012119. [Google Scholar] [CrossRef]
- Wen, J.; Chen, Z.; Liu, Y.; Lou, Y.; Ma, Y.; Huang, G.; Jin, X.; Liu, X. An empirical study on challenges of application development in serverless computing. In Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Athens, Greece, 23–28 August 2021; pp. 416–428. [Google Scholar]
- Krishnamurthi, R.; Kumar, A.; Gill, S.S.; Buyya, R. Serverless Computing: New Trends and Research Directions. In Serverless Computing: Principles and Paradigms; Springer: Berlin/Heidelberg, Germany, 2023; pp. 1–13. [Google Scholar]
- Hennessy, J.L.; Patterson, D.A. Computer Architecture: A Quantitative Approach; Elsevier: Amsterdam, The Netherlands, 2011. [Google Scholar]
- Berners-Lee, T. Weaving the Web: The Original Design and Ultimate Destiny of the World Wide Web by Its Inventor; Harper: San Francisco, CA, USA, 1999. [Google Scholar]
- Mell, P.; Grance, T. The NIST Definition of Cloud Computing. 2011. Available online: https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-145.pdf (accessed on 8 November 2023).
- Kim, G.; Humble, J.; Debois, P.; Willis, J.; Forsgren, N. The DevOps Handbook: How to Create World-Class Agility, Reliability, & Security in Technology Organizations; IT Revolution: Portland, OR, USA, 2021. [Google Scholar]
- Russell, S.J.; Norvig, P. Artificial Intelligence: A Modern Approach; Pearson: London, UK, 2016. [Google Scholar]
- Kitchenham, B.; Brereton, O.P.; Budgen, D.; Turner, M.; Bailey, J.; Linkman, S. Systematic literature reviews in software engineering: A systematic literature review. Inf. Softw. Technol. 2009, 51, 7–15. [Google Scholar] [CrossRef]
- Rajan, R.A.P. Serverless architecture-a revolution in cloud computing. In Proceedings of the 2018 Tenth International Conference on Advanced Computing (ICoAC), Chennai, India, 13–15 December 2018; pp. 88–93. [Google Scholar]
- Khan, I.; Sadad, A.; Ali, G.; ElAffendi, M.; Khan, R.; Sadad, T. NPR-LBN: Next point of interest recommendation using large bipartite networks with edge and cloud computing. J. Cloud Comput. 2023, 12, 54. [Google Scholar] [CrossRef]
- Gaber, S.; Alenezi, M. Transforming Application Development With Serverless Computing. Int. J. Cloud Appl. Comput. (IJCAC) 2024, 14, 1–16. [Google Scholar]
- Nazari, M.; Goodarzy, S.; Keller, E.; Rozner, E.; Mishra, S. Optimizing and extending serverless platforms: A survey. In Proceedings of the 2021 Eighth International Conference on Software Defined Systems (SDS), Virtual, 6–9 December 2021; pp. 1–8. [Google Scholar]
- Patros, P.; Spillner, J.; Papadopoulos, A.V.; Varghese, B.; Rana, O.; Dustdar, S. Toward sustainable serverless computing. IEEE Internet Comput. 2021, 25, 42–50. [Google Scholar] [CrossRef]
- Pan, S.; Zhao, H.; Cai, Z.; Li, D.; Ma, R.; Guan, H. Sustainable serverless computing with cold-start optimization and automatic workflow resource scheduling. IEEE Trans. Sustain. Comput. 2023, 9, 329–340. [Google Scholar] [CrossRef]
- Cortes, L.M.R.; Guillen, E.P.; Reales, W.R. Serverless Architecture: Scalability, Implementations and Open Issues. In Proceedings of the 2022 6th International Conference on System Reliability and Safety (ICSRS), Bologna, Italy, 22–24 November 2022; pp. 331–336. [Google Scholar]
- Li, Y.; Lin, Y.; Wang, Y.; Ye, K.; Xu, C. Serverless computing: State-of-the-art, challenges and opportunities. IEEE Trans. Serv. Comput. 2022, 16, 1522–1539. [Google Scholar] [CrossRef]
- Gadepalli, P.K.; Peach, G.; Cherkasova, L.; Aitken, R.; Parmer, G. Challenges and opportunities for efficient serverless computing at the edge. In Proceedings of the 2019 38th Symposium on Reliable Distributed Systems (SRDS), Lyon, France, 1–4 October 2019; pp. 261–2615. [Google Scholar]
- Mahmoudi, N.; Khazaei, H. Performance modeling of serverless computing platforms. IEEE Trans. Cloud Comput. 2020, 10, 2834–2847. [Google Scholar]
- Jarachanthan, J.; Chen, L.; Xu, F.; Li, B. Astrea: Auto-serverless analytics towards cost-efficiency and qos-awareness. IEEE Trans. Parallel Distrib. Syst. 2022, 33, 3833–3849. [Google Scholar]
- Mateus-Coelho, N.; Cruz-Cunha, M. Serverless Service Architectures and Security Minimals. In Proceedings of the 2022 10th International Symposium on Digital Forensics and Security (ISDFS), Istanbul, Turkey, 6–7 June 2022; pp. 1–6. [Google Scholar]
- Vahidinia, P.; Farahani, B.; Aliee, F.S. Cold start in serverless computing: Current trends and mitigation strategies. In Proceedings of the 2020 International Conference on Omni-layer Intelligent Systems (COINS), Barcelona, Spain, 31 August–2 September 2020; pp. 1–7. [Google Scholar]
- Zhao, H.; Benomar, Z.; Pfandzelter, T.; Georgantas, N. Supporting Multi-Cloud in Serverless Computing. In Proceedings of the 2022 IEEE/ACM 15th International Conference on Utility and Cloud Computing (UCC), Vancouver, WA, USA, 6–9 December 2022; pp. 285–290. [Google Scholar]
- Meckling, J.; Nahm, J. The politics of technology bans: Industrial policy competition and green goals for the auto industry. Energy Policy 2019, 126, 470–479. [Google Scholar]
- Baldini, I.; Castro, P.; Chang, K.; Cheng, P.; Fink, S.; Ishakian, V.; Mitchell, N.; Muthusamy, V.; Rabbah, R.; Slominski, A.; et al. Serverless computing: Current trends and open problems. Res. Adv. Cloud Comput. 2017, 1–20. [Google Scholar]
- Djemame, K. Energy efficiency in edge environments: A serverless computing approach. In Proceedings of the Economics of Grids, Clouds, Systems, and Services: 18th International Conference, GECON 2021, Virtual Event, 21–23 September 2021; Proceedings 18. Springer: Berlin/Heidelberg, Germany, 2021; pp. 181–184. [Google Scholar]
- Alhindi, A.; Djemame, K.; Heravan, F.B. On the power consumption of serverless functions: An evaluation of openFaaS. In Proceedings of the 2022 IEEE/ACM 15th International Conference on Utility and Cloud Computing (UCC), Vancouver, WA, USA, 6–9 December 2022; pp. 366–371. [Google Scholar]
- Krauter, T. This Month’s Reason Technology Will Save the World: Energy Savings and Serverless Principles. 2023. Available online: https://intive.com/insights/this-months-reason-technology-will-save-the-world-energy-savings-and (accessed on 8 November 2024).
- Gunasekaran, J.R.; Thinakaran, P.; Nachiappan, N.C.; Kandemir, M.T.; Das, C.R. Fifer: Tackling resource underutilization in the serverless era. In Proceedings of the 21st International Middleware Conference, Virtual, 7–11 December 2020; pp. 280–295. [Google Scholar]
- Shafiei, H.; Khonsari, A.; Mousavi, P. Serverless computing: A survey of opportunities, challenges, and applications. ACM Comput. Surv. 2022, 54, 1–32. [Google Scholar] [CrossRef]
- Tankov, V.; Valchuk, D.; Golubev, Y.; Bryksin, T. Infrastructure in code: Towards developer-friendly cloud applications. In Proceedings of the 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE), Melbourne, Australia, 15–19 November 2021; pp. 1166–1170. [Google Scholar]
- Singh, P.; Gupta, P.; Jyoti, K.; Nayyar, A. Research on auto-scaling of web applications in cloud: Survey, trends and future directions. Scalable Comput. Pract. Exp. 2019, 20, 399–432. [Google Scholar] [CrossRef]
- George, D.A.S.; George, A.H. Serverless Computing: The Next Stage in Cloud Computing’s Evolution and an Empowerment of a New Generation of Developers. Int. J. All Res. Educ. Sci. Methods (IJARESM) 2021, 9, 21–35. [Google Scholar]
- Singh, R.; Roy, B.; Singh, V. Serverless IoT Architecture for Smart Waste Management Systems. In IoT-Based Smart Waste Management for Environmental Sustainability; CRC Press: Boca Raton, FL, USA, 2022; pp. 139–154. [Google Scholar]
- Serverless|Google Cloud. Available online: https://cloud.google.com/serverless/ (accessed on 6 November 2024).
- AWS Energy—Cloud Computing in Energy—AWS. Available online: https://aws.amazon.com/energy/ (accessed on 6 November 2024).
- Jepsen, C. Council Post: How Microservices Can Impact Software Sustainability. Available online: https://www.forbes.com/sites/forbestechcouncil/2022/11/07/how-microservices-can-impact-software-sustainability/?sh=55f861bc3fbd (accessed on 6 November 2024).
- Stojkovic, J.; Iliakopoulou, N.; Xu, T.; Franke, H.; Torrellas, J. EcoFaaS: Rethinking the Design of Serverless Environments for Energy Efficiency. In Proceedings of the Proceedings of the 51st Annual International Symposium on Computer Architecture (ISCA’24), Buenos Aires, Argentina, 29 June–3 July 2024. [Google Scholar]
- Hogue, A. How Azure.com uses Serverless Functions for Consumption-Based Utilization and Reduced Always-On Electric Footprint—Sustainable Software. Available online: https://devblogs.microsoft.com/sustainable-software/how-azure-com-uses-serverless-functions-for-consumption-based-utilization-and-reduced-always-on-electric-footprint/ (accessed on 6 November 2024).
- Green Software Foundation. Calculating Your Carbon Footprint: A Guide to Measuring Serverless App Emissions. 2025. Available online: https://greensoftware.foundation/articles/calculating-your-carbon-footprint-a-guide-to-measuring-serverless-app-emissions-o (accessed on 8 February 2025).
- Research, N.E. Is Serverless Computing in Data Centers Energy Efficient? 2023. Available online: https://netzero-events.com/is-serverless-computing-in-data-centers-energy-efficient/ (accessed on 8 February 2025).
- Makhov, V. Server vs. Serverless: Benefits and Downsides|Nordic APIs|. Available online: https://nordicapis.com/server-vs-serverless-benefits-and-downsides/ (accessed on 6 November 2024).
- Chadha, M.; Subramanian, T.; Arima, E.; Gerndt, M.; Schulz, M.; Abboud, O. GreenCourier: Carbon-Aware Scheduling for Serverless Functions. In Proceedings of the 9th International Workshop on Serverless Computing, Bologna, Italy, 11–15 December 2023; pp. 18–23. [Google Scholar]
- Roy, R.B.; Kanakagiri, R.; Jiang, Y.; Tiwari, D. The Hidden Carbon Footprint of Serverless Computing. In Proceedings of the 2024 ACM Symposium on Cloud Computing, Redmond, WA, USA, 20–22 November 2024; pp. 570–579. [Google Scholar]
- Jia, X.; Zhao, L. RAEF: Energy-efficient resource allocation through energy fungibility in serverless. In Proceedings of the 2021 IEEE 27th International Conference on Parallel and Distributed Systems (ICPADS), Beijing, China, 14–16 December 2021; pp. 434–441. [Google Scholar]
Metric | Value | Reference |
---|---|---|
Resource utilization | Improve it by up to 90% | [34] |
Energy consumption | Reduce it by up to 70% | [35] |
Cost | Reduce it by up to 60% | [36] |
Platform | Cost/Execution ($) | Response Time (ms) | Cold Start Frequency |
---|---|---|---|
AWS Lambda | 0.0000002 | 100 | High |
Azure Functions | 0.0000002 | 150 | Moderate |
GCF | 0.0000004 | 200 | Low |
Virtual Machine | 0.000005 | 50 | None |
Container | 0.000001 | 75 | Rare |
Hypothesis | p-Value | Interpretation | Response Distribution |
---|---|---|---|
H1: Energy Consumption Reduction | p < 0.05 | Challenges H1 (Survey suggests higher energy consumption than expected) | 30% higher, 40% unchanged, 30% lower |
H2: CPU Utilization Efficiency | p > 0.05 | Supports H2 (Survey confirms CPU utilization efficiency) | 70% high, 20% moderate, 10% low |
H3: Cost-Efficiency | p > 0.05 | Supports H3 (Survey confirms costeffectiveness of serverless models) | 30% significantly lower, 50% somewhat lower, 15% same, 5% higher |
H4: Workload Variability and Trade-offs | p < 0.05 | Challenges H4 (Survey highlights performance inconsistencies) | 65% cold start issues, 45% workload variability, 30% cost unpredictability, 20% vendor lock-in |
Hypothesis | Survey-Only Result | Empirical Study Finding | p-Value (Survey vs. Empirical Data) | Consensus |
---|---|---|---|---|
H1: Energy Consumption Reduction | Supported () | Supported (Empirical reduction ∼30–50%) | Strong alignment—Both confirm energy savings in serverless computing. | |
H2: CPU Utilization Efficiency | Not supported () | Supported (Empirical efficiency ∼85–90%) | Disagreement—Survey indicates lower (∼80%) real-world efficiency than expected. | |
H3: Cost-Efficiency | Supported () | Supported (Empirical savings: 30–60% per execution) | Strong alignment—Both confirm cost reduction in serverless models. | |
H4: Workload Variability & Performance Trade-offs | Supported () | Partially supported (Empirical studies show workload-dependent efficiency) | General agreement—Both confirm variability in performance. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Akour, M.; Alenezi, M. Reducing Environmental Impact with Sustainable Serverless Computing. Sustainability 2025, 17, 2999. https://doi.org/10.3390/su17072999
Akour M, Alenezi M. Reducing Environmental Impact with Sustainable Serverless Computing. Sustainability. 2025; 17(7):2999. https://doi.org/10.3390/su17072999
Chicago/Turabian StyleAkour, Mohammed, and Mamdouh Alenezi. 2025. "Reducing Environmental Impact with Sustainable Serverless Computing" Sustainability 17, no. 7: 2999. https://doi.org/10.3390/su17072999
APA StyleAkour, M., & Alenezi, M. (2025). Reducing Environmental Impact with Sustainable Serverless Computing. Sustainability, 17(7), 2999. https://doi.org/10.3390/su17072999