PL EN


Preferencje help
Widoczny [Schowaj] Abstrakt
Liczba wyników
Tytuł artykułu

Comparative Review of Selected Internet Communication Protocols

Identyfikatory
Warianty tytułu
Języki publikacji
EN
Abstrakty
EN
With a large variety of communication methods and protocols, many software architects face the problem of choosing the best way for services to share information. For communication technology to be functional and practical, it should enable developers to define a complete set of CRUD methods for the processed data. The research team compared this paper’s most commonly used data transfer protocols and concepts: REST, WebSocket, gRPC GraphQL and SOAP. A set of web servers was implemented in Python, each using one of the examined technologies. Then, the team performed an automated benchmark measuring time and data transfer overhead for a set of defined operations: creating an entity, retrieving a list of 100 entities and fetching details of one entity. Tests were designed to avoid the results being interfered with by database connection or docker-compose environment characteristics. The research team has concluded that gRPC was the most efficient and reliable data transfer method. On the other hand, GraphQL turned out to be the slowest communication method of all. Moreover, its server and client libraries caused the most problems with proper usage in a web server. SOAP did not participate in benchmarking due to limited compatibility with Python and a lack of popularity in modern web solutions.
Słowa kluczowe
Rocznik
Strony
39--56
Opis fizyczny
Bibliogr. 17 poz., rys., tab.
Twórcy
  • Faculty of Electrical Engineering Warsaw University of Technology, Warsaw, Poland
  • Faculty of Electrical Engineering Warsaw University of Technology, Warsaw, Poland
  • Faculty of Electrical Engineering Warsaw University of Technology, Warsaw, Poland
  • Faculty of Electrical Engineering Warsaw University of Technology, Warsaw, Poland
  • Faculty of Electrical Engineering Warsaw University of Technology, Warsaw, Poland
  • Faculty of Electrical Engineering Warsaw University of Technology, Warsaw, Poland
Bibliografia
  • [1] gRPC official documentation. https://grpc.io/docs/what-is-grpc/core-concepts/. Accessed on May 17, 2022.
  • [2] Protocol buffers official documentation. https://developers.google.com/protocol-buffers/docs/overview. Accessed on May 17, 2022.
  • [3] Bolanowski M. Żak K., Paszkiewicz A., Ganzha M., Paprzycki M., Sowiński P., Lacalle I., and Palau C. E. Efficiency of REST and gRPC realizing communication tasks in microservice-based ecosystems. 2022.
  • [4] Brito G. and Valente M. T. REST vs GraphQL: A controlled experiment. In 2020 IEEE international conference on software architecture (ICSA), pages 81-91. IEEE, 2020.
  • [5] Chamas C. L., Cordeiro D., and Eler M. M. Comparing REST, SOAP, socket and gRPC in computation offloading of mobile applications: An energy cost analysis. In 2017 IEEE 9th Latin-American Conference on Communications (LATINCOM), pages 1-6. IEEE, 2017.
  • [6] Deepan N. and Narayanan S. 80000 steam games dataset. https://kaggle.com/datasets/deepann/80000-steam-games-dataset/metadata. Accessed in April, 2022.
  • [7] Erlandsson P. and Remes J. Performance comparison: Between GraphQL, REST& SOAP (bachelor’s thesis), 2020.
  • [8] Fette I. and Melnikov A. The WebSocket Protocol. RFC 6455, IETF Trust, December 2011.
  • [9] Fielding R. and Reschke J. Hypertext Transfer Protocol (HTTP/1.1): Semantics and content. Technical report, 2014.
  • [10] Fielding R. T. Architectural styles and the design of network-based software architectures. University of California, Irvine, 2000.
  • [11] Frigård E. GraphQL vs. REST: A comparison of runtime performance (bachelor’s thesis), 2022.
  • [12] Łasocha W. P. and Badurowicz M. Porównanie wydajności protokołu WebSocket i HTTP. Journal of Computer Sciences Institute, 19: 67-74, 2021.
  • [13] Li Y. and Manoharan S. A performance comparison of SQL and NoSQL databases. pages 15-19, 08 2013.
  • [14] Lubartowicz P. and Pańczyk B. Performance comparison of web services using Symfony, Spring, and Rails examples. Journal of Computer Sciences Institute,17: 384-389, 2020.
  • [15] Makkonen J. et al. Performance and usage comparison between REST and SOAP web service. 2017.
  • [16] Seabra M., Nazário M. F., and Pinto G. REST or GraphQL? a performance comparative study. In Proceedings of the XIII Brazilian Symposium on Software Components, Architectures, and Reuse, pages 123-132, 2019.
  • [17] Śliwa M. and Pańczyk B. Performance comparison of programming interfaces on the example
Uwagi
Opracowanie rekordu ze środków MEiN, umowa nr SONP/SP/546092/2022 w ramach programu "Społeczna odpowiedzialność nauki" - moduł: Popularyzacja nauki i promocja sportu (2022-2023).
Typ dokumentu
Bibliografia
Identyfikator YADDA
bwmeta1.element.baztech-ede26091-d3ce-427a-ae29-de5bc9b1ab63
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.