{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/sarama/issues/711","repository_url":"https://api.github.com/repos/Shopify/sarama","labels_url":"https://api.github.com/repos/Shopify/sarama/issues/711/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/sarama/issues/711/comments","events_url":"https://api.github.com/repos/Shopify/sarama/issues/711/events","html_url":"https://github.com/Shopify/sarama/issues/711","id":167529337,"number":711,"title":"Performance optimization in gzip decoding","user":{"login":"nieksand","id":1396037,"avatar_url":"https://avatars.githubusercontent.com/u/1396037?v=3","gravatar_id":"","url":"https://api.github.com/users/nieksand","html_url":"https://github.com/nieksand","followers_url":"https://api.github.com/users/nieksand/followers","following_url":"https://api.github.com/users/nieksand/following{/other_user}","gists_url":"https://api.github.com/users/nieksand/gists{/gist_id}","starred_url":"https://api.github.com/users/nieksand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nieksand/subscriptions","organizations_url":"https://api.github.com/users/nieksand/orgs","repos_url":"https://api.github.com/users/nieksand/repos","events_url":"https://api.github.com/users/nieksand/events{/privacy}","received_events_url":"https://api.github.com/users/nieksand/received_events","type":"User","site_admin":false},"labels":[{"id":46583935,"url":"https://api.github.com/repos/Shopify/sarama/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":48528074,"url":"https://api.github.com/repos/Shopify/sarama/labels/protocol","name":"protocol","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-26T06:19:12Z","updated_at":"2016-11-22T19:29:42Z","closed_at":null,"body":"I've found a pretty good performance lift from reusing the gzip Reader in message decoding when working at tens of thousands of RPS against a topic with 128 partitions.\n\nFrom five runs...\nsarama master: 42774 rps avg, stddev=2425\ngzip reuse: 48772 rps avg, stddev=2034\n\nThe code changes are pretty minimal:\nhttps://github.com/Shopify/sarama/compare/master...nieksand:a317191\n\nTwo questions:\n1. Do you have any suggestions for a nicer / more holistic way of managing resource reuse across messages?  I suspect something further up the hierarchy could pass down this information rather than needing the synchronization overhead of a Go pool.\n2. Is this interesting enough to be merged to mainline if I clean it up and pop a PR?\n"},"comment":{"url":"https://api.github.com/repos/Shopify/sarama/issues/comments/262340570","html_url":"https://github.com/Shopify/sarama/issues/711#issuecomment-262340570","issue_url":"https://api.github.com/repos/Shopify/sarama/issues/711","id":262340570,"user":{"login":"eapache","id":1706826,"avatar_url":"https://avatars.githubusercontent.com/u/1706826?v=3","gravatar_id":"","url":"https://api.github.com/users/eapache","html_url":"https://github.com/eapache","followers_url":"https://api.github.com/users/eapache/followers","following_url":"https://api.github.com/users/eapache/following{/other_user}","gists_url":"https://api.github.com/users/eapache/gists{/gist_id}","starred_url":"https://api.github.com/users/eapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eapache/subscriptions","organizations_url":"https://api.github.com/users/eapache/orgs","repos_url":"https://api.github.com/users/eapache/repos","events_url":"https://api.github.com/users/eapache/events{/privacy}","received_events_url":"https://api.github.com/users/eapache/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T19:29:42Z","updated_at":"2016-11-22T19:29:42Z","body":"Did the PR never happen?"}}
{"actor":{"display_login":"eapache"}}