Hi all,

I've got a couple of long-running functions that use BigIntegers and the 
like for some financial calculations. These take a few seconds to execute. 
Now a few seconds of CPU on the main node thread means all other activity 
grinds to a halt. What's the easiest way to call these functions 
asynchronously? ie, on another thread?

Should I be making a module? Is it possible without a module? Should I be 
using child_process? 

Any pointers or tips appreciated.
Thank you.

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