Serverless PWAs: Reducing Backend Load with Cloud Functions and Edge Computing

Authors

  • Varun Kumar Chowdary Gorantla Independent Researcher USA. Author
  • Sarath Chandra Madala Independent Researcher, USA. Author

DOI:

https://doi.org/10.63282/3050-922X.IJERET-V3I2P105

Keywords:

Serverless computing, Edge computing, Progressive Web Applications, Backend load reduction, Cloud functions, OpenFaaS, AWS Lambda, Edge nodes

Abstract

PWAs have been adopted widely due to their performance, the feel, and accessibility that come with web apps and the installation of web apps. However, their use expands; a backend sprawling appears insufficient to respond to consumer desire, productivity stutters, and the cost of operations rises. This paper focuses on incorporating serverless computation and edge computation to decrease the backend burden and improve the responsiveness of PWAs. Serverless computing in the form of Function as a Service is a system where developers can execute backend code without dealing with the concerns related to servers and infrastructures and additionally provides auto-scaling and cost-effectiveness through services such as AWS Lambda, Firebase Functions, and Azure Functions. When integrated with Edge Computing, according to which the computational process is also partial and exists as geographically dispersed nodes, the overall setup provides the necessary characteristics of low latency, high reliability, and scalability. This work identifies how cloud functions can carry the API logic and business rules and how the nodes control data caching, real-time analysis, and pre-processing. An implementation model is described on the Raspberry Pi edge cluster using OpenFaaS, AWS, and AZURE cloud services. The results of experiments with mixed workloads show lower response time, lower costs, and lower load on the origin server. Thus, the integration of serverless edges increases the scalability and performance of PWAs while solving the issues that can be met in traditional backend systems and architectures

References

[1] Aslanpour, M. S., Toosi, A. N., Cicconetti, C., Javadi, B., Sbarski, P., Taibi, D., ... & Dustdar, S. (2021, February). Serverless edge computing: vision and challenges. In Proceedings of the 2021 Australasian Computer Science Week multiconference (pp. 1-10).

[2] Kjorveziroski, V., Filiposka, S., & Trajkovik, V. (2021). IoT serverless computing at the edge: A systematic mapping review. Computers, 10(10), 130.

[3] Gadepalli, P. K., Peach, G., Cherkasova, L., Aitken, R., & Parmer, G. (2019, October). Challenges and opportunities for efficient serverless computing at the edge. In 2019 38th Symposium on Reliable Distributed Systems (SRDS) (pp. 261-2615). IEEE.

[4] Chaudhry, S. R., Palade, A., Kazmi, A., & Clarke, S. (2020). Improved QoS at the edge using serverless computing to deploy virtual network functions. IEEE Internet of Things Journal, 7(10), 10673-10683.

[5] Baresi, L., & Quattrocchi, G. (2021). PAPS: A serverless platform for edge computing infrastructures. Frontiers in Sustainable Cities, 3, 690660.

[6] Javed, H., Toosi, A. N., & Aslanpour, M. S. (2022). Serverless platforms on the edge: a performance analysis. In New Frontiers in Cloud Computing and Internet of Things (pp. 165-184). Cham: Springer International Publishing.

[7] Sbarski, P., & Kroonenburg, S. (2017). Serverless architectures on AWS: with examples using Aws Lambda. Simon and Schuster.

[8] Rajan, A. P. (2020). A review on serverless architectures-function as a service (FaaS) in cloud computing. TELKOMNIKA (Telecommunication Computing Electronics and Control), 18(1), 530-537.

[9] Golec, M., Ozturac, R., Pooranian, Z., Gill, S. S., & Buyya, R. (2021). IFaaSBus: A security-and privacy-based lightweight framework for serverless computing using IoT and machine learning. IEEE Transactions on Industrial Informatics, 18(5), 3522-3529.

[10] Singh, P., Masud, M., Hossain, M. S., Kaur, A., Muhammad, G., & Ghoneim, A. (2021). Privacy-preserving serverless computing using federated learning for smart grids. IEEE Transactions on Industrial Informatics, 18(11), 7843-7852.

[11] Schuler, L., Jamil, S., & Kühl, N. (2021, May). AI-based resource allocation: Reinforcement learning for adaptive auto-scaling in serverless environments. In 2021 IEEE/ACM 21st international symposium on cluster, cloud and internet computing (CCGrid) (pp. 804-811). IEEE.

[12] Costanzo, G. T., Zhu, G., Anjos, M. F., & Savard, G. (2012). A system architecture for autonomous demand side load management in smart buildings. IEEE transactions on smart grid, 3(4), 2157-2165.

[13] Hajian, M. (2019). Progressive web apps with angular: create responsive, fast, and reliable PWAs using angular. Apress.

[14] Cao, K., Hu, S., Shi, Y., Colombo, A. W., Karnouskos, S., & Li, X. (2021). A survey on edge and edge-cloud computing assisted cyber-physical systems. IEEE Transactions on Industrial Informatics, 17(11), 7806-7819.

[15] Ferrer, A. J., Marquès, J. M., & Jorba, J. (2019). Towards the decentralised cloud: Survey on approaches and challenges for mobile, ad hoc, and edge computing. ACM Computing Surveys (CSUR), 51(6), 1-36.

[16] Bardsley, D., Ryan, L., & Howard, J. (2018, September). Serverless performance and optimization strategies. In 2018 IEEE International Conference on Smart Cloud (SmartCloud) (pp. 19-26). IEEE.

[17] Vahidinia, P., Farahani, B., & Aliee, F. S. (2020, August). Cold start in serverless computing: Current trends and mitigation strategies. In 2020 International Conference on Omni-layer Intelligent Systems (COINS) (pp. 1-7). IEEE.

[18] Bakshi, K. (2017, March). Microservices-based software architecture and approaches. In 2017 IEEE aerospace conference (pp. 1-8). IEEE.

[19] Aksakalli, I. K., Çelik, T., Can, A. B., & Tekinerdoğan, B. (2021). Deployment and communication patterns in microservice architectures: A systematic literature review. Journal of Systems and Software, 180, 111014.

[20] Silva, P., Costan, A., & Antoniu, G. (2019, December). Investigating edge vs. cloud computing trade-offs for stream processing. In 2019 IEEE International Conference on Big Data (Big Data) (pp. 469-474). IEEE.

[21] Sengupta, A., Tandon, R., & Simeone, O. (2016, July). Cloud RAN and edge caching: Fundamental performance trade-offs. In 2016, IEEE 17th International workshop on signal processing advances in wireless communications (SPAWC) (pp. 1-5). IEEE.

[22] Yuan, D., Yang, Y., & Chen, J. (2012). Computation and Storage in the Cloud: Understanding the Trade-offs. Newnes.

Downloads

Published

2022-06-30

Issue

Section

Articles

How to Cite

1.
Gorantla VKC, Madala SC. Serverless PWAs: Reducing Backend Load with Cloud Functions and Edge Computing. IJERET [Internet]. 2022 Jun. 30 [cited 2025 Sep. 12];3(2):39-48. Available from: https://ijeret.org/index.php/ijeret/article/view/120