namshi / clusterjs Goto Github PK
View Code? Open in Web Editor NEWClusterify your NodeJS applications and deploy without downtimes. Just like that.
Clusterify your NodeJS applications and deploy without downtimes. Just like that.
Hello,
I investigated your code and saw using of worker.suicide in launch function.
Unfortunately, It has been deprecated since: v6.0.0 - https://nodejs.org/api/cluster.html#cluster_worker_suicide
Is there a chance to be contributed new version of clusterjs using worker.exitedAfterDisconnect for node.js version above 6.
Thank you in advance!
BR,
Stoil
Hey,
Quick question about your clusterjs project. The testApp that you created listens on port 9516 (or something like that), when you're actually going to your app.js file via TCP, a 127.0.0.1:9516 clustered with clusterjs would get divvy'd out how?
clusterjs listens on 9516
Does worker 1 need to listen ton 9517, worker 2 on 9518, and worker 3 on 9619 and clusterjs picks the connection to use? or how does that work? Does it use round robin on the workers to pick one thats free?
Thanks,
Michael
Just reached this project from @odino share over LinkedIn. Sound's good. I had been using forever
using distributed failovers but seems like this solution might also help pretty well. What about shaping it to the proper code and extensible?
I believe if you can choose any proper baseline cli framework
like Flatiron : guide - http://blog.nodejitsu.com/writing-cli-apps-with-flatiron/
Let me know if you guys are interested so I'll send a pull request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.