Hello everybody. I'm a huge fan of node.js, and we're actively using it in our project for creating various services.
One problem we've recently encountered is a big ram overhead required to run a node.js instance (about to 40Mb per process) so we are investigating a way to merge multiple services into one node.js process using vm.runInNewContext. Basically this is not an issue due to asyncronious nature of node, but compared to erlang (for example) this approach is missing some functions: 1) We can't know how much memory is allocated for each sandbox 2) We can't close all open files and sockets (we can, actually, use domains, but does they have access to _all_ descriptors?) 3) We can't cancel all setTimeouts and process.nextTicks of given process, to effectively stop it's execution. Actually what i want is some kind of erlang vm, but in node.js with ability to run\stop sandboxed subprocesses, ability to monitor it's status, resource usage etc. Is there any projects with compared functionality? -- 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
