@Mat thx :-)
I was not aware of "async.auto".
But I still wonder how this can be composed to scale.
The programs I write are executed in different contexts...

   - global cli tool
   - local cli tool
   - script
   - npm script
   - browserify
   - piping into them from the cli
   - require(..)ed as a module
   - sending UNIX signals to them
   - making them listen to all kinds of servers or processes or sending
   them data

I don't have much experience with using the cluster module or in general
orchestrating many node programs, but i guess all these ways might need
special treatment.


I can see how with "async.auto" my control flow can be organized, but there
are many techniques which will help me to do that.
Where I really have trouble is how to compose that when my program(s)
grow(s) combining the ways above.


Once I saw a short tutorial that combined "generators" with "co-routines"
and it looked neat, but I dont know how well it works/looks once more
complex things should be done.
On the other hand, my guts tell me, that doing all kinds of things in a
"streaming" way would be a cool thing. But here too I have problems seeing
how exactly that would work out, especially how the syntax would look like.
Would that be calling ".pipe(...)" or would that be listening to certain
events ".on(...)"?

Sorry, for being so very confused, but I kind of avoided this topic for a
long time, because I did not feel the need yet to really approach it, but
slowly I see how I need to learn about those kind of things :-)

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAN5%2BLUu1Yeohr4V97i4TOeif5am9CfriXKU8Ra49zt8sUq_bfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to