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

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...

Celý popis

Uloženo v:
Podrobná bibliografie
Vydáno v:Journal of Computer Sciences Institute Ročník 19; s. 121 - 125
Hlavní autoři: Grudniak, Marcin, Dzieńkowski, Mariusz
Médium: Journal Article
Jazyk:angličtina
Vydáno: Lublin University of Technology 30.06.2021
Témata:
ISSN:2544-0764, 2544-0764
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Abstract 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.
AbstractList 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.
Author Dzieńkowski, Mariusz
Grudniak, Marcin
Author_xml – sequence: 1
  givenname: Marcin
  surname: Grudniak
  fullname: Grudniak, Marcin
– sequence: 2
  givenname: Mariusz
  surname: Dzieńkowski
  fullname: Dzieńkowski, Mariusz
BookMark eNptkMtKBDEQRYMo-Nz4BVkLo9V5dCdLER8jguJja1NTSYaM050maRT_3nEUEXFVl6pbZ3F22Wafes_YYQXHUjdGnSyoxGNRC9hgO0IrNYGmVpu_8jY7KGUBAMI0WoPZYc_35w-P_PRuygefQ8od9uQ5pW7AHEvqeQr8zc84DsMyEo4x9YXPsHjHV8drfMUHynEY-ZDTPGPXxX7Owyr4t5Rfyj7bCrgs_uB77rGni_PHs6vJze3l9Oz0ZkJVY2AiDM2cIy-gDsFIMI5qGwzaGjRKlIqcrQ1pRc3MAgXtQQrtfOWFlxSE3GPTL65LuGiHHDvM723C2K4XKc9bzGOkpW-rRlmrpNXaosIqWCe9Dg4sWKmCVivW0ReLciol-_DDq6Bdi24_Rbefoldl-FOmOK41jRnj8r-XDyqTg-A
CitedBy_id crossref_primary_10_35784_jcsi_3796
crossref_primary_10_35784_jcsi_7041
Cites_doi 10.1016/j.scico.2014.12.004
10.35784/jcsi.2423
ContentType Journal Article
DBID AAYXX
CITATION
DOA
DOI 10.35784/jcsi.2620
DatabaseName CrossRef
DOAJ Directory of Open Access Journals
DatabaseTitle CrossRef
DatabaseTitleList
CrossRef
Database_xml – sequence: 1
  dbid: DOA
  name: DOAJ Directory of Open Access Journals
  url: https://www.doaj.org/
  sourceTypes: Open Website
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISSN 2544-0764
EndPage 125
ExternalDocumentID oai_doaj_org_article_17499439559a4a1f9d3e5fd090934f54
10_35784_jcsi_2620
GroupedDBID AAYXX
ALMA_UNASSIGNED_HOLDINGS
CITATION
GROUPED_DOAJ
M~E
Y2W
ID FETCH-LOGICAL-c1780-28cbddce206ff8308dc69f8a9605a3a34cd968c54c7b90cf5e0325de1e2e3cf23
IEDL.DBID DOA
ISSN 2544-0764
IngestDate Tue Oct 07 09:29:19 EDT 2025
Sat Nov 29 03:00:55 EST 2025
Tue Nov 18 22:27:35 EST 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Language English
License https://creativecommons.org/licenses/by-sa/4.0
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-c1780-28cbddce206ff8308dc69f8a9605a3a34cd968c54c7b90cf5e0325de1e2e3cf23
OpenAccessLink https://doaj.org/article/17499439559a4a1f9d3e5fd090934f54
PageCount 5
ParticipantIDs doaj_primary_oai_doaj_org_article_17499439559a4a1f9d3e5fd090934f54
crossref_primary_10_35784_jcsi_2620
crossref_citationtrail_10_35784_jcsi_2620
PublicationCentury 2000
PublicationDate 2021-06-30
PublicationDateYYYYMMDD 2021-06-30
PublicationDate_xml – month: 06
  year: 2021
  text: 2021-06-30
  day: 30
