ENHANCING DATA QUERY EFFICIENCY WITH GRAPHQL APIS: A COMPARATIVE STUDY WITH RESTFUL WEB SERVICES

Authors

  • Sudeesh Goriparthi Senior software engineer, software architecture, Walmart, Dallas, USA. Author

Keywords:

Application Programming Interface (API), GraphQL, REST

Abstract

A "stateless architecture design" is a kind of web architecture that, as a general rule, does not use databases to store any user data. Additionally, backup storage is not necessary for apps that match this category. Data in transit is the term used to describe information that is transmitted via a stateless service; nobody ever stores this data. It is not required that processing requests arriving at such an architecture depend on any data collected or saved from any previous session. Applications' data can be accessed using subroutines, definitions, and procedures that makeup what is known as an application programming interface (API). Applications communicate with each other through these points. Clients transmit all the required information to the server in each request, and stateless design makes API endpoint administration easier than traditional architecture. This is because the server side does not retain the client session. Two approaches that can be used in creating this API architecture are RESTful services and GraphQL. Learn the ins and outs of GraphQL and REST API architectural management in this comprehensive essay. Also included is an examination of the potential advantages of GraphQL over REST in planning stateless architectural APIs

References

H. Arksey and L. O’Malley. 2005. Scoping studies: Towards a methodological framework. Int. J. Soc. Res. Methodol.: Theory Pract. 8, 1 (2005), 19–32. https://doi.org/10.1080/1364557032000119616

S. Baškarada, V. Nguyen, and A. Koronios. 2018. Architecting microservices: Practical opportunities and challenges. J. Comput. Info. Syst. 60, 5 (2018), 1–9. https://doi.org/10.1080/08874417.2018.1520056

P. Bourque and R. E. Fairley. 2014. SWEBOK v.3—Guide to the Software Engineering—Body of Knowledge. (3rd ed.). IEEE, 346 pages. https://doi.org/10.1234/12345678

R. Budde, K. Kautz, K. Kuhlenkamp, and H. Züllighoven. 1992. Prototyping An Approach to Evolutionary System Development. Springer-Verlag, Berlin. XII, 205 pages. https://doi.org/10.1007/978-3-642-76820-0

Clarivate. 2021. Journal Citation Reports: Reference Guide. Retrieved from https://clarivate.com/webofsciencegroup/ wp-content/uploads/sites/2/2021/06/JCR_2021_Reference_Guide.pdf.

Clarivate. 2021. Quartiles in JCR on the InCites Platform. Retrieved from https://help.incites.clarivate.com/ incitesLiveJCR/9053-TRS.

N. Condori-Fernandez, M. Daneva, K. Sikkel, R. Wieringa, O. Dieste, and O. Pastor. 2009. A systematic mapping study on empirical evaluation of software requirements specifications techniques. In Proceedings of the 3rd International Symposium on Empirical Software Engineering and Measurement (ESEM’09) 1 (2009), 502–505. https://doi.org/10.1109/ ESEM.2009.5314232

P. Di Francesco, P. Lago, and I. Malavolta. 2019. Architecting with microservices: A systematic mapping study. J. Syst. Softw. 150 (2019), 77–97. https://doi.org/10.1016/j.jss.2019.01.001

T. Dyba, T. Dingsoyr, and G. Hanssen. 2007. Applying systematic reviews to diverse study types: An experience report. In Proceedings of the (ESEM’07). IEEE, 225–234. https://doi.org/10.1109/ESEM.2007.59

S. Easterbrook, J. Singer, M.-A. Storey, and D. Damian. 2008. Selecting empirical methods for software engineering research. Guide Adv. Empir. Softw. Eng. 1 (2008), 285–311. https://doi.org/10.1007/978-1-84800-044-5_11

R. Fresno-Aranda, P. Fernández, A. Durán, and A. Ruiz-Cortés. 2022. Semi-automated capacity analysis of limitationaware microservices architectures. In Proceedings of the 19th International Conference on the Economics of Grids, Clouds, Systems, and Services (GECON’22). Springer, In press.

A. Galindo, D. Benavides, P. Trinidad, A. Gutiérrez-Fernández, and A. Ruiz-Cortés. 2019. Automated analysis of feature models: Quo vadis? Computing 101, 5 (2019), 387–433. https://doi.org/10.1007/s00607-018-0646-1

A. Gamez-Diaz, P. Fernandez, A. Ruiz-Cortés, P. J. Molina, N. Kolekar, P. Bhogill, M. Mohaan, and F. Méndez. 2019. The role of limitations and SLAs in the API industry. In Proceedings of the 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. ACM, New York, NY, 1006–1014. https://doi.org/10.1145/3338906.3340445

J. M. García, O. Martin-Diaz, P. Fernandez, C. Müller, and A. Ruiz-Cortes. 2021. A flexible billing life cycle for cloud services using augmented customer agreements. IEEE Access 9 (2021), 44374–44389. https://doi.org/10.1109/ACCESS. 2021.3066443

Google. 2021. FAQ about Trends. Retrieved from https://support.google.com/trends/answer/4365533?hl=en&ref_ topic=6248052.

C. Guevara-Vega, B. Bernardez, A. Duran, A. Quina-Mera, M. Cruz, and A. Ruiz-Cortes. 2021. Empirical strategies in software engineering research: A literature survey. In Proceedings of the 2nd International Conference on Information Systems and Software Technologies (ICI2ST’21). IEEE, New York, NY, 120–127. https://doi.org/10.1109/ICI2ST51859.2021. 00025.

Downloads

Published

2024-01-20

How to Cite

ENHANCING DATA QUERY EFFICIENCY WITH GRAPHQL APIS: A COMPARATIVE STUDY WITH RESTFUL WEB SERVICES. (2024). INTERNATIONAL JOURNAL OF ARTIFICIAL INTELLIGENCE & MACHINE LEARNING (IJAIML), 3(01), 132-143. https://mylib.in/index.php/IJAIML/article/view/IJAIML_03_01_013