scholarly journals Comparison of REST and GraphQL web technology performance

2020 ◽  
Vol 16 ◽  
pp. 309-316
Author(s):  
Mateusz Mikuła ◽  
Mariusz Dzieńkowski

The aim of the study was to compare the performance of two data exchange styles commonly used in web applications, i.e. REST and GraphQL. For the purposes of the study two test applications were developed containing the same functionalities, one of which was REST and the other one was GraphQL. They were used for performance tests done with the help of the JMeter tool, during which measurements of the total processing time of requests and the volume of data downloaded and sent were performed. An experiment was developed that tested the basic operations found in most network services: display, add, update, and delete data. The most attention was devoted to the information display operation in the case of which load tests were done. On the basis of performed studies and obtained results, no differences in performance during the operation of adding, editing and deleting data by applications based on REST API and GraphQL were found. During the display operation under heavy load conditions and while downloading small portions of data, the service using GraphQL had a better performance. When downloading large portions of data, the REST-based service exhibited a higher performance.

2021 ◽  
Vol 21 ◽  
pp. 287-294
Author(s):  
Maciej Jeleń ◽  
Mariusz Dzieńkowski

The aim of the work is a comparative analysis of three frameworks designed for building web applications for the Java programming language: Spring Boot 2.4.4, Micronaut 2.5.4 and Quarkus 1.13.4.Final. Test applications were prepared, equipped with the same functionality as used in the experiment consisting in measuring the server response times to a POST request – performing the data entry into the database. For each test application, the scenario aimed at measuring the time of handling requests under various load conditions was repeated five times. During each repetition of the scenario, the load which was the average number of requests sent per second by virtual users was increased. In parallel with performance tests, the reliability of the test applications was measured. Reliability was defined as the percentage of requests sent to the server that ended in a failure. The comparative analysis also took into consideration the volume of the code of the test applications based on the selected frameworks. The performed analyses showed that in terms of all the criteria considered in this work Micronaut proved to be the best framework.


2021 ◽  
Vol 21 ◽  
pp. 356-361
Author(s):  
Mariusz Śliwa ◽  
Beata Pańczyk

The article presents a comparison of the performance of three ways of implementing programming interfaces used in web applications - REST, GraphQL and gRPC. For the purposes of the research, three applications were developed, which were made in each of the indicated technologies and with the same functionalities. The applications were used for performance tests carried out with the use of the k6 tool. The applications are used to measure the execution time, performance and volume of processed data during display and adding operations. The obtained results allowed for the conclusion that the best interface in terms of performance (measured as the number of transactions per second) and server response time is REST. However, in terms of the smallest data volume, gRPC is the best choice.


Author(s):  
Atul Jain ◽  
ShashiKant Gupta

JavaScript Object Notation is a text-based data exchange format for structuring data between a server and web application on the client-side. It is basically a data format, so it is not limited to Ajax-style web applications and can be used with API’s to exchange or store information. However, the whole data never to be used by the system or application, It needs some extract of a piece of requirement that may vary person to person and with the changing of time. The searching and filtration from the JSON string are very typical so most of the studies give only basics operation to query the data from the JSON object. The aim of this paper to find out all the methods with different technology to search and filter with JSON data. It explains the extensive results of previous research on the JSONiq Flwor expression and compares it with the json-query module of npm to extract information from JSON. This research has the intention of achieving the data from JSON with some advanced operators with the help of a prototype in json-query package of NodeJS. Thus, the data can be filtered out more efficiently and accurately without the need for any other programming language dependency. The main objective is to filter the JSON data the same as the SQL language query.


2020 ◽  
Vol 14 ◽  
pp. 78-81
Author(s):  
Vadym Borys ◽  
Roman Slezenko ◽  
Beata Pańczyk

The goal of the article is to choose the most efficient user interface creation tools possible for Spring. The study compares 4 selected view technologies: JSP,  Thymeleaf, Wicket and Angular. Time and memory performance tests were carried out using Rest API in Spring. Test results allowed to identify the best solutions.


Wear ◽  
2014 ◽  
Vol 318 (1-2) ◽  
pp. 124-129 ◽  
Author(s):  
Xiaowen Qi ◽  
Jian Ma ◽  
Zhining Jia ◽  
Yulin Yang ◽  
Haibi Gao

2019 ◽  
Vol 9 (9) ◽  
pp. 1860
Author(s):  
Ching-Chun Chuang ◽  
Chih-Chiang Hua ◽  
Chong-Yu Huang ◽  
Li-Kai Jhou

The proposed system can overcome the disadvantage of a high peak current in quasi-resonant fly-back (QRF) converters when operated under heavy load conditions. The operating mode and control scheme of a QRF converter with dual-mode control were established and analyzed. The dual-mode control scheme not only enabled a valley-switching detection technique that satisfied the zero-voltage switching condition but also provided a constant frequency mechanism to reduce the conduction loss in QRF converters when operated in a continuous conduction mode and under heavy load conditions. The small-signal equivalent circuit model of QRF converter circuits was constructed using an average approximation method. The technological advancement of a QRF converter with a dual-mode controller was presented in this study. The circuit simulation result of the proposed QRF converter with a mix control scheme proved that the derived circuit component parameters meet the requirements of the converter.


1980 ◽  
Vol 100 (5) ◽  
pp. 54-60 ◽  
Author(s):  
Shoichi Takeda ◽  
Atsushi Doi

2021 ◽  
Vol 2094 (3) ◽  
pp. 032016
Author(s):  
D V Kornienko ◽  
S V Mishina ◽  
S V Shcherbatykh ◽  
M O Melnikov

Abstract This article discusses the key points of developing a secure RESTful web service API for keeping a student achievement journal. The relevance of using web services has been analyzed. The classification of web applications is given. The features of the Single Page Application architecture were considered. Comparative characteristics of architectural styles of application programming interfaces are given. Requirements to be met by RESTful API services are considered. The basic principles of API security were analyzed. A list of the main vulnerabilities that may appear during the development of the REST API is given. An overview of popular authentication schemes (methods) is given. Comparative characteristics of web frameworks of the Python programming language are given. The main tools used in the development of web API applications are listed. The process of creating a secure prototype of a RESTful web service API in Python using the Flask microframework and a tool for describing the Swagger specifications is presented. The process of configuring the application was examined in detail. The main recommendations for securing a web application, database and web server settings are listed. The key points of ensuring the protection of the developed web application are considered. The results obtained were analyzed.


Sign in / Sign up

Export Citation Format

Share Document