scholarly journals REST API performance comparison of web applications based on JavaScript programming frameworks

2021 ◽  
Vol 19 ◽  
pp. 121-125
Author(s):  
Marcin Grudniak ◽  
Mariusz Dzieńkowski

The aim of the work was to compare two technologies for creating server applications based on the JavaScript programming language. For the purposes of the research, two test applications were created. The first one was built on the basis of the Express programming framework and the second one on the basis of the Hapi framework. The client part of both applications was prepared using the React library. The client and server parts communicated with each other by means of REST API – the universal HTTP interface. The client application sent requests to the server application which then performed basic operations on the MongoDB basis and returned the result. As part of the work, an experiment consisting of four scenarios was developed. In each scenario, a different type of data was taken into consideration: a string of characters, an array, an object and an array of objects. The research focused on the efficiency aspect – measuring the response time of requests during GET, POST, PUT and DELETE operations. The tests were performed on two computers and the measurements were made in two ways: using a single code embedded in test applications and using the Postman tool. The obtained results, after averaging and analyzing them allowed for the conclusion that the Express framework proved to be more efficient than Hapi due to the shorter response time of requests. Only in the scenario where operations with large datasets were performed was the response time of requests at a similar level.

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):  
Faried Effendy ◽  
Taufik ◽  
Bramantyo Adhilaksono

: Substantial research has been conducted to compare web servers or to compare databases, but very limited research combines the two. Node.js and Golang (Go) are popular platforms for both web and mobile application back-ends, whereas MySQL and Go are among the best open source databases with different characters. Using MySQL and MongoDB as databases, this study aims to compare the performance of Go and Node.js as web applications back-end regarding response time, CPU utilization, and memory usage. To simulate the actual web server workload, the flow of data traffic on the server follows the Poisson distribution. The result shows that the combination of Go and MySQL is superior in CPU utilization and memory usage, while the Node.js and MySQL combination is superior in response time.


Author(s):  
Doru Anastasiu Popescu ◽  
Dragos Nicolae

In this chapter, the authors present a way of measuring the similarity between two Web applications. For this, they define the degree of similarity between two Web applications, taking into account only the Webpages composed of HTML tags. The authors also introduce an algorithm used to calculate this value, its implementation being made in the Java programming language.


Author(s):  
Doru Anastasiu Popescu ◽  
Dragos Nicolae

In this chapter, the authors present a way of measuring the similarity between two Web applications. For this, they define the degree of similarity between two Web applications, taking into account only the Webpages composed of HTML tags. The authors also introduce an algorithm used to calculate this value, its implementation being made in the Java programming language.


2018 ◽  
Vol 15 (1) ◽  
pp. 112-119
Author(s):  
L. A. Korneva ◽  
P. B. Khorev

When creating software systems developers need to choose the most effective design solutions, which may make frameworks, created by other developers. Such a framework can be used as a basis for new applications. Not all available client-server application developers frameworks give due regard to the safety of such applications. So there is a need to develop a framework to create a secure client-server application. To create such a framework in the Java programming language is selected. This article provides a set of components that are required to create a framework of information security-oriented Web applications.


Author(s):  
Amit Sharma

Distributed Denial of Service attacks are significant dangers these days over web applications and web administrations. These assaults pushing ahead towards application layer to procure furthermore, squander most extreme CPU cycles. By asking for assets from web benefits in gigantic sum utilizing quick fire of solicitations, assailant robotized programs use all the capacity of handling of single server application or circulated environment application. The periods of the plan execution is client conduct checking and identification. In to beginning with stage by social affair the data of client conduct and computing individual user’s trust score will happen and Entropy of a similar client will be ascertained. HTTP Unbearable Load King (HULK) attacks are also evaluated. In light of first stage, in recognition stage, variety in entropy will be watched and malevolent clients will be recognized. Rate limiter is additionally acquainted with stop or downsize serving the noxious clients. This paper introduces the FAÇADE layer for discovery also, hindering the unapproved client from assaulting the framework.


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.


KOMTEKINFO ◽  
2021 ◽  
Vol 8 (1) ◽  
pp. 84-91
Author(s):  
Hari Marfalino ◽  
Larissa Rani ◽  
Mardison ◽  
Ichsan Pribadi

The development of technology and information is felt very rapidly and this affects aspects of work that make work easier, one of which is the development of mobile technology, information media can now be made in the form of mobile applications, using mobile technology in the form of tourist applications, which provide information - information about tourism in the district of Solok Selatan, the search for tourism information in the district of Solok Selatan will be more practical to use and users can use this application wherever they are, this application can be used as a medium of knowledge about tourism in Solok Selatan district. This Solok Selatan tourist application is expected to be able to provide more knowledge about Solok Selatan tourism to the wider community, especially the people of Solok Selatan District.


Author(s):  
Y-M Han ◽  
K-G Sung ◽  
J W Sohn ◽  
S-B Choi

This article presents a control performance comparison of electrorheological (ER) fluid-based valves between cylindrical and plate configurations. After identifying Bingham characteristics of chemical starch-based ER fluid, an analytical model of each valve is established. In order to reasonably compare valve performance, design constraint is imposed by the choosing the same electrode gap and length, and each ER valve is manufactured. Valve performances such as pressure drop and response time are then evaluated and compared through analytical model and experiment. In addition, a time-varying pressure tracking controllability of each ER valve is experimentally realized.


Author(s):  
Ágnes Bogárdi-Mészöly ◽  
Zoltán Szitás ◽  
Tihamér Levendovszky ◽  
Hassan Charaf

Sign in / Sign up

Export Citation Format

Share Document