{"action":"opened","number":462,"pull_request":{"url":"https://api.github.com/repos/kemalcr/kemal/pulls/462","id":197971550,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3OTcxNTUw","html_url":"https://github.com/kemalcr/kemal/pull/462","diff_url":"https://github.com/kemalcr/kemal/pull/462.diff","patch_url":"https://github.com/kemalcr/kemal/pull/462.patch","issue_url":"https://api.github.com/repos/kemalcr/kemal/issues/462","number":462,"state":"open","locked":false,"title":"add support for multiple worker processes","user":{"login":"jreinert","id":1074324,"node_id":"MDQ6VXNlcjEwNzQzMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1074324?v=4","gravatar_id":"","url":"https://api.github.com/users/jreinert","html_url":"https://github.com/jreinert","followers_url":"https://api.github.com/users/jreinert/followers","following_url":"https://api.github.com/users/jreinert/following{/other_user}","gists_url":"https://api.github.com/users/jreinert/gists{/gist_id}","starred_url":"https://api.github.com/users/jreinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreinert/subscriptions","organizations_url":"https://api.github.com/users/jreinert/orgs","repos_url":"https://api.github.com/users/jreinert/repos","events_url":"https://api.github.com/users/jreinert/events{/privacy}","received_events_url":"https://api.github.com/users/jreinert/received_events","type":"User","site_admin":false},"body":"### Description of the Change\r\n\r\nThis allows spawning multiple worker processes to handle requests on multi-core environments. It makes use of the reuse_port option in HTTP::Server (or TCPServer).\r\n\r\n### Benefits\r\n\r\nShould result in way higher throughput (optimally n times higher with n being the amount of workers and cpus on a host)\r\n\r\n### Possible Drawbacks\r\n\r\nHigher memory consumtion since fork is used.\r\n","created_at":"2018-06-28T09:36:55Z","updated_at":"2018-06-28T09:36:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kemalcr/kemal/pulls/462/commits","review_comments_url":"https://api.github.com/repos/kemalcr/kemal/pulls/462/comments","review_comment_url":"https://api.github.com/repos/kemalcr/kemal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kemalcr/kemal/issues/462/comments","statuses_url":"https://api.github.com/repos/kemalcr/kemal/statuses/dca12121efb6a4482f0d3762a31fb6ce29e53a33","head":{"label":"jreinert:master","ref":"master","sha":"dca12121efb6a4482f0d3762a31fb6ce29e53a33","user":{"login":"jreinert","id":1074324,"node_id":"MDQ6VXNlcjEwNzQzMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1074324?v=4","gravatar_id":"","url":"https://api.github.com/users/jreinert","html_url":"https://github.com/jreinert","followers_url":"https://api.github.com/users/jreinert/followers","following_url":"https://api.github.com/users/jreinert/following{/other_user}","gists_url":"https://api.github.com/users/jreinert/gists{/gist_id}","starred_url":"https://api.github.com/users/jreinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreinert/subscriptions","organizations_url":"https://api.github.com/users/jreinert/orgs","repos_url":"https://api.github.com/users/jreinert/repos","events_url":"https://api.github.com/users/jreinert/events{/privacy}","received_events_url":"https://api.github.com/users/jreinert/received_events","type":"User","site_admin":false},"repo":{"id":52047785,"node_id":"MDEwOlJlcG9zaXRvcnk1MjA0Nzc4NQ==","name":"kemal","full_name":"jreinert/kemal","owner":{"login":"jreinert","id":1074324,"node_id":"MDQ6VXNlcjEwNzQzMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1074324?v=4","gravatar_id":"","url":"https://api.github.com/users/jreinert","html_url":"https://github.com/jreinert","followers_url":"https://api.github.com/users/jreinert/followers","following_url":"https://api.github.com/users/jreinert/following{/other_user}","gists_url":"https://api.github.com/users/jreinert/gists{/gist_id}","starred_url":"https://api.github.com/users/jreinert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreinert/subscriptions","organizations_url":"https://api.github.com/users/jreinert/orgs","repos_url":"https://api.github.com/users/jreinert/repos","events_url":"https://api.github.com/users/jreinert/events{/privacy}","received_events_url":"https://api.github.com/users/jreinert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jreinert/kemal","description":"Lightning Fast, Super Simple web framework for Crystal","fork":true,"url":"https://api.github.com/repos/jreinert/kemal","forks_url":"https://api.github.com/repos/jreinert/kemal/forks","keys_url":"https://api.github.com/repos/jreinert/kemal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jreinert/kemal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jreinert/kemal/teams","hooks_url":"https://api.github.com/repos/jreinert/kemal/hooks","issue_events_url":"https://api.github.com/repos/jreinert/kemal/issues/events{/number}","events_url":"https://api.github.com/repos/jreinert/kemal/events","assignees_url":"https://api.github.com/repos/jreinert/kemal/assignees{/user}","branches_url":"https://api.github.com/repos/jreinert/kemal/branches{/branch}","tags_url":"https://api.github.com/repos/jreinert/kemal/tags","blobs_url":"https://api.github.com/repos/jreinert/kemal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jreinert/kemal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jreinert/kemal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jreinert/kemal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jreinert/kemal/statuses/{sha}","languages_url":"https://api.github.com/repos/jreinert/kemal/languages","stargazers_url":"https://api.github.com/repos/jreinert/kemal/stargazers","contributors_url":"https://api.github.com/repos/jreinert/kemal/contributors","subscribers_url":"https://api.github.com/repos/jreinert/kemal/subscribers","subscription_url":"https://api.github.com/repos/jreinert/kemal/subscription","commits_url":"https://api.github.com/repos/jreinert/kemal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jreinert/kemal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jreinert/kemal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jreinert/kemal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jreinert/kemal/contents/{+path}","compare_url":"https://api.github.com/repos/jreinert/kemal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jreinert/kemal/merges","archive_url":"https://api.github.com/repos/jreinert/kemal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jreinert/kemal/downloads","issues_url":"https://api.github.com/repos/jreinert/kemal/issues{/number}","pulls_url":"https://api.github.com/repos/jreinert/kemal/pulls{/number}","milestones_url":"https://api.github.com/repos/jreinert/kemal/milestones{/number}","notifications_url":"https://api.github.com/repos/jreinert/kemal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jreinert/kemal/labels{/name}","releases_url":"https://api.github.com/repos/jreinert/kemal/releases{/id}","deployments_url":"https://api.github.com/repos/jreinert/kemal/deployments","created_at":"2016-02-18T23:53:20Z","updated_at":"2018-06-28T09:33:16Z","pushed_at":"2018-06-28T09:33:15Z","git_url":"git://github.com/jreinert/kemal.git","ssh_url":"git@github.com:jreinert/kemal.git","clone_url":"https://github.com/jreinert/kemal.git","svn_url":"https://github.com/jreinert/kemal","homepage":"http://kemalcr.com","size":253,"stargazers_count":0,"watchers_count":0,"language":"Crystal","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kemalcr:master","ref":"master","sha":"eed97877a7ad28eabbf6fd7fa352fe62ade0ddb6","user":{"login":"kemalcr","id":15321198,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzIxMTk4","avatar_url":"https://avatars3.githubusercontent.com/u/15321198?v=4","gravatar_id":"","url":"https://api.github.com/users/kemalcr","html_url":"https://github.com/kemalcr","followers_url":"https://api.github.com/users/kemalcr/followers","following_url":"https://api.github.com/users/kemalcr/following{/other_user}","gists_url":"https://api.github.com/users/kemalcr/gists{/gist_id}","starred_url":"https://api.github.com/users/kemalcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemalcr/subscriptions","organizations_url":"https://api.github.com/users/kemalcr/orgs","repos_url":"https://api.github.com/users/kemalcr/repos","events_url":"https://api.github.com/users/kemalcr/events{/privacy}","received_events_url":"https://api.github.com/users/kemalcr/received_events","type":"Organization","site_admin":false},"repo":{"id":44826364,"node_id":"MDEwOlJlcG9zaXRvcnk0NDgyNjM2NA==","name":"kemal","full_name":"kemalcr/kemal","owner":{"login":"kemalcr","id":15321198,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MzIxMTk4","avatar_url":"https://avatars3.githubusercontent.com/u/15321198?v=4","gravatar_id":"","url":"https://api.github.com/users/kemalcr","html_url":"https://github.com/kemalcr","followers_url":"https://api.github.com/users/kemalcr/followers","following_url":"https://api.github.com/users/kemalcr/following{/other_user}","gists_url":"https://api.github.com/users/kemalcr/gists{/gist_id}","starred_url":"https://api.github.com/users/kemalcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemalcr/subscriptions","organizations_url":"https://api.github.com/users/kemalcr/orgs","repos_url":"https://api.github.com/users/kemalcr/repos","events_url":"https://api.github.com/users/kemalcr/events{/privacy}","received_events_url":"https://api.github.com/users/kemalcr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kemalcr/kemal","description":"Fast, Effective, Simple Web Framework","fork":false,"url":"https://api.github.com/repos/kemalcr/kemal","forks_url":"https://api.github.com/repos/kemalcr/kemal/forks","keys_url":"https://api.github.com/repos/kemalcr/kemal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kemalcr/kemal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kemalcr/kemal/teams","hooks_url":"https://api.github.com/repos/kemalcr/kemal/hooks","issue_events_url":"https://api.github.com/repos/kemalcr/kemal/issues/events{/number}","events_url":"https://api.github.com/repos/kemalcr/kemal/events","assignees_url":"https://api.github.com/repos/kemalcr/kemal/assignees{/user}","branches_url":"https://api.github.com/repos/kemalcr/kemal/branches{/branch}","tags_url":"https://api.github.com/repos/kemalcr/kemal/tags","blobs_url":"https://api.github.com/repos/kemalcr/kemal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kemalcr/kemal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kemalcr/kemal/git/refs{/sha}","trees_url":"https://api.github.com/repos/kemalcr/kemal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kemalcr/kemal/statuses/{sha}","languages_url":"https://api.github.com/repos/kemalcr/kemal/languages","stargazers_url":"https://api.github.com/repos/kemalcr/kemal/stargazers","contributors_url":"https://api.github.com/repos/kemalcr/kemal/contributors","subscribers_url":"https://api.github.com/repos/kemalcr/kemal/subscribers","subscription_url":"https://api.github.com/repos/kemalcr/kemal/subscription","commits_url":"https://api.github.com/repos/kemalcr/kemal/commits{/sha}","git_commits_url":"https://api.github.com/repos/kemalcr/kemal/git/commits{/sha}","comments_url":"https://api.github.com/repos/kemalcr/kemal/comments{/number}","issue_comment_url":"https://api.github.com/repos/kemalcr/kemal/issues/comments{/number}","contents_url":"https://api.github.com/repos/kemalcr/kemal/contents/{+path}","compare_url":"https://api.github.com/repos/kemalcr/kemal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kemalcr/kemal/merges","archive_url":"https://api.github.com/repos/kemalcr/kemal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kemalcr/kemal/downloads","issues_url":"https://api.github.com/repos/kemalcr/kemal/issues{/number}","pulls_url":"https://api.github.com/repos/kemalcr/kemal/pulls{/number}","milestones_url":"https://api.github.com/repos/kemalcr/kemal/milestones{/number}","notifications_url":"https://api.github.com/repos/kemalcr/kemal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kemalcr/kemal/labels{/name}","releases_url":"https://api.github.com/repos/kemalcr/kemal/releases{/id}","deployments_url":"https://api.github.com/repos/kemalcr/kemal/deployments","created_at":"2015-10-23T16:56:29Z","updated_at":"2018-06-28T05:59:22Z","pushed_at":"2018-06-27T20:33:30Z","git_url":"git://github.com/kemalcr/kemal.git","ssh_url":"git@github.com:kemalcr/kemal.git","clone_url":"https://github.com/kemalcr/kemal.git","svn_url":"https://github.com/kemalcr/kemal","homepage":"http://kemalcr.com","size":543,"stargazers_count":2243,"watchers_count":2243,"language":"Crystal","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":126,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":126,"open_issues":18,"watchers":2243,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kemalcr/kemal/pulls/462"},"html":{"href":"https://github.com/kemalcr/kemal/pull/462"},"issue":{"href":"https://api.github.com/repos/kemalcr/kemal/issues/462"},"comments":{"href":"https://api.github.com/repos/kemalcr/kemal/issues/462/comments"},"review_comments":{"href":"https://api.github.com/repos/kemalcr/kemal/pulls/462/comments"},"review_comment":{"href":"https://api.github.com/repos/kemalcr/kemal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kemalcr/kemal/pulls/462/commits"},"statuses":{"href":"https://api.github.com/repos/kemalcr/kemal/statuses/dca12121efb6a4482f0d3762a31fb6ce29e53a33"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":46,"deletions":32,"changed_files":3}}
{"actor":{"display_login":"jreinert"}}