{"action":"created","issue":{"url":"https://api.github.com/repos/AJS-development/OpenAgar/issues/16","repository_url":"https://api.github.com/repos/AJS-development/OpenAgar","labels_url":"https://api.github.com/repos/AJS-development/OpenAgar/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/AJS-development/OpenAgar/issues/16/comments","events_url":"https://api.github.com/repos/AJS-development/OpenAgar/issues/16/events","html_url":"https://github.com/AJS-development/OpenAgar/issues/16","id":190552746,"number":16,"title":"Multithreading","user":{"login":"G047","id":21308568,"avatar_url":"https://avatars.githubusercontent.com/u/21308568?v=3","gravatar_id":"","url":"https://api.github.com/users/G047","html_url":"https://github.com/G047","followers_url":"https://api.github.com/users/G047/followers","following_url":"https://api.github.com/users/G047/following{/other_user}","gists_url":"https://api.github.com/users/G047/gists{/gist_id}","starred_url":"https://api.github.com/users/G047/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G047/subscriptions","organizations_url":"https://api.github.com/users/G047/orgs","repos_url":"https://api.github.com/users/G047/repos","events_url":"https://api.github.com/users/G047/events{/privacy}","received_events_url":"https://api.github.com/users/G047/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2016-11-20T11:30:08Z","updated_at":"2016-11-21T17:34:52Z","closed_at":"2016-11-20T16:43:37Z","body":"Agar.io's C++ servers are believed to run two threads: One for handling the protocol, and another for handling the quad tree (collisions). This method of doing it works well as when \"someone\" runs 400+ bots on there servers, There is no lag.\r\n\r\nThe nodejs cluster module makes it extremely easy and efficient to share data between \"workers\" although \"worker to worker\" data transfer is not possible, that shouldn't be a problem. Using the nodejs cluster you can share Arrays, Objects, and anything else between workers with almost 0 delay. This should stop the server slow down effect that happens with a large amount of bots."},"comment":{"url":"https://api.github.com/repos/AJS-development/OpenAgar/issues/comments/262009296","html_url":"https://github.com/AJS-development/OpenAgar/issues/16#issuecomment-262009296","issue_url":"https://api.github.com/repos/AJS-development/OpenAgar/issues/16","id":262009296,"user":{"login":"G047","id":21308568,"avatar_url":"https://avatars.githubusercontent.com/u/21308568?v=3","gravatar_id":"","url":"https://api.github.com/users/G047","html_url":"https://github.com/G047","followers_url":"https://api.github.com/users/G047/followers","following_url":"https://api.github.com/users/G047/following{/other_user}","gists_url":"https://api.github.com/users/G047/gists{/gist_id}","starred_url":"https://api.github.com/users/G047/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G047/subscriptions","organizations_url":"https://api.github.com/users/G047/orgs","repos_url":"https://api.github.com/users/G047/repos","events_url":"https://api.github.com/users/G047/events{/privacy}","received_events_url":"https://api.github.com/users/G047/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T17:34:52Z","updated_at":"2016-11-21T17:34:52Z","body":"Why only one worker working on physics?"}}
{"actor":{"display_login":"G047"}}