23MCA20432 - Nakul Kashyap - Comprehensive Study of The Effectiveness of Node JS in Server - Side Applications
23MCA20432 - Nakul Kashyap - Comprehensive Study of The Effectiveness of Node JS in Server - Side Applications
side applications
Authors: Nakul Kashyap
UID: 23MCA20432
Section: 23MCA8A
ABSTRACT:
process incoming requests while both the operations
Node JS is a cross-platform runtime environment originally are taking place because Node is also synchronous,
developed in 2009 by Ryan Dhal for developing a server- Hence,
side application. There is an event-driven model, which
supports both the asynchronous I/O and non-deterministic IV. Performance and Scalability: -
event processing. Through this study, we open up with
many new research directions like Node JS adopts an JavaScript has been considered as the scripting
event- driven architecture with the help of which language for client-side programming. However,
developers can create highly scalable server-side the whole process changed along with the
applications. development of server-side JavaScript in which
Node is considered prominent. Moreover, Node
I. Introduction: has not just boosted up server-side JavaScript but
also has been competitive with other popular
Node JS is the backbone on the top of which node has been
server-side scripting languages with respect to
developed. It is a platform which is based on chrome’s
JavaScript runtime for simply building fast, scalable performance and reliability. Unlike, most of the
network applications. According to the recent survey from server-based applications, Node JS apps are
stack overflow and Node JS foundation, Java Script is the running permanently. You can set frequently used
more popular programming languages. On the other hand,
variables such as database connection objects
Node JS is an interpreter and environment for Java Script
with some specific useful libraries in which JS once and reuse them during every request for
programming can be used separately. It becomes every user.
increasingly popular in building server-side JavaScript
application our study shows how Node JS affect the server-
side applications. V. Asynchronous Event:
Node JS uses an asynchronous architecture, most
II. Adopts and event-driven architecture: - of the server-side frameworks use this
Node JS adopts an event-driven architecture, non-blocking architecture, and Java script handles this very
I/O model which makes it lightweight and efficient for well. This means that the server reacts to events
data- intensive real-time applications that can run across and sends events (messages) to e.g. database.
distributed devices with the help of which developers can This type of programming is very difficult to a
create highly scalable server-side applications without using
threading. Thus, the event-driven architecture of Node JS synchronous style and may be hard to use, with
helps the developers to create sever side applications other languages Node JS employs an
without using threading. asynchronous.
III. Event-based rather than thread-based: Data Syn. Between client and server: Node JS enables
Node uses an event loop within a single thread writing JavaScript on both client and server-side thus,
instead of multiple threads and is able to scale to
millions of concurrent connections. In Node, even a
single thread can achieve a high concurrency. Every
I/O operation in this is carried out in an asynchronous
fashion meaning that the server can continue to
@chandigarhuniversity | UID – 1
23MCA20432
the data transfer b/w the client and server happens
fast.
VI. Conclusion:-
Thus, Node JS is a JavaScript framework for writing
server-side applications. In its simplest form, it allows
you
to trigger small JavaScript programs from the command
line without a browser involved. It is open-source, so it is
free to use and no need to pay for the license and you can
extend as per your need. Thus, are many ways by which
Node JS affects server-side applications. It plays a vital role
in the server-side application and carrying out various
processes.
References
Davis, J., Thekumparampil, A., & Lee, D. (2017, April).
Node. fz: Fuzzing the server-side event-driven architecture.
In Proceedings of the Twelfth European Conference on
Computer Systems (pp. 145-160).
Wang, J., Dou, W., Gao, Y., Gao, C., Qin, F., Yin, K.,
& Wei, J. (2017, October). A comprehensive study on
real world concurrency bugs in Node. js. In 2017 32nd
IEEE/ACM International Conference on Automated
Software Engineering (ASE) (pp. 520-531). IEEE.
Chhetri, N. (2016). A Comparative Analysis of Node. js
(Server-Side JavaScript).
https://shiffman.net/a2z/server-node/
https://www.simplytechnologies.net/blog/2018/4/30/nodejs-
using-javascript-on-server-side
https://www.opensourceforu.com/2016/01/an-introduction-
to-node-js-the-server-side-javascript/
@chandigarhuniversity | UID – 2
23MCA20432