Load balancing in Node.js

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

Hello,

still playing around here. And I am trying node.js load balancing. But it seems that is not load balanced like, for example php?

BTW: Will we see a node.js versioning system? Will we have cluster (the module) support for node.js? Maybe this could then represent the instances? Or as an extra option?

asked Jan 11 '12

Q-efx gravatar image Q-efx
18 1 3 5
i like this answer (click again to cancel)
0
i dont like this answer (click again to cancel) Q-efx has selected this answer as correct

I don't see why you couldn't use NodeJS Cluster on the NodeJS service. Just add it to your package.json file and use cluster.listen() instead of server.listen().

BTW: Will we see a node.js versioning system?

If you mean using using a specific version of NodeJS then this is already possible with the NodeJS service based on the custom service: https://github.com/dotcloud/node-on-dotcloud.

link

answered Jan 31 '12

lopter gravatar image lopter
962 2 5

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: Jan 11 '12

Seen: 639 times

Last updated: Jan 31 '12

Powered by Askbot version 0.7.23

Copyright DotCloud, 2011. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.