[nodejs] Some questions on Node's threading and scaling.

2014-12-06 Thread Harry Simons
Hello, I'm new to Node. It looks very wonderful so far, I must say. Is there any official documentation on Node Internals, addressing questions such as the following: 1. How is the priority of the main thread that initiates the asynchronous I/O, creates servers etc handled vis-a-vis the event

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-06 Thread Aria Stewart
> On 6 Dec 2014, at 03:03, Harry Simons wrote: > > Hello, > > I'm new to Node. It looks very wonderful so far, I must say. > > Is there any official documentation on Node Internals, addressing questions > such as the following: > > 1. How is the priority of the main thread that initiates th

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-06 Thread julien . gilli
Hi! Aria already sent a very thorough and detailed response (thank you!), but I'd just like to comment on a couple of small details. On Saturday, December 6, 2014 8:00:24 AM UTC-8, Aria Stewart wrote: > > > > On 6 Dec 2014, at 03:03, Harry Simons wrote: > > I'm new to Node. It looks very wonde

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-06 Thread Aria Stewart
> On 6 Dec 2014, at 22:07, julien.gi...@joyent.com wrote: > > Hi! > > Aria already sent a very thorough and detailed response (thank you!), but I'd > just like to comment on a couple of small details. Awesome! I stand corrected about being able to configure the size of the thread pool. Good

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-07 Thread Harry Simons
Aria, Julien - those were very enlightening answers! Looks like, I'll be busy for a few months now digging into this area. I'm incidentally new to web application development, too. Though I'll be making Node/Express my first web application development platform/framework, I won't have the bene

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-07 Thread Aria Stewart
> On 7 Dec 2014, at 05:31, Harry Simons wrote: > > Aria, Julien - those were very enlightening answers! Looks like, I'll be > busy for a few months now digging into this area. I'm incidentally new to web > application development, too. Though I'll be making Node/Express my first web > applic

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-10 Thread Harry Simons
On Saturday, December 6, 2014 9:30:24 PM UTC+5:30, Aria Stewart wrote: > > > > On 6 Dec 2014, at 03:03, Harry Simons > > wrote: > > > > 2. To use multi-cores, I can have multiple Node processes, sure. But how > do I serialize/synchronize these processes when doing a set of (non-atomic) > ope

Re: [nodejs] Some questions on Node's threading and scaling.

2014-12-10 Thread Aria Stewart
> On 11 Dec 2014, at 00:36, Harry Simons wrote: > > Afterthought: It will be nice if Node can support a distributed lock service > out of the box thereby making its cluster feature "more complete". Meaning, > if I can spawn, fork etc from within Node, then I should also be able to > coordinat