1.

Define some basic criteria for using node js in any project?

Answer»

Applications MADE using Node.js CREATE a single thread, which means it receives a request and processes it first before moving to another request. So if you are developing any streaming application or event based application, then Node.js is best suited for it. Some examples of such applications are as FOLLOWS:- 

  • Chat Applications:- In chat applications,where there are multiple users logged in and chatting with multiple agents, a fast and high performance server is needed to handle such multiple requests simultaneously. 
  • Gaming Applications:- Gaming applications are the best example of collaboration work where multiple teams are working on different modules and at the same time. To support such applications it is very necessary to keep a good control on VERSION management system. Node.js has a very powerful Event Loop feature which SUPPORTS the above scenario. It can handle multiple events at the same time, without blocking other components of the application.  
  • Advertisement Applications/Servers:-  Node.js is the best solution for accepting multiple requests for downloading the ads from the server, and its response time is very less.   
  • Streaming Applications:- In any applications which interact with online streaming server, users send multiple requests to servers for different queries. In this case we have to use Node.js because of its high accuracy and less CPU usage. 


Discussion

No Comment Found