{"action":"created","issue":{"url":"https://api.github.com/repos/ktorio/ktor/issues/286","repository_url":"https://api.github.com/repos/ktorio/ktor","labels_url":"https://api.github.com/repos/ktorio/ktor/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/ktorio/ktor/issues/286/comments","events_url":"https://api.github.com/repos/ktorio/ktor/issues/286/events","html_url":"https://github.com/ktorio/ktor/issues/286","id":285259708,"number":286,"title":"Using existing event-loop group","user":{"login":"dave08","id":813812,"avatar_url":"https://avatars1.githubusercontent.com/u/813812?v=4","gravatar_id":"","url":"https://api.github.com/users/dave08","html_url":"https://github.com/dave08","followers_url":"https://api.github.com/users/dave08/followers","following_url":"https://api.github.com/users/dave08/following{/other_user}","gists_url":"https://api.github.com/users/dave08/gists{/gist_id}","starred_url":"https://api.github.com/users/dave08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dave08/subscriptions","organizations_url":"https://api.github.com/users/dave08/orgs","repos_url":"https://api.github.com/users/dave08/repos","events_url":"https://api.github.com/users/dave08/events{/privacy}","received_events_url":"https://api.github.com/users/dave08/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-31T14:17:28Z","updated_at":"2018-01-01T17:43:26Z","closed_at":null,"author_association":"NONE","body":"Using components from libraries that have their own event loop causes the creation of an extra (unecessary) event loop. There are currently two possibilities: the library itself using Ktor's event loop, or providing the means to re-use the library's implemented event loop.\n\nIn the case of Vert.x, its event loop group can be retrieved by using vertx.nettyEventLoopGroup(), if it could be re-used by Ktor. Or for Ktor to pass its own event loop, it should pass a Transport that is responsible for building Vert.x event loop groups (because with native transport the even loop impl is diffrent). \n\nIn vert.x, in 3.5.1 there is a feature planned, for reuse of an existing event loop group and reuse for instance ktor event loop, if ktor exposes its event loop group."},"comment":{"url":"https://api.github.com/repos/ktorio/ktor/issues/comments/354665742","html_url":"https://github.com/ktorio/ktor/issues/286#issuecomment-354665742","issue_url":"https://api.github.com/repos/ktorio/ktor/issues/286","id":354665742,"user":{"login":"dave08","id":813812,"avatar_url":"https://avatars1.githubusercontent.com/u/813812?v=4","gravatar_id":"","url":"https://api.github.com/users/dave08","html_url":"https://github.com/dave08","followers_url":"https://api.github.com/users/dave08/followers","following_url":"https://api.github.com/users/dave08/following{/other_user}","gists_url":"https://api.github.com/users/dave08/gists{/gist_id}","starred_url":"https://api.github.com/users/dave08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dave08/subscriptions","organizations_url":"https://api.github.com/users/dave08/orgs","repos_url":"https://api.github.com/users/dave08/repos","events_url":"https://api.github.com/users/dave08/events{/privacy}","received_events_url":"https://api.github.com/users/dave08/received_events","type":"User","site_admin":false},"created_at":"2018-01-01T17:43:26Z","updated_at":"2018-01-01T17:43:26Z","author_association":"NONE","body":"You mean that ktor would expose its eventloopgroup, and then the work would be wiring Vert.x to use it?"}}
{"actor":{"display_login":"dave08"}}