St. Cloud State University
A Comparative Analysis of Node.js (Server-Side JavaScript)
Abstract
dc:description.abstractNode.js (also termed Node) is a platform built on Google Chrome V8 JavaScript runtime engine for easily building fast, scalable, and lightweight applications.V8 and Node are mostly implemented in C and C++ focusing on performance and low memory consumption. In this paper, we provide an overview of Node by comparing it to a conventional server-side scripting programming language, PHP. Initially, we focus on Node’s modularity, its in-built package manager labeled Node Package Manager and Node’s working architecture. The main feature of Node is its use of non-blocking event-driven I/O with an asynchronous programming model to remain lightweight and efficient in handling concurrency. These comprise the underlying features of Node which we discuss in detail. Node differs from JavaScript which we describe by emphasizing some major deficiencies in JavaScript that Node remediates. Likewise, by introducing AJAX, and its pros and cons, we show how Node surpasses AJAX in real-time application development usability. With Node.js, complex real-time applications can be built that can scale to millions of client connections. We also discuss factors supporting choosing Node and why developers should use it. We describe some of the security holes in Node with solutions to handle them. In order to clarify where Node succeeds and where it fails, we present two different benchmarks comparing Node with PHP. We conclude by highlighting some of the limitations of Node and we discuss the current developments in process to remediate Node’s deficiencies.
Degree
thesis:*- Name thesis:degree_name
- Computer Science: M.S.
- Department thesis:degree_department
- Computer Science and Information Technology
- Year dc:date.issued
- 2016
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chhetri, Nimesh
- Advisors dc:contributor.advisor
-
- Andrew A. Anda
- Bryant A. Julstrom
- Dennis Guster
Subjects
dc:subject × 8Rights
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Dc Identifier Other
- csit_etds-5