Hidden Trade-Offs in Modern Frontend Architecture

Authors

  • Guruprasad Raghothama Rao Senior Software Engineer, USA Author

DOI:

https://doi.org/10.15680/IJCTECE.2023.0605010

Keywords:

Frontend Architecture, Micro-Frontends, Monorepo, Shared State Management, Coordination Overhead, Operational Complexity

Abstract

The current frontend systems adopt the patterns such as micro-frontend, monorepos, shared-state models, and edges-based delivery to create rapid development and team autonomy. Such trends can generate some long-term expenses. This quantitative research study analyzed 30-50 production frontend projects which had been active at least two years. The findings reveal that the coordination overhead in micro-frontend projects was more as 42 cross-team the pull requests per month were high as opposed to 18 in monolithic systems. Mean merge time was 3.8 days as compared to 2.1. Build time was also greater 18.6 minutes as against 11.4 minutes. The rates of deployment failures were 7.8 on micro-frontend systems and 4.1 on monolithic ones. The defect density was 0.84 as compared to 0.63 and the average bug fix time was 4.6 days as compared to 3.2 days. Those results reveal that the modern frontend abstractions, even though making the frontend more flexible, lead to more coordination work, complexity of operations, and maintenance overhead in the span of the time

References

1. Peltonen, S., Mezzalira, L., & Taibi, D. (2020, July 1). Motivations, Benefits, and Issues for Adopting Micro-Frontends: A Multivocal Literature review. arXiv.org. https://arxiv.org/abs/2007.00293

2. Taibi, D., & Mezzalira, L. (2022). Micro-Frontends. ACM SIGSOFT Software Engineering Notes, 47(4), 25–29. https://doi.org/10.1145/3561846.3561853

3. Balalaie, A., Heydarnoori, A., & Jamshidi, P. (2015). Migrating to Cloud-Native Architectures using Microservices: An Experience report. arXiv (Cornell University). https://doi.org/10.48550/arxiv.1507.08217

4. Al-Debagy, O., & Martinek, P. (2019, May 20). A Comparative Review of Microservices and Monolithic architectures. arXiv.org. https://arxiv.org/abs/1905.07997b

5. Mandava, S. K. (2022). The evolution of JavaScript frameworks: performance, scalability, and developers experience. International Journal of Intelligent Systems and Applications in Engineering, 2–2, 287–302. https://ijisae.org/index.php/IJISAE/article/download/7026/5953/12275

6. Kaluža, M., & Vukelić, B. (2018). Comparison of front-end frameworks for web applications development. Zbornik Veleučilišta U Rijeci, 6(1), 261–282. https://doi.org/10.31784/zvr.6.1.19

7. Sangarsu, R. R. (2019). Advancing Web Development with Single Page Applications (SPAs) [Research Article]. Journal of Scientific and Engineering Research, 284–288. https://jsaer.com/download/vol-6-iss-3-2019/JSAER2019-6-3-284-288.pdf

8. Irudayaraj, J. P., & P, S. (2019). Evolution of the Single Page Application in the modern web application development. Journal of Emerging Technologies and Innovative Research, 6(3), 141–143. https://www.jetir.org

9. Ramos, M., Valente, M. T., Terra, R., & Santos, G. (2016). AngularJS in the wild: a survey with 460 developers. AngularJS in the Wild: A Survey With 460 Developers, 9–16. https://doi.org/10.1145/3001878.3001881

10. Ramos, M., Valente, M. T., Terra, R., Dept. of Computer Science, UFMG, Brazil, & Dept. of Computer Science, UFLA, Brazil. (2017). AngularJS Performance: A survey study. Abstract. https://homepages.dcc.ufmg.br/~mtov/pub/2017-ieeesw.pdf

11. Pano, A., Graziotin, D., & Abrahamsson, P. (2016). Factors and actors leading to the adoption of a JavaScript framework. arXiv (Cornell University). https://doi.org/10.48550/arxiv.1605.04303

12. Ferreira, F., Borges, H. S., Valente, M. T., Department of Computer Science, UFMG, Brazil, Center of Informatics, IF Sudeste MG - Campus Barbacena, Brazil, & Department of Computer Science, UFMS, Brazil. (2021). On the (Un-)Adoption of JavaScript Front-end Frameworks. In Department of Computer Science, UFMG, Brazil [Journal-article]. https://homepages.dcc.ufmg.br/~mtov/pub/2021-spe.pdf

13. Xing, Y., Huang, J., & Lai, Y. (2019). Research and Analysis of the Front-end Frameworks and Libraries in E-Business Development. Research and Analysis of the Front-end Frameworks and Libraries in E-Business Development, 68–72. https://doi.org/10.1145/3313991.3314021

14. Snyder, P., Ansari, L., Taylor, C., & Kanich, C. (2016). Browser feature usage on the modern web. arXiv (Cornell University). https://doi.org/10.48550/arxiv.1605.06467

15. Bhardwaj, K., Gavrilovska, A., Steiner, M., Flack, M., & Ludin, S. (2018). DRIVESHAFT: Improving Perceived Mobile Web performance. arXiv (Cornell University). https://doi.org/10.48550/arxiv.1809.09292

16. Hassan, S., Bahsoon, R., & Kazman, R. (2019, March 27). Microservice Transition and its Granularity Problem: A Systematic Mapping Study. arXiv.org. https://arxiv.org/abs/1903.11665

Downloads

Published

2023-10-11

How to Cite

Hidden Trade-Offs in Modern Frontend Architecture. (2023). International Journal of Computer Technology and Electronics Communication, 6(5), 7615-7625. https://doi.org/10.15680/IJCTECE.2023.0605010