Node.Js - Application

144 views
Skip to first unread message

Yogesh Rathod

unread,
Jul 3, 2014, 9:17:40 AM7/3/14
to nod...@googlegroups.com
Hi,

New to Node.js, I have not involved in any node.js application development
- Which type of application Node.js is perfact fit.
- Can we move restful api to Node.js, what benifit we will get by moving it to node.js

Thanks,
Yogesh

Alex Kocharin

unread,
Jul 6, 2014, 11:15:43 PM7/6/14
to nod...@googlegroups.com
 
Anything that involves networking and doesn't have CPU-consuming stuff in it. So restful API would probably respond faster and allow more connections on the same hardware (unless your restful api is in Erlang of course).
 
 
03.07.2014, 18:54, "Yogesh Rathod" <yra...@gmail.com>:
--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/ddd0da76-8ff5-4c8d-b7cc-33bfba329ef4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dan Cancro

unread,
Jul 10, 2014, 3:59:27 PM7/10/14
to nod...@googlegroups.com, al...@kocharin.ru
@Alex, this might be a solution for the CPU-intensive stuff.  My research of Angular.JS application generators lead me to CleverStack which has a module you can use for running CPU-intense things in a separate process.  CleverStack seems to be the best of the lot for other reasons too.

Alex Kocharin

unread,
Jul 10, 2014, 4:39:40 PM7/10/14
to nod...@googlegroups.com
 
Solution for CPU-intensive stuff is forking and quite a few modules that wrap it into webworker api. This one - https://github.com/audreyt/node-webworker-threads - maybe?
 
So I didn't say it is an issue. It is just the thing in which Node.js is not very good at. As opposed to C++ which has MPI or Haskell which just naturally scales. You could use cluster of course, but it's not the job Node.js was built for.
 
... and CleverStack looks like one of those tools that aim to do everything and end up useless at the end...
 
 
10.07.2014, 23:59, "Dan Cancro" <dan.c...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages