Tony, what do you mean?

2014/1/5 Tony Huang <[email protected]>

> i think use "forever" instead of raw child process may be a good idea~
>
>
> On Sat, Jan 4, 2014 at 8:12 PM, Johan Alkstål <[email protected]>wrote:
>
>> Thank you all for your replies! Much appreciated.
>>
>>
>> 2014/1/4 Hongli Lai <[email protected]>
>>
>>> On Friday, January 3, 2014 8:14:51 PM UTC+1, Ryan Dahl wrote:
>>>
>>>> On Fri, Jan 3, 2014 at 1:47 PM, Johan Alkstål <[email protected]>wrote:
>>>>
>>>>>
>>>>> So should this forked child process always be running (and thus having
>>>>> all simulations use it) or should I fork one for each simulation run?
>>>>>
>>>>
>>>>> I mean if the simulations should be queued and executed in order or in
>>>>> parallel by multiple processes?
>>>>>
>>>>
>>>>
>>>> That'll depend on how long these simulations run and how many of them
>>>> there will be - but I would suspect you want on child process per
>>>> simulation.
>>>>
>>>
>>> It also depends on how expensive the startup of your code is. If it
>>> takes 5 seconds to start your simulation program then you should not create
>>> a process per simulation. Instead, you should keep the simulation program
>>> running and feed it input to avoid the startup cost.
>>>
>>> --
>>> --
>>> Job Board: http://jobs.nodejs.org/
>>> Posting guidelines:
>>> 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 post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "nodejs" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/nodejs/5xNIbJSRMiY/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> 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 post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> 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].
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> ------------------------------------------------------
> Tony Huang    [email protected]
>                      [email protected]
>                      [email protected]
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "nodejs" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nodejs/5xNIbJSRMiY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to