> > Perhaps surprisingly, node doesn't execute any javascript functions in > parallel. It's actually strictly a single-threaded process.
Small correction about wording "single-threaded process" vs "single threaded engine": The other critical component is the node event loop. The event loop is the “single thread” running your code. It is not exactly a single thread but as far as your application is concerned, it is a single threaded engine. Everything that happens in node is called from the event loop. It is a queue of I/O events and timers which trigger your callbacks – basically, your entire node application is nothing but a collection of callbacks. http://hueniverse.com/2014/08/20/performance-at-rest/ -- sed 'sed && sh + olecom = love' << '' -o--=O`C #oo'L O <___=E M -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/42d87984-bc9e-4f47-b635-ed6c0aa1dcb0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
