{"action":"created","issue":{"url":"https://api.github.com/repos/rohanpm/vivd/issues/46","labels_url":"https://api.github.com/repos/rohanpm/vivd/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/rohanpm/vivd/issues/46/comments","events_url":"https://api.github.com/repos/rohanpm/vivd/issues/46/events","html_url":"https://github.com/rohanpm/vivd/issues/46","id":105274619,"number":46,"title":"Batch SSE","user":{"login":"rohanpm","id":312424,"avatar_url":"https://avatars.githubusercontent.com/u/312424?v=3","gravatar_id":"","url":"https://api.github.com/users/rohanpm","html_url":"https://github.com/rohanpm","followers_url":"https://api.github.com/users/rohanpm/followers","following_url":"https://api.github.com/users/rohanpm/following{/other_user}","gists_url":"https://api.github.com/users/rohanpm/gists{/gist_id}","starred_url":"https://api.github.com/users/rohanpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohanpm/subscriptions","organizations_url":"https://api.github.com/users/rohanpm/orgs","repos_url":"https://api.github.com/users/rohanpm/repos","events_url":"https://api.github.com/users/rohanpm/events{/privacy}","received_events_url":"https://api.github.com/users/rohanpm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T22:57:16Z","updated_at":"2015-09-07T23:05:32Z","closed_at":null,"body":"The UI using log/events SSE gets laggy when an app is being actively used.\r\n\r\nI think it would be a good idea to batch/debounce events to reduce the load:\r\n\r\n- debounce \"events\" for half a second or so, only report the latest status after many status changes\r\n\r\n- batch \"logs\" so that many log messages sent around the same time can be included in a single chunk rather than one chunk per message"},"comment":{"url":"https://api.github.com/repos/rohanpm/vivd/issues/comments/138391144","html_url":"https://github.com/rohanpm/vivd/issues/46#issuecomment-138391144","issue_url":"https://api.github.com/repos/rohanpm/vivd/issues/46","id":138391144,"user":{"login":"rohanpm","id":312424,"avatar_url":"https://avatars.githubusercontent.com/u/312424?v=3","gravatar_id":"","url":"https://api.github.com/users/rohanpm","html_url":"https://github.com/rohanpm","followers_url":"https://api.github.com/users/rohanpm/followers","following_url":"https://api.github.com/users/rohanpm/following{/other_user}","gists_url":"https://api.github.com/users/rohanpm/gists{/gist_id}","starred_url":"https://api.github.com/users/rohanpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohanpm/subscriptions","organizations_url":"https://api.github.com/users/rohanpm/orgs","repos_url":"https://api.github.com/users/rohanpm/repos","events_url":"https://api.github.com/users/rohanpm/events{/privacy}","received_events_url":"https://api.github.com/users/rohanpm/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T23:05:32Z","updated_at":"2015-09-07T23:05:32Z","body":"Also investigate if this can be solved purely on the client, e.g. buffer events before processing them."}}