On Tue, Oct 22, 2013 at 6:30 AM, Shiming He <[email protected]> wrote: > Dear Community, > > I'm using `require('child_process').fork('worker.js', {execPath: > '/path/node'})` to offload some work in a separate process. My question is > whether this child process can run in different version of nodejs? > > My parent process will stuck at version 0.10.18 at least for a while, and > I'm planning on using 0.10.21 in the child processes. I will need > process.send() for messaging. Am I going to run into any compatibility > issues with inter-process communications? > > Best regards, > He Shiming
We don't make guarantees about the stability of the internal protocol. That said, when both processes are stable releases from the same series (e.g. when they're both v0.10.x releases), it almost always works. Your particular case - v0.10.18 vs. v0.10.21 - should be no problem. There have been zero changes to the cluster module in that period. -- -- 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.
