Improving the asynchronous method of service interaction in web applications
Abstract
A comparative analysis of known protocols for asynchronous interaction of services was carried out, which made it possible to highlight their positive and negative sides. The direction of improving service interaction in web applications is determined, aimed at the development of a method using the gRPC protocol due to the of Java code based on the described services using Protocol Buffers (protobuf) messages. Testing of the developed method was performed in a web application for anonymous discussions, which provides an opportunity to communicate with users using chat. The results of the study were obtained, which confirmed the effectiveness of the proposed method, since its use made it possible to reduce both the time of creating objects and the time of processing requests to the server under load. Also, the improvement made it possible to increase the bandwidth with a large number of parallel connections. Prospects for further research aimed at developing new improvement methods for other programming languages that support the generation of gRPC services are determined.
References
2. С. Крузе, О. Союз, "Synchronous and Asynchronous Web Service Interaction", International Journal of Web Services Research. 2013.
3. М. Дутчак, М. Пікуляк, "Оцінка якості методів та програмних засобів інтелектуальних адаптивних освітніх вебсистем самонавчання," 2022 International Conference on Innovative Solutions in Software Engineering (ICISSE), Прикарпатський національний університет імені В. Стефаника, Івано-Франківськ, Україна, 29-30 листопада 2022 р., C. 266-270.
4. S. Varghese. Building High Performance APIs in Go Using gRPC and Protocol Buffers [Електронний ресурс].
5. gRPC – A high performance, open source universal RPC framework. [Електронний ресурс].
Abstract views: 0 PDF Downloads: 0