{"action":"created","issue":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/334","repository_url":"https://api.github.com/repos/SocketCluster/socketcluster","labels_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/334/comments","events_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/334/events","html_url":"https://github.com/SocketCluster/socketcluster/issues/334","id":266548571,"number":334,"title":"Limitation with large number of subscribers","user":{"login":"jondubois","id":1187447,"avatar_url":"https://avatars1.githubusercontent.com/u/1187447?v=4","gravatar_id":"","url":"https://api.github.com/users/jondubois","html_url":"https://github.com/jondubois","followers_url":"https://api.github.com/users/jondubois/followers","following_url":"https://api.github.com/users/jondubois/following{/other_user}","gists_url":"https://api.github.com/users/jondubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jondubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondubois/subscriptions","organizations_url":"https://api.github.com/users/jondubois/orgs","repos_url":"https://api.github.com/users/jondubois/repos","events_url":"https://api.github.com/users/jondubois/events{/privacy}","received_events_url":"https://api.github.com/users/jondubois/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-18T16:00:25Z","updated_at":"2017-10-26T15:47:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This applies to a scenario when there are a large number of subscribers (sometimes even with a small number of published messages).\r\n\r\nWhen a large number of clients are subscribed to a channel, each time a message goes out, the channel can struggle to deliver the outbound messages to each subscriber and this may cause the sockets to time out and become disconnected.\r\n\r\nMaybe we can come up with a strategy so that messages are spread out more evenly so that they don't clog up the Node.js event loop (i.e. don't try to deliver all of them in a single tick)."},"comment":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/comments/339710531","html_url":"https://github.com/SocketCluster/socketcluster/issues/334#issuecomment-339710531","issue_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/334","id":339710531,"user":{"login":"happilymarrieddad","id":6416323,"avatar_url":"https://avatars0.githubusercontent.com/u/6416323?v=4","gravatar_id":"","url":"https://api.github.com/users/happilymarrieddad","html_url":"https://github.com/happilymarrieddad","followers_url":"https://api.github.com/users/happilymarrieddad/followers","following_url":"https://api.github.com/users/happilymarrieddad/following{/other_user}","gists_url":"https://api.github.com/users/happilymarrieddad/gists{/gist_id}","starred_url":"https://api.github.com/users/happilymarrieddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happilymarrieddad/subscriptions","organizations_url":"https://api.github.com/users/happilymarrieddad/orgs","repos_url":"https://api.github.com/users/happilymarrieddad/repos","events_url":"https://api.github.com/users/happilymarrieddad/events{/privacy}","received_events_url":"https://api.github.com/users/happilymarrieddad/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T15:47:56Z","updated_at":"2017-10-26T15:47:56Z","author_association":"NONE","body":"@jondubois I know this is kind of dirty and could be handled much better but I was thinking of something like this. What do you think?\r\n![selection_069](https://user-images.githubusercontent.com/6416323/32062777-b9a5ccee-ba32-11e7-8e5f-972d3154f516.png)\r\n![selection_070](https://user-images.githubusercontent.com/6416323/32062784-bd78a4d6-ba32-11e7-81b5-189df7dd198a.png)\r\n\r\n"}}
{"actor":{"display_login":"happilymarrieddad"}}