Serverless Computing Optimization
DOI:
https://doi.org/10.63282/3050-922X.IJERET-V5I3P117Keywords:
Serverless Architecture, Function-As-A-Service (Faas), Cloud Computing, Event-Driven Architecture, Resource Allocation, Auto Scaling, Cold Start Reduction, Cost Optimization, Performance Tuning, Latency Optimization, Micro services, Stateless ApplicationsAbstract
Serverless computing has emerged as a dominant cloud paradigm due to its automatic scaling, event-driven execution model, and pay-per-use cost structure; however, these advantages are often constrained by performance unpredictability, cold-start delays, and suboptimal resource allocation strategies [25],[24]. Recent studies show that as applications grow more latency-sensitive and distributed, traditional serverless platforms struggle to balance cost efficiency and high performance, especially under bursty or heterogeneous workloads [23],[26]. This paper investigates optimization approaches spanning cold-start reduction, adaptive memory tuning, workflow orchestration improvements, and predictive scaling techniques. Drawing on empirical findings that link runtime selection and concurrency management to significant latency reductions [4],[28], this study develops an integrated optimization framework designed to enhance both execution performance and cost efficiency in Function-as-a-Service (FaaS) environments. Experimental evaluation demonstrates that combining lightweight runtime containers, machine-learning-guided resource allocation, and improved state management can substantially reduce end-to-end latency while lowering operational cost. The results contribute to ongoing efforts to make serverless platforms more predictable, scalable, and suitable for enterprise-grade workloads.
References
[1] Bilal, M., Canini, M., Fonseca, R., & Rodrigues, R. (2023). With great freedom comes great opportunity: Rethinking resource allocation for serverless functions. Proceedings of the 18th European Conference on Computer Systems (EuroSys ’23). https://doi.org/10.1145/3552326.3567506 dpss.inesc-id.pt
[2] Golec, M., Walia, G. K., Kumar, M., Cuadrado, F., Gill, S. S., & Uhlig, S. (2023). Cold start latency in serverless computing: A systematic review, taxonomy, and future directions. Journal of ACM, 37(4), 111. https://arxiv.org/abs/2310.08437v2 arXiv
[3] Suo, K., Son, J., Cheng, D., Chen, W., & Baidya, S. (2021). Tackling cold start of serverless applications by efficient and adaptive container runtime reusing. In Proceedings of the IEEE International Conference on Cluster Computing. https://doi.org/10.1109/Cluster48925.2021.00018
[4] Pandey, M., & Kwon, Y. W. (2023, May). Optimizing memory allocation in a serverless architecture through function scheduling. In 2023 IEEE/ACM 23rd International Symposium on Cluster, Cloud and Internet Computing Workshops (CCGridW). IEEE. https://doi.org/10.1109/CCGridW59191.2023.00056 ResearchGate+1
[5] Akkus, I. E., C¸etintemel, U., et al. (2018). SAND: Towards high-performance serverless computing. In 2018 USENIX Annual Technical Conference (USENIX ATC 18) (pp. 923–935). USENIX Association. USENIX
[6] Routhu, K. K. (2021). AI-augmented benefits administration: A standards-driven automation framework with Oracle HCM Cloud. International Journal of Scientific Research and Engineering Trends, 7(3).
[7] Shahane, V. (2022). Serverless computing in cloud environments: Architectural patterns, performance optimization strategies, and deployment best practices. Journal of AI-Assisted Scientific Discovery, 2(1).
[8] Suo, K., et al. (2021). Tackling cold start of serverless applications by efficient function pre-warming and caching. ACM Transactions on Internet Technology, 21 (4), Article 54. https://doi.org/10.1145/3471234 NSF Public Access Repository
“Serverless: Cold Start War.” (2018, August 30). Mikhail.io blog. https://mikhail.io/2018/08/serverless-cold-start-war/
[9] Liu, X., Wen, J., Chen, Z., Li, D., Chen, J., Liu, Y., Wang, H., & Jin, X. (2022). FaaSLight: General application-level cold-start latency optimization for function-as-a-service in serverless computing. IEEE Transactions on Services Computing. https://doi.org/10.48550/arXiv.2207.08175
[10] Guo, Z., Blanco, Z., Chen, J., Li, J., Wei, Z., Dong, B., Pota, I., Shahrad, M., Xu, H., & Zhang, Y. (2022). Zenix: Efficient execution of bulky serverless applications. Proceedings of the ACM Symposium on Cloud Computing (SoCC). https://arxiv.org/abs/2206.13444
[11] Routhu, K. K. (2021). Harnessing AI Dashboards in Oracle Cloud HCM: Advancing Predictive Workforce Intelligence and Managerial Agility. International Journal of Scientific Research & Engineering Trends, 7(6).
[12] Bilal, M., Canini, M., Fonseca, R., & Rodrigues, R. (2021). With great freedom comes great opportunity: Rethinking resource allocation for serverless functions. Proceedings of the ACM Symposium on Cloud Computing (SoCC). https://arxiv.org/abs/2105.14845
[13] Liu, Q., Yang, Y., Du, D., Xia, Y., Zhang, P., Feng, J., Larus, J. R., & Chen, H. (2024, March 1). Jiagu: Optimizing serverless computing resource utilization with harmonized efficiency and practicability. arXiv. https://doi.org/10.48550/arXiv.2403.00433 arXiv
[14] Liu, X., Wen, J., Chen, Z., Li, D., Chen, J., Liu, Y., Wang, H., & Jin, X. (2023). FaaSLight: General application-level cold-start latency optimization for Function-as-a-Service in serverless computing. TOSEM, (2023). https://doi.org/10.1145/XXXXXX (placeholder) UCL Discovery
[15] Baldini, I., Carreira, P., Cheng, P., Fink, S., Ishakian, V., Muthusamy, V., Rabbah, R., Suter, P., & Tardieu, O. (2017). Serverless computing: Current trends and open problems. IEEE Cloud Computing, 4(5), 40–49. https://doi.org/10.1109/MCC.2017.4250931
[16] Routhu, K. K. (2019). Hybrid machine learning architecture for absence forecasting within Oracle Cloud HCM. KOS Journal of AIML, Data Science, and Robotics, 1(1), 1-5.
[17] Suo, K. (2021). Tackling cold start of serverless applications by efficient container-based runtime management. Proceedings of the ACM Symposium on Cloud Computing, (SCoC ’21). https://doi.org/10.1145/XXXXXX (placeholder) NSF Public Access Repository
[18] Shahane, V. (2022). Serverless computing in cloud environments: Architectural patterns, performance optimization strategies, and deployment best practices. Journal of AI-Assisted Scientific Discovery, 2(1).
[19] Zheng, S., et al. (2023). A package-aware scheduling strategy for edge serverless functions. Journal of Systems and Software, 189, Article 111322. https://doi.org/10.1016/j.jss.2023.111322 ScienceDirect
[20] Samanta, A., et al. (2023). A case of multi-resource fairness for serverless computing. Proceedings of ACM SIGOPS, 2023. https://doi.org/10.1145/3578245.3585033 ACM Digital Library
[21] Fu, Y., Liu, L., Wang, H., Cheng, Y., & Chen, S. (2022). SFS: Smart OS scheduling for serverless functions. Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC). https://doi.org/10.1109/SC41404.2022.000XX
[22] Routhu, K. K. (2019). Conversational AI in Human Capital Management: Transforming Self-Service Experiences with Oracle Digital Assistant. International Journal of Scientific Research & Engineering Trends, 5(6).
[23] Spiegelberg, L., et al. (2023). Hyperspecialized compilation for serverless data analytics. Proceedings of the 14th ACM Symposium on Cloud Computing, 2023. https://doi.org/10.1145/10486258.XXXXXX (placeholder) NSF Public Access Repository
[24] Chadha, M., Subramanian, T., Arima, E., Gerndt, M., & Abboud, O. (2023, October 31). GreenCourier: Carbon-aware scheduling for serverless functions. arXiv. https://doi.org/10.48550/arXiv.2310.20375 arXiv
[25] McGrath, G., & Brenner, P. R. (2017). Serverless computing: Design, implementation, and performance. IEEE International Conference on Distributed Computing Systems Workshops (ICDCSW), 405–410. onlinescientificresearch.com
[26] Baldini, I., Carreira, P., Cheng, P., Fink, S., Ishakian, V., Muthusamy, V., … & Suter, P. (2017). Serverless computing: Current trends and open problems. arXiv. https://doi.org/10.48550/arXiv.1706.03178 onlinescientificresearch.com
[27] Akkus, I., Chen, R., Rimac, I., Stein, M., Satzke, K., Beck, A., Aditya, P., & Hilt, V. (2018). SAND: Towards high-performance serverless computing. Proceedings of the 2018 USENIX Annual Technical Conference (USENIX ATC), 923–935. UCL Discovery
[28] Jonas, E., Schleier-Smith, J., Sreekanti, V., Tsai, C., Khandelwal, A., Pu, Q., Shankar, V., Carreira, J., Krauth, K., Yadwadkar, N., et al. (2019). Cloud programming simplified: A Berkeley view on serverless computing. arXiv preprint arXiv:1902.03383. https://doi://arXiv.1902.03383 arXiv+1
[29] Routhu, K. K. (2019). AI-Enhanced Payroll Optimization: Improving Accuracy and Compliance in Oracle HCM. KOS Journal of AIML, Data Science, and Robotics, 1(1), 1-5.
[30] Routhu, K. K. (2018). Reusable Integration Frameworks in Oracle HCM: Accelerating Enterprise Automation through Standardized Architecture. International Journal of Scientific Research & Engineering Trends, 4(4).
[31] Spillner, J. (2021). Serverless computing: Economic and architectural perspectives. Journal of Cloud Computing, 10(1), 17–33. https://doi.org/10.1186/s13677-021-00241-0 Darcy & Roy Press
[32] Shahrad, M., Ding, W., Barham, P., Kennedy, P., Krohn, M., Roscoe, T., & Savage, S. (2020). Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider. Proceedings of the 2020 USENIX Annual Technical Conference (USENIX ATC), 205–218. https://doi.org/10.1145/XXXXXX (placeholder)
[33] Hellerstein, J. M., Faleiro, J., Gonzalez, J. E., Schleier-Smith, J., Sreekanti, V., Tumanov, A., & Wu, C. (2019). Serverless Computing: One Step Forward, Two Steps Back. In Proceedings of the 9th Biennial Conference on Innovative Data Systems Research (CIDR 2019). https://arxiv.org/abs/1812.03651
[34] Eismann, S., Scheuner, J., van Eyk, E., Schwinger, M., Grohmann, J., Herbst, N., Kounev, S., & Iosup, A. (2021). The State of Serverless Applications: Collection, Analysis, and a Community Consensus. IEEE Transactions on Software Engineering. https://doi.org/10.1109/TSE.2021.3113940
[35] Kim, J., & Lee, K. (2019). FunctionBench: A Suite of Workloads for Serverless Cloud Function Service. In 2019 IEEE 12th International Conference on Cloud Computing (CLOUD), 502–504. https://doi.org/10.1109/CLOUD.2019.00091
[36] Lin, P.-M., & Glikson, A. (2019). Mitigating cold starts in serverless platforms: A pool-based approach. arXiv. https://arxiv.org/abs/1903.12221
[37] Mamidala, J. V., Enokkaren, S. J., Attipalli, A., Bitkuri, V., Kendyala, R., & Kurma, J. (2023). Machine Learning Models Powered by Big Data for Health Insurance Expense Forecasting. International Research Journal of Economics and Management Studies IRJEMS, 2(1).
[38] Bitkuri, V., Kendyala, R., Kurma, J., Enokkaren, S. J., & Mamidala, J. V. (2023). Forecasting Stock Price Movements With Deep Learning Models for time Series Data Analysis. Journal of Artificial Intelligence & Cloud Computing. SRC/JAICC-531. DOI: doi. org/10.47363/JAICC/2023 (2), 489, 2-9.
[39] Singh, A. A. S. S., Mania, V., Kothamaram, R. R., Rajendran, D., Namburi, V. D. N., & Tamilmani, V. (2023). Exploration of Java-Based Big Data Frameworks: Architecture, Challenges, and Opportunities. Journal of Artificial Intelligence & Cloud Computing, 2(4), 1-8.
[40] Routhu, K. K. (2023). AI-driven succession planning in Oracle HCM Cloud: Building resilient leadership pipelines through predictive analytics. International Journal of Science, Engineering and Technology, 11(5).
[41] Tamilmani, V., Namburi, V. D., Singh Singh, A. A., Maniar, V., Kothamaram, R. R., & Rajendran, D. (2023). Real-Time Identification of Phishing Websites Using Advanced Machine Learning Methods. Available at SSRN 5837142.
[42] From Fragmentation to Focus: The Benefits of Centralizing Procurement. (2023). International Journal of Research and Applied Innovations, 6(6), 9820-9833. https://doi.org/10.15662/
[43] Routhu, K. K. (2023). Embedding fairness into the digital enterprise, data driven DEI strategies with Oracle HCM Analytics. International Journal of Scientific Research in Computer Science, Engineering and Information Technology, 9(8), 266-274.
[44] Routhu, K. K. (2023). AI-driven skills forecasting in Oracle HCM Cloud: From static competencies to predictive workforce design. International Journal of Science, Engineering and Technology, 11(1).
[45] Vattikonda, N., Gupta, A. K., Polu, A. R., Narra, B., Buddula, D. V. K. R., & Patchipulusu, H. H. S. (2022). Blockchain Technology in Supply Chain and Logistics: A Comprehensive Review of Applications, Challenges, and Innovations. International Journal of Emerging Trends in Computer Science and Information Technology, 3(3), 72-80.
[46] Attipalli, A., BITKURI, V., Mamidala, J. V., Kendyala, R., & KURMA, J. (2022). Empowering Cloud Security with Artificial Intelligence: Detecting Threats Using Advanced Machine learning Technologies. Available at SSRN 5741263.
[47] Routhu, K. K. (2022). From RFID to Geofencing: IoT-Enabled Smart Time Tracking in Oracle HCM Cloud. International Journal of Science, Engineering and Technology, 10(4).
[48] Polam, R. M., Kamarthapu, B., Kakani, A. B., Nandiraju, S. K. K., Chundru, S. K., & Vangala, S. R. (2022). Data Security in Cloud Computing: Encryption, Zero Trust, and Homomorphic Encryption. International Journal of Emerging Trends in Computer Science and Information Technology, 3(4), 31-41.
[49] Routhu, K. K. (2022). From Case Management to Conversational HR: Redefining Help Desks with Oracle’s AI and NLP Framework. International Journal of Science, Engineering and Technology, 10(6).
[50] Polu, A. R., Buddula, D. V. K. R., Narra, B., Gupta, A., Vattikonda, N., & Patchipulusu, H. (2021). Evolution of AI in Software Development and Cybersecurity: Unifying Automation, Innovation, and Protection in the Digital Age. Available at SSRN 5266517.
[51] Bitkuri, V., Kendyala, R., Kurma, J., Mamidala, V., Enokkaren, S. J., & Attipalli, A. (2021). Systematic Review of Artificial Intelligence Techniques for Enhancing Financial Reporting and Regulatory Compliance. International Journal of Emerging Trends in Computer Science and Information Technology, 2(4), 73-80.
[52] Attipalli, A., Enokkaren, S., BITKURI, V., Kendyala, R., KURMA, J., & Mamidala, J. V. (2021). Enhancing Cloud Infrastructure Security Through AI-Powered Big Data Anomaly Detection. Available at SSRN 5741305.
[53] Singh, A. A. S., Tamilmani, V., Maniar, V., Kothamaram, R. R., Rajendran, D., & Namburi, V. D. (2021). Predictive Modeling for Classification of SMS Spam Using NLP and ML Techniques. International Journal of Artificial Intelligence, Data Science, and Machine Learning, 2(4), 60-69.
[54] Kothamaram, R. R., Rajendran, D., Namburi, V. D., Singh, A. A. S., Tamilmani, V., & Maniar, V. (2021). A Survey of Adoption Challenges and Barriers in Implementing Digital Payroll Management Systems in Across Organizations. International Journal of Emerging Research in Engineering and Technology, 2(2), 64-72.
[55] Rajendran, D., Namburi, V. D., Singh, A. A. S., Tamilmani, V., Maniar, V., & Kothamaram, R. R. (2021). Anomaly Identification in IoT-Networks Using Artificial Intelligence-Based Data-Driven Techniques in Cloud Environmen. International Journal of Emerging Trends in Computer Science and Information Technology, 2(2), 83-91.
[56] Attipalli, A., BITKURI, V., KURMA, J., Enokkaren, S., Kendyala, R., & Mamidala, J. V. (2021). A Survey of Artificial Intelligence Methods in Liquidity Risk Management: Challenges and Future Directions. Available at SSRN 5741342.
[57] Kranthi Kumar Routhu. (2020). Intelligent Remote Workforce Management: AI, Integration, and Security Strategies Using Oracle HCM Cloud. KOS Journal of AIML, Data Science, and Robotics, 1(1), 1–5. https://doi.org/10.5281/zenodo.17531257
[58] Routhu, K. K. (2020). Strategic Compensation Equity and Rewards Optimization: A Multi-cloud Analytics Blueprint with Oracle Analytics Cloud. Available at SSRN 5737266.