{"action":"created","issue":{"url":"https://api.github.com/repos/SyntheticSemantics/ems/issues/13","repository_url":"https://api.github.com/repos/SyntheticSemantics/ems","labels_url":"https://api.github.com/repos/SyntheticSemantics/ems/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/SyntheticSemantics/ems/issues/13/comments","events_url":"https://api.github.com/repos/SyntheticSemantics/ems/issues/13/events","html_url":"https://github.com/SyntheticSemantics/ems/issues/13","id":202450951,"number":13,"title":"kv_store seems to limit \"clusters\" module to one core","user":{"login":"haakonnessjoen","id":416667,"avatar_url":"https://avatars.githubusercontent.com/u/416667?v=3","gravatar_id":"","url":"https://api.github.com/users/haakonnessjoen","html_url":"https://github.com/haakonnessjoen","followers_url":"https://api.github.com/users/haakonnessjoen/followers","following_url":"https://api.github.com/users/haakonnessjoen/following{/other_user}","gists_url":"https://api.github.com/users/haakonnessjoen/gists{/gist_id}","starred_url":"https://api.github.com/users/haakonnessjoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haakonnessjoen/subscriptions","organizations_url":"https://api.github.com/users/haakonnessjoen/orgs","repos_url":"https://api.github.com/users/haakonnessjoen/repos","events_url":"https://api.github.com/users/haakonnessjoen/events{/privacy}","received_events_url":"https://api.github.com/users/haakonnessjoen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-23T05:49:22Z","updated_at":"2017-01-23T09:57:13Z","closed_at":"2017-01-23T09:57:13Z","body":"Hi,\r\n\r\nI did some testing using Examples\\kv_store.js as a starting point. And even if I was not using any of the ems function (other than initializing it), the cluster module suddenly was not able to do more than one core's worth of cpu, even though I could see it had several slave processes running.\r\n\r\nIt do seem to be related to the \"threadAffinity\" option of ems. When I set this to false in the initialization, it seems that 'cluster' recovers its powers.\r\n\r\nIsn't it weird to make an example use the node js cluster module, but limit its strength back to where you would be without it. (or in fact worse)"},"comment":{"url":"https://api.github.com/repos/SyntheticSemantics/ems/issues/comments/274444248","html_url":"https://github.com/SyntheticSemantics/ems/issues/13#issuecomment-274444248","issue_url":"https://api.github.com/repos/SyntheticSemantics/ems/issues/13","id":274444248,"user":{"login":"haakonnessjoen","id":416667,"avatar_url":"https://avatars.githubusercontent.com/u/416667?v=3","gravatar_id":"","url":"https://api.github.com/users/haakonnessjoen","html_url":"https://github.com/haakonnessjoen","followers_url":"https://api.github.com/users/haakonnessjoen/followers","following_url":"https://api.github.com/users/haakonnessjoen/following{/other_user}","gists_url":"https://api.github.com/users/haakonnessjoen/gists{/gist_id}","starred_url":"https://api.github.com/users/haakonnessjoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haakonnessjoen/subscriptions","organizations_url":"https://api.github.com/users/haakonnessjoen/orgs","repos_url":"https://api.github.com/users/haakonnessjoen/repos","events_url":"https://api.github.com/users/haakonnessjoen/events{/privacy}","received_events_url":"https://api.github.com/users/haakonnessjoen/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T09:57:13Z","updated_at":"2017-01-23T09:57:13Z","body":"Great :) Then I guess it is solved!"}}
{"actor":{"display_login":"haakonnessjoen"}}