{"action":"created","issue":{"url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/197","labels_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/197/comments","events_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/197/events","html_url":"https://github.com/wandenberg/nginx-push-stream-module/issues/197","id":99512545,"number":197,"title":"Instructions on scaling","user":{"login":"msurguy","id":585833,"avatar_url":"https://avatars.githubusercontent.com/u/585833?v=3","gravatar_id":"","url":"https://api.github.com/users/msurguy","html_url":"https://github.com/msurguy","followers_url":"https://api.github.com/users/msurguy/followers","following_url":"https://api.github.com/users/msurguy/following{/other_user}","gists_url":"https://api.github.com/users/msurguy/gists{/gist_id}","starred_url":"https://api.github.com/users/msurguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msurguy/subscriptions","organizations_url":"https://api.github.com/users/msurguy/orgs","repos_url":"https://api.github.com/users/msurguy/repos","events_url":"https://api.github.com/users/msurguy/events{/privacy}","received_events_url":"https://api.github.com/users/msurguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-06T20:00:05Z","updated_at":"2015-09-25T12:09:26Z","closed_at":null,"body":"Hi! This is a really great module and I appreciate your work on this project. I will be using it for a live blogging system soon.\r\n\r\nAre there any instructions on how to scale this module to more than one server or any information on how to optimize performance of the module, which problems might arise? \r\n\r\nI would really appreciate any pointers that could be added to project's Readme.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/comments/143199232","html_url":"https://github.com/wandenberg/nginx-push-stream-module/issues/197#issuecomment-143199232","issue_url":"https://api.github.com/repos/wandenberg/nginx-push-stream-module/issues/197","id":143199232,"user":{"login":"misiek08","id":453110,"avatar_url":"https://avatars.githubusercontent.com/u/453110?v=3","gravatar_id":"","url":"https://api.github.com/users/misiek08","html_url":"https://github.com/misiek08","followers_url":"https://api.github.com/users/misiek08/followers","following_url":"https://api.github.com/users/misiek08/following{/other_user}","gists_url":"https://api.github.com/users/misiek08/gists{/gist_id}","starred_url":"https://api.github.com/users/misiek08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misiek08/subscriptions","organizations_url":"https://api.github.com/users/misiek08/orgs","repos_url":"https://api.github.com/users/misiek08/repos","events_url":"https://api.github.com/users/misiek08/events{/privacy}","received_events_url":"https://api.github.com/users/misiek08/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T12:09:26Z","updated_at":"2015-09-25T12:09:26Z","body":"One way is just connect to random server from array (with failover retry using that array). Second client is using method, where backend serving HTML is giving array with sorted backend servers by load (first is least loaded server) and client connect to first, if fail then 2nd, etc."}}