payload: {"action":"created","issue":{"url":"https://api.github.com/repos/pravega/pravega/issues/4264","repository_url":"https://api.github.com/repos/pravega/pravega","labels_url":"https://api.github.com/repos/pravega/pravega/issues/4264/labels{/name}","comments_url":"https://api.github.com/repos/pravega/pravega/issues/4264/comments","events_url":"https://api.github.com/repos/pravega/pravega/issues/4264/events","html_url":"https://github.com/pravega/pravega/pull/4264","id":505203538,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI2NjgxNzkw","number":4264,"title":"[WIP] Issue: Ensure the Segment writer does not perform state updates on EventLoop thread.","user":{"login":"shrids","id":11114165,"node_id":"MDQ6VXNlcjExMTE0MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/11114165?v=4","gravatar_id":"","url":"https://api.github.com/users/shrids","html_url":"https://github.com/shrids","followers_url":"https://api.github.com/users/shrids/followers","following_url":"https://api.github.com/users/shrids/following{/other_user}","gists_url":"https://api.github.com/users/shrids/gists{/gist_id}","starred_url":"https://api.github.com/users/shrids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrids/subscriptions","organizations_url":"https://api.github.com/users/shrids/orgs","repos_url":"https://api.github.com/users/shrids/repos","events_url":"https://api.github.com/users/shrids/events{/privacy}","received_events_url":"https://api.github.com/users/shrids/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-10-10T11:17:48Z","updated_at":"2019-10-10T14:20:33Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pravega/pravega/pulls/4264","html_url":"https://github.com/pravega/pravega/pull/4264","diff_url":"https://github.com/pravega/pravega/pull/4264.diff","patch_url":"https://github.com/pravega/pravega/pull/4264.patch"},"body":"(Still under discussion/investigation,)\r\n\r\n**Change log description**  \r\nEnsure the Segment writer on receiving a `WireCommand.DataAppended` updates the writer state on the thread other than the EventLoop thread.\r\n\r\n**Purpose of the change**  \r\nReduces latency for Event writer with/ without connection pooling.\r\n\r\n**What the code does**  \r\nEventLoop threads are used to invoke the netty pipeline sequentially on a network event. This PR ensures the segment writers do not update their internal state using the eventLoop thread. The state updation is performed on the Client's internal executor (sequentially) thereby ensuring the eventLoop thread is free to handle the next event.\r\n\r\n**How to verify it**  \r\nAll the existing tests should pass. Verify the performance characteristic of the writers.\r\n"},"comment":{"url":"https://api.github.com/repos/pravega/pravega/issues/comments/540610406","html_url":"https://github.com/pravega/pravega/pull/4264#issuecomment-540610406","issue_url":"https://api.github.com/repos/pravega/pravega/issues/4264","id":540610406,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDYxMDQwNg==","user":{"login":"andreipaduroiu","id":14354377,"node_id":"MDQ6VXNlcjE0MzU0Mzc3","avatar_url":"https://avatars2.githubusercontent.com/u/14354377?v=4","gravatar_id":"","url":"https://api.github.com/users/andreipaduroiu","html_url":"https://github.com/andreipaduroiu","followers_url":"https://api.github.com/users/andreipaduroiu/followers","following_url":"https://api.github.com/users/andreipaduroiu/following{/other_user}","gists_url":"https://api.github.com/users/andreipaduroiu/gists{/gist_id}","starred_url":"https://api.github.com/users/andreipaduroiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreipaduroiu/subscriptions","organizations_url":"https://api.github.com/users/andreipaduroiu/orgs","repos_url":"https://api.github.com/users/andreipaduroiu/repos","events_url":"https://api.github.com/users/andreipaduroiu/events{/privacy}","received_events_url":"https://api.github.com/users/andreipaduroiu/received_events","type":"User","site_admin":false},"created_at":"2019-10-10T14:20:33Z","updated_at":"2019-10-10T14:20:33Z","author_association":"MEMBER","body":"This looks like a great improvement @shrids!"}}
other: {"actor":{"display_login":"andreipaduroiu"}}