When is it a good idea to not use NodeJs? Why?
Because:
 * If we want to create an application which is not much need OS  
   server/user,Then we shouldn't use Nodejs. 
   We would be just fine with other technology in very less time.
 * If we want to make an application which is required CPU Operations 
   frequently,Then we shouldn't use nodejs, Beacuse Nodejs bynature 
   single threaded. When we launch a node process, you are running  
   a single process with a single thread on a single core. So your 
   code will not be executed in parallel.
   So long running CPU tasks will block the whole server and are 
   usually a bad idea.
* If we are going to create a Simple blogs and static sites or Just 
  as a static file server then we shouldn't use Nodejs.
* No ability to scale out to take advantage of the multiple cores.
* Every time using a callback end up with tons of nested callbacks. 
  So using so many callbacks is not a good idea.
 
No comments:
Post a Comment