Evaluating GraphQL vs REST in Multi-Category Online Retail Applications

Authors

  • S. Venkatasubramanian Associate Professor Computer Science And Business Systems Saranathan College Of Engineering Trichy, Tamilnadu, India Orcid Id: https://orcid.org/0000-0001-7560-0164 Author

Keywords:

GraphQL, REST, API Design, Online Retail, Multi-Category Commerce, Query Optimization, API Performance, Apollo Server, Node.js, Frontend-Driven APIs, API Evolution

Abstract

 In the rapidly evolving world of online retail, the performance and flexibility of API communication play a vital role in delivering a seamless customer experience across diverse product categories, devices, and regional marketplaces. As businesses increasingly adopt microservices and client-driven architectures, the debate between GraphQL and REST has intensified, especially within multi-category e-commerce environments where product data structures are highly heterogeneous.

This manuscript presents a comprehensive evaluation of GraphQL and RESTful APIs in the context of multi-category online retail platforms. It examines their differences in terms of query efficiency, over-fetching and under-fetching issues, latency, payload size, caching, developer productivity, and API evolution. Leveraging JavaScript/TypeScript, Node.js, Apollo Server, and Express.js, the study implements both paradigms in a simulated retail application comprising categories like electronics, apparel, home goods, and books. Empirical tests under variable client queries, data densities, and concurrency levels reveal how each paradigm performs across key dimensions. The paper concludes with design recommendations for API architects and retailers aiming to optimize user experience and backend resource utilization.

Downloads

Published

2026-10-05

How to Cite

S. Venkatasubramanian. (2026). Evaluating GraphQL vs REST in Multi-Category Online Retail Applications. International Journal of Engineering Research in Big Data Systems, 3(4), 8-14. https://ijerbds.org/index.php/ijerbds/article/view/59