(i) What is Node.Js?
(ii) Why Node.Js is required?
Below are the few reasons to use Node.Js:
- It is Fast because of non-blocking I/O Model, which means all of its I/O Operations are asynchronous. Traditionally I/O operations are performed synchronously. In contrast, when a Node application needs to perform an I/O operation, it sends an asynchronous task to the event loop, along with a callback function, and then continues to execute the rest of its program. When the asynchronous operation completes, the event loop returns to the task to execute its callback.
- Node package Manager(NPM), a set of publicly available, reusable components, available through easy installation via an online repository, with version and dependency management. ‘express’, ’connect’ are examples of NPM modules.
(iii) What is Forward Auction?
The Forward auction are electronic auctions, which can be used by sellers to sell their items to many potential buyers. Sellers and buyers can be individuals, organizations. Items are commonly placed at a special site for auction (e.g. eBay.com). Buyers can continuously bid for the items they are interested in. Eventually the highest bidder wins the item.
(iv) Why Node.js is used in Forward Auction?
Forward Auction requires fast and high responsive websites because lot of users (buyers, sellers), bidding is involved. Node.js serves this purpose because web-applications build on node.js are very fast, thanks to its Asynchronous Non-blocking I/O model.