{"action":"created","issue":{"url":"https://api.github.com/repos/meteorhacks/cluster/issues/4","labels_url":"https://api.github.com/repos/meteorhacks/cluster/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/meteorhacks/cluster/issues/4/comments","events_url":"https://api.github.com/repos/meteorhacks/cluster/issues/4/events","html_url":"https://github.com/meteorhacks/cluster/issues/4","id":55789099,"number":4,"title":"Concerns about recommending `cluster` over existing solutions","user":{"login":"jonjamz","id":1040413,"avatar_url":"https://avatars.githubusercontent.com/u/1040413?v=3","gravatar_id":"","url":"https://api.github.com/users/jonjamz","html_url":"https://github.com/jonjamz","followers_url":"https://api.github.com/users/jonjamz/followers","following_url":"https://api.github.com/users/jonjamz/following{/other_user}","gists_url":"https://api.github.com/users/jonjamz/gists{/gist_id}","starred_url":"https://api.github.com/users/jonjamz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonjamz/subscriptions","organizations_url":"https://api.github.com/users/jonjamz/orgs","repos_url":"https://api.github.com/users/jonjamz/repos","events_url":"https://api.github.com/users/jonjamz/events{/privacy}","received_events_url":"https://api.github.com/users/jonjamz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-28T17:40:11Z","updated_at":"2015-01-28T19:55:22Z","closed_at":null,"body":"I think this is a great concept, especially because it's so easy to implement. But I'm wondering if it should be recommended for serious production use. If you would make that recommendation, it would be nice to see a comparison between cluster and the other solutions in the docs--\r\n\r\n1. The docs mention that using cluster is as easy as adding a Meteor package. So I'm guessing that it puts the request handling and load balancing on Meteor applications and uses the application's database? If not, it's a bit more complicated.\r\n\r\n2. There are good existing solutions that auto-scale load balancers, and I know you're aware of them--what are they, and why is cluster better for Meteor apps? \r\n\r\n3. If DDP connections are dropped as a load balancer is manually scaled (for the very short period of time it takes to restart the load balancer), as long as there are sticky sessions, is that a problem? What happens?\r\n\r\n4. The load balancers in question, like HAProxy, are battle-tested in production and have been under development for years. HAProxy supports SSL, HTTP compression, health checks, redispatching, and has a very useful ACL feature, and supports complex redirects, among other features. It's written in C, and can handle upwards to 40K hits per second. At what point does someone decide to use cluster instead of HAProxy, or vice-versa?\r\n\r\nThese points aren't meant to criticize your package--as I said, it's really cool. And of course, running a real-time Meteor app is much different than running an HTTP request/response-style app."},"comment":{"url":"https://api.github.com/repos/meteorhacks/cluster/issues/comments/71903735","html_url":"https://github.com/meteorhacks/cluster/issues/4#issuecomment-71903735","issue_url":"https://api.github.com/repos/meteorhacks/cluster/issues/4","id":71903735,"user":{"login":"MaazAli","id":7013041,"avatar_url":"https://avatars.githubusercontent.com/u/7013041?v=3","gravatar_id":"","url":"https://api.github.com/users/MaazAli","html_url":"https://github.com/MaazAli","followers_url":"https://api.github.com/users/MaazAli/followers","following_url":"https://api.github.com/users/MaazAli/following{/other_user}","gists_url":"https://api.github.com/users/MaazAli/gists{/gist_id}","starred_url":"https://api.github.com/users/MaazAli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaazAli/subscriptions","organizations_url":"https://api.github.com/users/MaazAli/orgs","repos_url":"https://api.github.com/users/MaazAli/repos","events_url":"https://api.github.com/users/MaazAli/events{/privacy}","received_events_url":"https://api.github.com/users/MaazAli/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T19:55:22Z","updated_at":"2015-01-28T19:55:22Z","body":"Additionally, will this work for a multi-core server. Potentially, launching multiple node instances and load balancing those? "}}