{"action":"created","issue":{"url":"https://api.github.com/repos/pushex-project/pushex/issues/14","repository_url":"https://api.github.com/repos/pushex-project/pushex","labels_url":"https://api.github.com/repos/pushex-project/pushex/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/pushex-project/pushex/issues/14/comments","events_url":"https://api.github.com/repos/pushex-project/pushex/issues/14/events","html_url":"https://github.com/pushex-project/pushex/pull/14","id":386084196,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0OTA2ODIz","number":14,"title":"Instrumentation better","user":{"login":"sb8244","id":1231659,"node_id":"MDQ6VXNlcjEyMzE2NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1231659?v=4","gravatar_id":"","url":"https://api.github.com/users/sb8244","html_url":"https://github.com/sb8244","followers_url":"https://api.github.com/users/sb8244/followers","following_url":"https://api.github.com/users/sb8244/following{/other_user}","gists_url":"https://api.github.com/users/sb8244/gists{/gist_id}","starred_url":"https://api.github.com/users/sb8244/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sb8244/subscriptions","organizations_url":"https://api.github.com/users/sb8244/orgs","repos_url":"https://api.github.com/users/sb8244/repos","events_url":"https://api.github.com/users/sb8244/events{/privacy}","received_events_url":"https://api.github.com/users/sb8244/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T08:24:31Z","updated_at":"2018-11-30T08:32:25Z","closed_at":"2018-11-30T08:31:40Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/pushex-project/pushex/pulls/14","html_url":"https://github.com/pushex-project/pushex/pull/14","diff_url":"https://github.com/pushex-project/pushex/pull/14.diff","patch_url":"https://github.com/pushex-project/pushex/pull/14.patch"},"body":"Changes how instrumentation works to be sharded async "},"comment":{"url":"https://api.github.com/repos/pushex-project/pushex/issues/comments/443129769","html_url":"https://github.com/pushex-project/pushex/pull/14#issuecomment-443129769","issue_url":"https://api.github.com/repos/pushex-project/pushex/issues/14","id":443129769,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzEyOTc2OQ==","user":{"login":"sb8244","id":1231659,"node_id":"MDQ6VXNlcjEyMzE2NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1231659?v=4","gravatar_id":"","url":"https://api.github.com/users/sb8244","html_url":"https://github.com/sb8244","followers_url":"https://api.github.com/users/sb8244/followers","following_url":"https://api.github.com/users/sb8244/following{/other_user}","gists_url":"https://api.github.com/users/sb8244/gists{/gist_id}","starred_url":"https://api.github.com/users/sb8244/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sb8244/subscriptions","organizations_url":"https://api.github.com/users/sb8244/orgs","repos_url":"https://api.github.com/users/sb8244/repos","events_url":"https://api.github.com/users/sb8244/events{/privacy}","received_events_url":"https://api.github.com/users/sb8244/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T08:32:25Z","updated_at":"2018-11-30T08:32:25Z","author_association":"MEMBER","body":"Demo with \r\n\r\n```elixir\r\nEnum.each((1..10000), fn n ->\r\n  pid = PushEx.Instrumentation.Supervisor.shard_for_time(n)\r\n  PushEx.Instrumentation.Shard.execute(pid, fn ->\r\n    IO.inspect {n, self(), Process.info(self(), :message_queue_len) |> elem(1)}\r\n  end)\r\nend)\r\n```\r\n\r\nShows that there is a significantly lower max message queue when using 4 processes vs 1"}}
{"actor":{"display_login":"sb8244"}}