Click here to Skip to main content
15,914,444 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Async Nodejs Pin
Pete O'Hanlon28-Aug-14 6:23
mvePete O'Hanlon28-Aug-14 6:23 
GeneralRe: Async Nodejs Pin
StatementTerminator28-Aug-14 5:55
StatementTerminator28-Aug-14 5:55 
GeneralRe: Async Nodejs Pin
Andy Brummer28-Aug-14 6:30
sitebuilderAndy Brummer28-Aug-14 6:30 
GeneralRe: Async Nodejs Pin
Shuqian Ying28-Aug-14 12:38
Shuqian Ying28-Aug-14 12:38 
GeneralRe: Async Nodejs Pin
M@dHatter28-Aug-14 16:54
M@dHatter28-Aug-14 16:54 
GeneralRe: Async Nodejs Pin
Shuqian Ying28-Aug-14 18:53
Shuqian Ying28-Aug-14 18:53 
GeneralRe: Async Nodejs Pin
Super Lloyd28-Aug-14 17:25
Super Lloyd28-Aug-14 17:25 
GeneralRe: Async Nodejs Pin
Shuqian Ying28-Aug-14 19:26
Shuqian Ying28-Aug-14 19:26 
Super Lloyd wrote:
why use nodejs when you can use webapi and such like?

At least, it is less expensive to use (linux, less than 1 GB of memory, etc. to support massive connections). The savings will add up when scaling out is needed.

And secondly, from what was claimed, it can scale out more easily for interactive, event driven systems. Of couse this will eventually depends on if the application system is so designed to take advantage of the async IO nature of Nodejs. Web Api can support async ways of programming, but it (asynchrony) is based on thread pools, not on events so it is likely not as scalable as event based asynchrony. To be event driven, one need to use specialized web servers which are not available on Windows platform. If Web Api framework can be made support such servers, which I am not sure it is possible, it could take some efforts to create such kind of servers on ones own.

However, it should not be used for servers that process computational intensive jobs.

Of course what is said above is in principle, one still need to verify if they are really the case ...
Find more in vertical search portal[^]. Email searcher Email Aggregation Manager[^].

GeneralRe: Async Nodejs Pin
M@dHatter29-Aug-14 10:20
M@dHatter29-Aug-14 10:20 
JokeValuable Lesson for today (CPROTD) Pin
CBadger28-Aug-14 3:41
professionalCBadger28-Aug-14 3:41 
GeneralRe: Valuable Lesson for today (CPROTD) Pin
Rage28-Aug-14 3:44
professionalRage28-Aug-14 3:44 
GeneralRe: Valuable Lesson for today (CPROTD) Pin
CBadger28-Aug-14 3:46
professionalCBadger28-Aug-14 3:46 
GeneralRe: Valuable Lesson for today (CPROTD) Pin
Rage28-Aug-14 3:47
professionalRage28-Aug-14 3:47 
NewsRe: Valuable Lesson for today (CPROTD) Pin
CBadger28-Aug-14 4:16
professionalCBadger28-Aug-14 4:16 
GeneralRe: Valuable Lesson for today (CPROTD) Pin
Rage28-Aug-14 4:18
professionalRage28-Aug-14 4:18 
GeneralRe: Valuable Lesson for today (CPROTD) Pin
CBadger28-Aug-14 4:28
professionalCBadger28-Aug-14 4:28 
GeneralRe: Valuable Lesson for today (CPROTD) Pin
Argonia28-Aug-14 5:01
professionalArgonia28-Aug-14 5:01 
GeneralRe: Valuable Lesson for today (CPROTD) Pin
CBadger28-Aug-14 19:47
professionalCBadger28-Aug-14 19:47 
GeneralI have a new motto PinPopular
Nagy Vilmos28-Aug-14 2:45
professionalNagy Vilmos28-Aug-14 2:45 
GeneralRe: I have a new motto Pin
Ian Shlasko28-Aug-14 2:55
Ian Shlasko28-Aug-14 2:55 
GeneralRe: I have a new motto Pin
HobbyProggy28-Aug-14 2:56
professionalHobbyProggy28-Aug-14 2:56 
GeneralRe: I have a new motto Pin
Simon Lee Shugar28-Aug-14 3:11
Simon Lee Shugar28-Aug-14 3:11 
JokeRe: I have a new motto Pin
CBadger28-Aug-14 3:13
professionalCBadger28-Aug-14 3:13 
GeneralRe: I have a new motto Pin
RTek2328-Aug-14 3:21
professionalRTek2328-Aug-14 3:21 
GeneralRe: I have a new motto Pin
P0mpeyBoy28-Aug-14 3:26
P0mpeyBoy28-Aug-14 3:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.