{"action":"created","issue":{"url":"https://api.github.com/repos/nats-io/csnats/issues/78","repository_url":"https://api.github.com/repos/nats-io/csnats","labels_url":"https://api.github.com/repos/nats-io/csnats/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/nats-io/csnats/issues/78/comments","events_url":"https://api.github.com/repos/nats-io/csnats/issues/78/events","html_url":"https://github.com/nats-io/csnats/issues/78","id":157251449,"number":78,"title":"Improve performance of the Request API","user":{"login":"ColinSullivan1","id":11180189,"avatar_url":"https://avatars.githubusercontent.com/u/11180189?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinSullivan1","html_url":"https://github.com/ColinSullivan1","followers_url":"https://api.github.com/users/ColinSullivan1/followers","following_url":"https://api.github.com/users/ColinSullivan1/following{/other_user}","gists_url":"https://api.github.com/users/ColinSullivan1/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinSullivan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinSullivan1/subscriptions","organizations_url":"https://api.github.com/users/ColinSullivan1/orgs","repos_url":"https://api.github.com/users/ColinSullivan1/repos","events_url":"https://api.github.com/users/ColinSullivan1/events{/privacy}","received_events_url":"https://api.github.com/users/ColinSullivan1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-27T17:09:54Z","updated_at":"2016-06-08T15:04:13Z","closed_at":null,"body":"Look into enhancing performance of the Connection.Request API.\r\n\r\n* Improve latency in the benchmark through usage of a synchronous subscription when replying.\r\n* Replace calls to the public API with directly writing the protocol commands to the write buffer.  This reduces contention in a number of ways, primarily through eliminating unnecessary kicks to the flusher thread.\r\n* Evaluate a \"soft\" flush - flushing the write buffer without a ping.\r\n\r\nBased on #73."},"comment":{"url":"https://api.github.com/repos/nats-io/csnats/issues/comments/224618479","html_url":"https://github.com/nats-io/csnats/issues/78#issuecomment-224618479","issue_url":"https://api.github.com/repos/nats-io/csnats/issues/78","id":224618479,"user":{"login":"dotnetchris","id":116135,"avatar_url":"https://avatars.githubusercontent.com/u/116135?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnetchris","html_url":"https://github.com/dotnetchris","followers_url":"https://api.github.com/users/dotnetchris/followers","following_url":"https://api.github.com/users/dotnetchris/following{/other_user}","gists_url":"https://api.github.com/users/dotnetchris/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnetchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnetchris/subscriptions","organizations_url":"https://api.github.com/users/dotnetchris/orgs","repos_url":"https://api.github.com/users/dotnetchris/repos","events_url":"https://api.github.com/users/dotnetchris/events{/privacy}","received_events_url":"https://api.github.com/users/dotnetchris/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T15:04:13Z","updated_at":"2016-06-08T15:04:13Z","body":"I saw this project on The Morning Brew, just read over the readme and was going to create an issue but this seems fitting enough to stick here. I can split it out to a different issue if you think it deserves to be elsewhere\r\n\r\nI saw the default serializer is the BinaryFormatter, this is just awfully slow. I also believe they killed the BinaryFormatter in regards to .NET Core (.NET Standard? i don't even what things are named anymore they've changed it so many times). \r\n\r\nIn order of preference, the reference and default implementation for serialization should be: [JIL](https://github.com/kevin-montrose/Jil), [Microsoft Bond](https://microsoft.github.io/bond/why_bond.html), or [Protobuf.NET](https://github.com/mgravell/protobuf-net)"}}
{"actor":{"display_login":"dotnetchris"}}