{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/522","labels_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/522/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/522/comments","events_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/522/events","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/522","id":123581702,"number":522,"title":"Concurrent work queues, less native async_send transitions","user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/labels/cla-already-signed","name":"cla-already-signed","color":"009800"},{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/labels/needs%20measuring","name":"needs measuring","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-23T00:38:06Z","updated_at":"2016-01-04T21:20:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/pulls/522","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/522","diff_url":"https://github.com/aspnet/KestrelHttpServer/pull/522.diff","patch_url":"https://github.com/aspnet/KestrelHttpServer/pull/522.patch"},"body":"Process queues till complete\r\nRemove the high contention locks\r\nReduce the calls to native `async_send` when not required (e.g. loop is currently processing).\r\n\r\nFrom #519"},"comment":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/comments/168812349","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/522#issuecomment-168812349","issue_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/522","id":168812349,"user":{"login":"benaadams","id":1142958,"avatar_url":"https://avatars.githubusercontent.com/u/1142958?v=3","gravatar_id":"","url":"https://api.github.com/users/benaadams","html_url":"https://github.com/benaadams","followers_url":"https://api.github.com/users/benaadams/followers","following_url":"https://api.github.com/users/benaadams/following{/other_user}","gists_url":"https://api.github.com/users/benaadams/gists{/gist_id}","starred_url":"https://api.github.com/users/benaadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benaadams/subscriptions","organizations_url":"https://api.github.com/users/benaadams/orgs","repos_url":"https://api.github.com/users/benaadams/repos","events_url":"https://api.github.com/users/benaadams/events{/privacy}","received_events_url":"https://api.github.com/users/benaadams/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T21:20:52Z","updated_at":"2016-01-04T21:20:52Z","body":"i.e. on the swapping if it was a single writer and single reader; rather than many writers and one reader then the swap would probably be better - but then the lock would also only need to exist on the swap; not on add"}}