It depends on your need, but you can also look to my
https://www.npmjs.com/package/queue.io ;)

Michaël Rouges - https://github.com/Lcfvs - @Lcfvs

2015-05-19 3:18 GMT+02:00 Matt <[email protected]>:

> Looks like you're trying to run before you can walk, to be honest.
>
> Play a bit with async. Play some with Promises (most people recommend
> Bluebird for that). Learn what works and what fits with your mindset.
> Nobody can give you an all encompassing perfect answer here.
>
> On Sun, May 17, 2015 at 11:46 AM, Alexander Praetorius <[email protected]>
> wrote:
>
>> @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 [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/CAN5%2BLUu1Yeohr4V97i4TOeif5am9CfriXKU8Ra49zt8sUq_bfQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/nodejs/CAN5%2BLUu1Yeohr4V97i4TOeif5am9CfriXKU8Ra49zt8sUq_bfQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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/CAPJ5V2YGn2jLB3aFi6%3DE6DjTFWy%3DOH%2B%2BDnKKz6E%2B%3Ds2FXDC9ZQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/nodejs/CAPJ5V2YGn2jLB3aFi6%3DE6DjTFWy%3DOH%2B%2BDnKKz6E%2B%3Ds2FXDC9ZQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMNVKQG4kWjCCcw%3DqriBTyiytkxfixVZ7ZRW9zswymN%3DKzVwTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to