On Tue, Apr 17, 2012 at 3:19 PM, Tim Caswell <[email protected]> wrote:

>
>
>>
>>> this should only happen if you are doing too much sync processing.
>>>
>> Everything is async (i.e. any call that may take a non-predictable amount
>> of time is an async call).
>>
>>
> I don't understand what you mean here.  An async function in node is a
> non-blocking function.  This means that is must return quickly and provide
> it's response later in a callback.  Both blocking functions and
> non-blocking functions can take a non-predictable amount of time to do
> their work.  Especially if I/O in involved.  The difference is that
> non-blocking functions don't block the event loop and return *before*
> during their work (usually I/O wait in node)
>
> Sorry for not being clear. I'm just trying to say that we use async calls
for anything that does I/O; everything else is simple bookkeeping and
shouldn't take any (significant) time.

/Martin

> --
> 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
>

-- 
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

Reply via email to