{"action":"created","issue":{"url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/5594","repository_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton","labels_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/5594/labels{/name}","comments_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/5594/comments","events_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/5594/events","html_url":"https://github.com/bigbluebutton/bigbluebutton/pull/5594","id":327089242,"number":5594,"title":"Whiteboard and Cursor performance update","user":{"login":"oswaldoacauan","id":1268518,"avatar_url":"https://avatars2.githubusercontent.com/u/1268518?v=4","gravatar_id":"","url":"https://api.github.com/users/oswaldoacauan","html_url":"https://github.com/oswaldoacauan","followers_url":"https://api.github.com/users/oswaldoacauan/followers","following_url":"https://api.github.com/users/oswaldoacauan/following{/other_user}","gists_url":"https://api.github.com/users/oswaldoacauan/gists{/gist_id}","starred_url":"https://api.github.com/users/oswaldoacauan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oswaldoacauan/subscriptions","organizations_url":"https://api.github.com/users/oswaldoacauan/orgs","repos_url":"https://api.github.com/users/oswaldoacauan/repos","events_url":"https://api.github.com/users/oswaldoacauan/events{/privacy}","received_events_url":"https://api.github.com/users/oswaldoacauan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-28T17:59:46Z","updated_at":"2018-05-28T18:08:51Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/pulls/5594","html_url":"https://github.com/bigbluebutton/bigbluebutton/pull/5594","diff_url":"https://github.com/bigbluebutton/bigbluebutton/pull/5594.diff","patch_url":"https://github.com/bigbluebutton/bigbluebutton/pull/5594.patch"},"body":"This PR tries to solve the whiteboard and cursor performance problems by doing the following strategies:\r\n\r\n- Instead of using Meteor MergeBox to keep track of updates now we use a 2 way communication using the DDP connection, this is done via the package [meteor-streamer](https://github.com/RocketChat/meteor-streamer/blob/master/packages%2Frocketchat-streamer%2FREADME.md)\r\n- We keep updating the Mongo collections to have the history for new users, but all the live updates are emitted to the clients via the streamer.\r\n- Add optimistic changes for drawing, this allows us to make the user perceive the client as fast even when we have delays.\r\n- Add 2 way message batching, now both client and server have delays when emitting and publishing messages.\r\n"},"comment":{"url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/comments/392580476","html_url":"https://github.com/bigbluebutton/bigbluebutton/pull/5594#issuecomment-392580476","issue_url":"https://api.github.com/repos/bigbluebutton/bigbluebutton/issues/5594","id":392580476,"user":{"login":"oswaldoacauan","id":1268518,"avatar_url":"https://avatars2.githubusercontent.com/u/1268518?v=4","gravatar_id":"","url":"https://api.github.com/users/oswaldoacauan","html_url":"https://github.com/oswaldoacauan","followers_url":"https://api.github.com/users/oswaldoacauan/followers","following_url":"https://api.github.com/users/oswaldoacauan/following{/other_user}","gists_url":"https://api.github.com/users/oswaldoacauan/gists{/gist_id}","starred_url":"https://api.github.com/users/oswaldoacauan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oswaldoacauan/subscriptions","organizations_url":"https://api.github.com/users/oswaldoacauan/orgs","repos_url":"https://api.github.com/users/oswaldoacauan/repos","events_url":"https://api.github.com/users/oswaldoacauan/events{/privacy}","received_events_url":"https://api.github.com/users/oswaldoacauan/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T18:08:51Z","updated_at":"2018-05-28T18:08:51Z","author_association":"MEMBER","body":"There is still room for improvements and code clean up. Major points:\r\n\r\n- Use a method instead of subscription to grab the history.\r\n- Clean up and split the `addAnnotation`, probably should find a better place too.\r\n- Clean up all the unused stuff from previous iteration (version and etc), this need to be done on the server, services and components.\r\n- Simplify things on the client side, currently is not easy to follow the component structure, factories, containers. We can do better with that.\r\n- Simplify the components structure, currently there is cursor/whiteboard coupled with presentation components.\r\n\r\n"}}
{"actor":{"display_login":"oswaldoacauan"}}