![](bg8.png)
2. Which of the technologies is most easily imple-
mented? If we look at the implementation or de-
velopment of RESTful services in both technolo-
gies from the developer’s point of view the logic
of implementation is similar but it is understood
that there are differences on both sides depending
on the support libraries which makes further de-
velopment easier. If the developer is more front-
end oriented then obviously the Express would
be the best choice because it is developed using
JavaScript which is widely used in front-end de-
velopment. However, if the developer is more
back-end oriented with experience in .NET or
even Java technologies then Core would be an eas-
ier solution due to similarities in the development
logic. Additional libraries were needed to enable
communication with non-relational databases. Li-
braries used in Express enabled faster develop-
ment with less code while the library used in Core
in some cases needed a little more complicated
logic so that the functions give the same result
compared to the libraries in Express.
3. How is security implemented using JWT token in
these technologies and how much does authenti-
cation and authorization affect performance? Im-
plementation of authentication and authorization
using JWT token in both technologies is done us-
ing the necessary libraries which enable this func-
tionality. The logic is almost the same in both
technologies where the JWT token must be con-
figured, where in the configurations it is also de-
termined which secret key will be used for se-
curity reasons and then as needed configure the
routes which need to have implemented authen-
tication and authorization. If we look at getting
100 users from the database without authentica-
tion and with authentication, we notice that we
have a slight increase in delay in some cases, in
most cases Core has had better performance in
calls which have required authentication and au-
thorization.
7 CONCLUSION
Choosing a technology to develop an application
or APIs requires consideration of many parameters
which affect both performance, security, extensibility,
usability, ease of development and implementation,
etc. The main purpose of this paper was to provide
developers with information on the implemnatation
and performance of technologies such as Core and
Node.js in conjunction with MongoDB non-relational
database. The implementation of a RESTful API in
these technologies included basic functions such as
Reading, Creating, Changing and Deleting as well as
implementing authentication and authorization using
JWT token.
If we dwell on the performance of the two tech-
nologies by looking at the results obtained we notice
that in general the difference in performance when
each test is analysed separately. A differing fac-
tor is the performance in the case with large loads
in a shorter time interval where Core outperforms
Node.js. In some other cases and especially in the
POST method or recording of database data Node.js
performs better than Core. There is no significant dif-
ference between the two technologies when changing
and deleting data or during Authentication and autho-
rization stage.
REFERENCES
Asp.net core. https://dotnet.microsoft.com/apps/aspnet.
Accessed: 2021-05-03.
Experience on working with asp.net (core) and nodejs.
https://guillaumejacquart.medium.com/experience-
on-working-with-asp-net-core-and-nodejs-
5e6c6351fc1f. Accessed: 2021-05-03.
Mongodb. https://www.mongodb.com/. Accessed: 2021-
05-03.
Node.js. https://nodejs.org/en/. Accessed: 2021-05-03.
Gyorodi, C., Gyorodi, R., Pecherle, G., and Olah, A.
(2015). A comparative study: Mongodb vs. mysql.
2015 13th International Conference on Engineering
of Modern Electric Systems (EMES), pages 1–6.
Hamed, O. (2009). Performance prediction of web based
application architectures case study: .net vs. java ee.
IJWA, 1:146–156.
Hamed, O. and Kafri, N. (2009). Performance testing for
web based application architectures (.net vs. java ee).
Krishnan, H., Elayidom, M., and Santhanakrishnan, T.
(2016). Mongodb – a comparison with nosql
databases. International Journal of Scientific and En-
gineering Research, 7:1035–1037.
Kronis, K. and Uhanova, M. (2018). Performance compar-
ison of java ee and asp.net core technologies for web
api development. Applied Computer Systems, 23:37–
44.
Parker, Z., Poe, S., and Vrbsky, S. (2013). Comparing nosql
mongodb to an sql db.
S
¨
oderlund, S. (2017). Performance of rest applications:
Performance of rest applications in four differ-
ent frameworks (dissertation). Retrieved from
http://urn.kb.se/resolve?urn=urn:nbn:se:lnu:diva-
64841.
Truic
˘
a, C.-O., R
˘
adulescu, F., Boicea, A., and Bucur,
I. (2015). Performance evaluation for crud opera-
tions in asynchronously replicated document oriented
database.
WEBIST 2021 - 17th International Conference on Web Information Systems and Technologies
234