PublicationDecade 2020
PublicationTitle Journal of Computer Sciences Institute
PublicationYear 2021
Publisher Lublin University of Technology
Publisher_xml – name: Lublin University of Technology
References 43157
43147
43158
43148
43159
43149
43153
43154
43155
43156
43160
43150
43161
43151
43162
43152
43163
References_xml – ident: 43152
– ident: 43151
– ident: 43153
– ident: 43154
– ident: 43148
– ident: 43149
– ident: 43157
– ident: 43158
– ident: 43156
– ident: 43155
– ident: 43150
– ident: 43147
  doi: 10.1016/j.scico.2014.12.004
– ident: 43162
– ident: 43163
– ident: 43160
– ident: 43159
  doi: 10.35784/jcsi.2423
– ident: 43161
SSID ssj0002875508
Score 2.1482682
Snippet 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...
SourceID doaj
crossref
SourceType Open Website
Enrichment Source
Index Database
StartPage 121
SubjectTerms Express
Hapi
performance analysis
response time of requests
Title REST API performance comparison of web applications based on JavaScript programming frameworks
URI https://doaj.org/article/17499439559a4a1f9d3e5fd090934f54
Volume 19
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
journalDatabaseRights – providerCode: PRVAON
  databaseName: DOAJ Directory of Open Access Journals
  customDbUrl:
  eissn: 2544-0764
  dateEnd: 99991231
  omitProxy: false
  ssIdentifier: ssj0002875508
  issn: 2544-0764
  databaseCode: DOA
  dateStart: 20160101
  isFulltext: true
  titleUrlDefault: https://www.doaj.org/
  providerName: Directory of Open Access Journals
– providerCode: PRVHPJ
  databaseName: ROAD: Directory of Open Access Scholarly Resources
  customDbUrl:
  eissn: 2544-0764
  dateEnd: 99991231
  omitProxy: false
  ssIdentifier: ssj0002875508
  issn: 2544-0764
  databaseCode: M~E
  dateStart: 20160101
  isFulltext: true
  titleUrlDefault: https://road.issn.org
  providerName: ISSN International Centre
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV3PS8MwFA4iHrz4W_xNQC8e6tokbZPjlA0VHAMn7GRpXhJQdBvb3NG_3Ze0mxMEL0LpoX2E8r0k773m8X2EXFirBC_9maFOdCQSpiPJAR0CRmci1hleQWwi73Rkv6-6S1JfviesogeugGtgxqxwOE-UVooyccpwmzoTKyzFhUsDE2icq6Vi6jX8Msox9ZYVH6kndBGNV5i8XHn69R8RaImoP0SU9hbZqFNB2qw-YZus2MEO2ZzLLNB61e2SZwSpR5vdOzr67vKnsBAQpENHcTOky2fR1EcnQ_HlfTkrH8PWQOterHeMVtTNm7Ime-Sp3erd3Ea1LEIESS7jiEnQxoBlceac5LE0kCknS6xF0pKXXIBRmYRUQK5VDC61MWepsYllloNjfJ-sDoYDe0BoZjyfGWcWrbwUGeYOAriFFAsJrZk-JJdzqAqoOcO9dMVbgbVDgLXwsBYe1kNyvrAdVUwZv1pde8QXFp7dOjxAnxe1z4u_fH70H4Mck3Xm-1NC798JWZ2OP-wpWYPZ9GUyPgvTCe8Pn60v34TRMw
linkProvider Directory of Open Access Journals
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=REST+API+performance+comparison+of+web+applications+based+on+JavaScript+programming+frameworks&rft.jtitle=Journal+of+Computer+Sciences+Institute&rft.au=Marcin+Grudniak&rft.au=Mariusz+Dzie%C5%84kowski&rft.date=2021-06-30&rft.pub=Lublin+University+of+Technology&rft.eissn=2544-0764&rft.volume=19&rft_id=info:doi/10.35784%2Fjcsi.2620&rft.externalDBID=DOA&rft.externalDocID=oai_doaj_org_article_17499439559a4a1f9d3e5fd090934f54
thumbnail_l http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=2544-0764&client=summon
thumbnail_m http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=2544-0764&client=summon
thumbnail_s http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=2544-0764&client=summon