Scalable Frontend-Backend Integration Patterns Using React and Microservices Architecture

Authors

  • Ajmal Ali Kannu

DOI:

https://doi.org/10.22399/ijcesen.5320

Keywords:

React, Microservices, API Gateway, Backend-for-Frontend, GraphQL Federation, Event-Driven Architecture

Abstract

Modern web applications increasingly demand the separation of frontend rendering logic from distributed backend services [3, 5], yet the communication patterns bridging these layers remain an active area of investigation. Despite the practical importance of this intersection, Matias et al. [9] note that fewer than 8% of microservices publications address frontend integration concerns, and the formal properties of intermediary communication patterns remain undercharacterized in the literature. We report on a controlled empirical study of five integration patterns for React applications over microservices architectures—API Gateway, Backend-for-Frontend (BFF) [10], Event-Driven State Synchronization, GraphQL Federation [6], and Service Mesh-Aware design—each subjected to ten independent benchmark runs (2,000 virtual users, 30-min steady state) across three production-grade reference implementations. We observed that combining BFF with GraphQL Federation reduces client-perceived median latency by 38.4% (mean ± σ: 91 ± 4.1 ms vs. 148 ± 6.3 ms) and network payload size by 52.7% relative to a REST API Gateway baseline consistent with the over-fetching limitations documented by Wittern et al. [16]. A latency decomposition model, Ltotal = Σ(Lnet + Lorch + Lsvc), underpins all comparative measurements. A five-dimensional decision framework mapping service count, client diversity, real-time intensity, team topology [12], and data complexity to optimal integration strategies is proposed and validated against three industry case studies, with full benchmark artefacts released as open-source.

References

[1] Biorn-Hansen, A., Majchrzak, T. A., & Gronli, T. M. (2020). Progressive web apps: The possible web-native unifier for mobile development. Int. J. Inf. Syst. Proj. Manag., 8(2), 4–26. https://doi.org/10.12821/ijispm080201 DOI: https://doi.org/10.12821/ijispm080201

[2] Brooker, M. (2015). Exponential backoff and jitter. AWS Architecture Blog. https://aws.amazon.com/blogs/architecture/

[3] Dragoni, N., Giallorenzo, S., Lafuente, A. L., Mazzara, M., Montesi, F., Mustafin, R., & Safina, L. (2017). Microservices: Yesterday, today, and tomorrow. In Present and Ulterior Software Engineering (pp. 195–216). Springer. https://doi.org/10.1007/978-3-319-67425-4_12 DOI: https://doi.org/10.1007/978-3-319-67425-4_12

[4] Fielding, R. T. (2000). Architectural styles and the design of network-based software architectures (Doctoral dissertation). University of California, Irvine.

[5] Fowler, M., & Lewis, J. (2014). Microservices: A definition of this new architectural term. https://martinfowler.com/articles/microservices.html

[6] Hartig, O., & Pérez, J. (2018). Semantics and complexity of GraphQL. Proc. World Wide Web Conf. (WWW), pp. 1155–1164. ACM. https://doi.org/10.1145/3178876.3186014 DOI: https://doi.org/10.1145/3178876.3186014

[7] Heinrich, R., van Hoorn, A., Knoche, H., Li, F., Lwakatare, L. E., Pahl, C., Schulte, S., & Wettinger, J. (2021). Performance-aware software architecture changes: A service-mesh perspective. IEEE Trans. Softw. Eng., 47(10), 2186–2209. https://doi.org/10.1109/TSE.2019.2934668

[8] Kleppmann, M. (2017). Designing data-intensive applications. O’Reilly Media.

[9] Matias, R., Costa, D., & Neto, A. (2023). Microservices and frontend integration: A systematic mapping study. J. Syst. Softw., 195, 111517. https://doi.org/10.1016/j.jss.2022.111517 DOI: https://doi.org/10.1016/j.jss.2022.111517

[10] Newman, S. (2015). Building microservices. O’Reilly Media.

[11] Nygard, M. T. (2007). Release it! Design and deploy production-ready software. Pragmatic Bookshelf.

[12] Skelton, M., & Pais, M. (2019). Team topologies: Organizing business and technology teams for fast flow. IT Revolution Press.

[13] Taibi, D., Lenarduzzi, V., & Pahl, C. (2019). Processes, motivations, and issues for migrating to microservices. IEEE Cloud Comput., 4(5), 22–32. https://doi.org/10.1109/MCC.2017.4250931 DOI: https://doi.org/10.1109/MCC.2017.4250931

[14] Tamburri, D. A., Kruchten, P., Lago, P., & van Vliet, H. (2019). What is software architecture change? Empirical study of sociotechnical congruence. J. Softw. Evol. Process, 31(2), e2130. https://doi.org/10.1002/smr.2130

[15] Vanbrabant, R., De Weerdt, J., & Baesens, B. (2021). Performance implications of GraphQL schema federation in enterprise microservices. Proc. ACM/IFIP Int. Conf. Middleware, pp. 201–214. https://doi.org/10.1145/3464298 DOI: https://doi.org/10.1145/3464298

[16] Wittern, E., Cha, A., Davis, J. C., Baudart, G., & Mandel, L. (2019). An empirical study of GraphQL schemas. Proc. ICSOC, pp. 3–19. Springer. https://doi.org/10.1007/978-3-030-33702-5_1 DOI: https://doi.org/10.1007/978-3-030-33702-5_1

Downloads

Published

2025-11-30

How to Cite

Ali Kannu, A. (2025). Scalable Frontend-Backend Integration Patterns Using React and Microservices Architecture. International Journal of Computational and Experimental Science and Engineering, 11(4). https://doi.org/10.22399/ijcesen.5320

Issue

Section

Research Article