{"action":"created","issue":{"url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/220","repository_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot","labels_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/220/comments","events_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/220/events","html_url":"https://github.com/davidmann4/ogar-feeder-bot/issues/220","id":135141594,"number":220,"title":"Multi-thread bot connection","user":{"login":"hassanila97","id":15068696,"avatar_url":"https://avatars.githubusercontent.com/u/15068696?v=3","gravatar_id":"","url":"https://api.github.com/users/hassanila97","html_url":"https://github.com/hassanila97","followers_url":"https://api.github.com/users/hassanila97/followers","following_url":"https://api.github.com/users/hassanila97/following{/other_user}","gists_url":"https://api.github.com/users/hassanila97/gists{/gist_id}","starred_url":"https://api.github.com/users/hassanila97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hassanila97/subscriptions","organizations_url":"https://api.github.com/users/hassanila97/orgs","repos_url":"https://api.github.com/users/hassanila97/repos","events_url":"https://api.github.com/users/hassanila97/events{/privacy}","received_events_url":"https://api.github.com/users/hassanila97/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-21T01:07:01Z","updated_at":"2016-02-21T16:31:14Z","closed_at":null,"body":"The connection is very slow because it's done one by one so why not make it multi thread? You will then get 100 bots in less than 1 minute... Also they're ram and cpu inefficent... It takes 500mb+ ram and 100% cpu 2.4ghz with 100bots.... that's very much.... "},"comment":{"url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/comments/186854665","html_url":"https://github.com/davidmann4/ogar-feeder-bot/issues/220#issuecomment-186854665","issue_url":"https://api.github.com/repos/davidmann4/ogar-feeder-bot/issues/220","id":186854665,"user":{"login":"WJKH","id":16313554,"avatar_url":"https://avatars.githubusercontent.com/u/16313554?v=3","gravatar_id":"","url":"https://api.github.com/users/WJKH","html_url":"https://github.com/WJKH","followers_url":"https://api.github.com/users/WJKH/followers","following_url":"https://api.github.com/users/WJKH/following{/other_user}","gists_url":"https://api.github.com/users/WJKH/gists{/gist_id}","starred_url":"https://api.github.com/users/WJKH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WJKH/subscriptions","organizations_url":"https://api.github.com/users/WJKH/orgs","repos_url":"https://api.github.com/users/WJKH/repos","events_url":"https://api.github.com/users/WJKH/events{/privacy}","received_events_url":"https://api.github.com/users/WJKH/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T16:31:14Z","updated_at":"2016-02-21T16:31:14Z","body":"I believe the name of onboardingTimer should be changed because no one understand it.\r\nJust decrease the value of config.onboardingTimer in the config.js file and you will get bots faster.\r\n\r\nThe resource issue is because node.js isn't multithreading then if you have one of eight cores is the same as node will use only one then 12.5% = 100% CPU usage. I have made a workaround about it https://github.com/davidmann4/ogar-feeder-bot/issues/133"}}