{"action":"created","issue":{"url":"https://api.github.com/repos/olivere/elastic/issues/254","repository_url":"https://api.github.com/repos/olivere/elastic","labels_url":"https://api.github.com/repos/olivere/elastic/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/olivere/elastic/issues/254/comments","events_url":"https://api.github.com/repos/olivere/elastic/issues/254/events","html_url":"https://github.com/olivere/elastic/issues/254","id":144221831,"number":254,"title":"JSON serialization/deserialization performance","user":{"login":"olivere","id":134848,"avatar_url":"https://avatars.githubusercontent.com/u/134848?v=3","gravatar_id":"","url":"https://api.github.com/users/olivere","html_url":"https://github.com/olivere","followers_url":"https://api.github.com/users/olivere/followers","following_url":"https://api.github.com/users/olivere/following{/other_user}","gists_url":"https://api.github.com/users/olivere/gists{/gist_id}","starred_url":"https://api.github.com/users/olivere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivere/subscriptions","organizations_url":"https://api.github.com/users/olivere/orgs","repos_url":"https://api.github.com/users/olivere/repos","events_url":"https://api.github.com/users/olivere/events{/privacy}","received_events_url":"https://api.github.com/users/olivere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-03-29T10:20:49Z","updated_at":"2016-08-29T11:37:06Z","closed_at":null,"body":"JSON serialization/deserialization seems to be an issue with many users, especially running Bulk / Search operations at scale.\r\n\r\nThings we could do:\r\n\r\n1. Use [ffjson](https://github.com/pquerna/ffjson) for the hot paths like Search/Bulk. \r\n2. Re-using buffers via `sync.Pool` to reduce GC pressure. Something like [this](https://github.com/camlistore/camlistore/blob/master/pkg/httputil/httputil.go#L273-L304).\r\n3. Keep an eye on [#317](https://github.com/google/go-github/pull/317) and/or use [go-drainclose](https://github.com/mattn/go-drainclose) before this gets fixed in Go. Of course, we need to check if this has an impact for Elastic as well.\r\n\r\nRelated issues #253, #208."},"comment":{"url":"https://api.github.com/repos/olivere/elastic/issues/comments/243100482","html_url":"https://github.com/olivere/elastic/issues/254#issuecomment-243100482","issue_url":"https://api.github.com/repos/olivere/elastic/issues/254","id":243100482,"user":{"login":"rami-dabain","id":1197104,"avatar_url":"https://avatars.githubusercontent.com/u/1197104?v=3","gravatar_id":"","url":"https://api.github.com/users/rami-dabain","html_url":"https://github.com/rami-dabain","followers_url":"https://api.github.com/users/rami-dabain/followers","following_url":"https://api.github.com/users/rami-dabain/following{/other_user}","gists_url":"https://api.github.com/users/rami-dabain/gists{/gist_id}","starred_url":"https://api.github.com/users/rami-dabain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rami-dabain/subscriptions","organizations_url":"https://api.github.com/users/rami-dabain/orgs","repos_url":"https://api.github.com/users/rami-dabain/repos","events_url":"https://api.github.com/users/rami-dabain/events{/privacy}","received_events_url":"https://api.github.com/users/rami-dabain/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T11:37:06Z","updated_at":"2016-08-29T11:37:06Z","body":"I have used https://github.com/buger/jsonparser, it's about 10X faster than stock json package "}}
{"actor":{"display_login":"rami-dabain"}}