{"action":"created","issue":{"url":"https://api.github.com/repos/josephg/node-browserchannel/issues/51","labels_url":"https://api.github.com/repos/josephg/node-browserchannel/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/josephg/node-browserchannel/issues/51/comments","events_url":"https://api.github.com/repos/josephg/node-browserchannel/issues/51/events","html_url":"https://github.com/josephg/node-browserchannel/issues/51","id":50880524,"number":51,"title":"Load balancing for browserchannel ","user":{"login":"murugannode","id":6950294,"avatar_url":"https://avatars.githubusercontent.com/u/6950294?v=3","gravatar_id":"","url":"https://api.github.com/users/murugannode","html_url":"https://github.com/murugannode","followers_url":"https://api.github.com/users/murugannode/followers","following_url":"https://api.github.com/users/murugannode/following{/other_user}","gists_url":"https://api.github.com/users/murugannode/gists{/gist_id}","starred_url":"https://api.github.com/users/murugannode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murugannode/subscriptions","organizations_url":"https://api.github.com/users/murugannode/orgs","repos_url":"https://api.github.com/users/murugannode/repos","events_url":"https://api.github.com/users/murugannode/events{/privacy}","received_events_url":"https://api.github.com/users/murugannode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-03T19:25:03Z","updated_at":"2015-02-23T20:58:41Z","closed_at":"2014-12-03T21:03:08Z","body":"If any way to Load balancing for browserchannel like socket.io (redis adapter)  "},"comment":{"url":"https://api.github.com/repos/josephg/node-browserchannel/issues/comments/75630255","html_url":"https://github.com/josephg/node-browserchannel/issues/51#issuecomment-75630255","issue_url":"https://api.github.com/repos/josephg/node-browserchannel/issues/51","id":75630255,"user":{"login":"wenzowski","id":597920,"avatar_url":"https://avatars.githubusercontent.com/u/597920?v=3","gravatar_id":"","url":"https://api.github.com/users/wenzowski","html_url":"https://github.com/wenzowski","followers_url":"https://api.github.com/users/wenzowski/followers","following_url":"https://api.github.com/users/wenzowski/following{/other_user}","gists_url":"https://api.github.com/users/wenzowski/gists{/gist_id}","starred_url":"https://api.github.com/users/wenzowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenzowski/subscriptions","organizations_url":"https://api.github.com/users/wenzowski/orgs","repos_url":"https://api.github.com/users/wenzowski/repos","events_url":"https://api.github.com/users/wenzowski/events{/privacy}","received_events_url":"https://api.github.com/users/wenzowski/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T20:58:41Z","updated_at":"2015-02-23T20:58:41Z","body":"@murugannode if you run nginx 1.7.x mainline (currently tracking commercial distro) all you need is\r\n\r\n```nginx\r\nupstream {\r\n  hash $arg_a consistent;\r\n}\r\n```\r\n\r\nYou can customize your affinity arg to avoid conflict with your app, eg `hash $arg_noconflictAffinity consistent;` per #43. While nginx instances share the same configured upstream set, AWS LB cookie-stickiness should not be necessary as [libketama](https://github.com/RJ/ketama) will route to the same upstream no matter which nginx instance your lb routes requests to.\r\n\r\nYMMV"}}