{"action":"created","issue":{"url":"https://api.github.com/repos/sksamuel/elastic4s/issues/385","labels_url":"https://api.github.com/repos/sksamuel/elastic4s/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/sksamuel/elastic4s/issues/385/comments","events_url":"https://api.github.com/repos/sksamuel/elastic4s/issues/385/events","html_url":"https://github.com/sksamuel/elastic4s/issues/385","id":102247455,"number":385,"title":"is ElasticClient thread safe? (connection pooling)","user":{"login":"janghwan","id":1624056,"avatar_url":"https://avatars.githubusercontent.com/u/1624056?v=3","gravatar_id":"","url":"https://api.github.com/users/janghwan","html_url":"https://github.com/janghwan","followers_url":"https://api.github.com/users/janghwan/followers","following_url":"https://api.github.com/users/janghwan/following{/other_user}","gists_url":"https://api.github.com/users/janghwan/gists{/gist_id}","starred_url":"https://api.github.com/users/janghwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janghwan/subscriptions","organizations_url":"https://api.github.com/users/janghwan/orgs","repos_url":"https://api.github.com/users/janghwan/repos","events_url":"https://api.github.com/users/janghwan/events{/privacy}","received_events_url":"https://api.github.com/users/janghwan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-20T22:02:50Z","updated_at":"2015-08-21T17:07:27Z","closed_at":null,"body":"Hi guys.\r\nI wonder what's the best usage of `ElasticClient`\r\nIs it okay -  in terms of performance - to call `ElasticClient.remote()` every time I need a client?\r\nOr should I cache a singleton object and share among threads?\r\n"},"comment":{"url":"https://api.github.com/repos/sksamuel/elastic4s/issues/comments/133496626","html_url":"https://github.com/sksamuel/elastic4s/issues/385#issuecomment-133496626","issue_url":"https://api.github.com/repos/sksamuel/elastic4s/issues/385","id":133496626,"user":{"login":"janghwan","id":1624056,"avatar_url":"https://avatars.githubusercontent.com/u/1624056?v=3","gravatar_id":"","url":"https://api.github.com/users/janghwan","html_url":"https://github.com/janghwan","followers_url":"https://api.github.com/users/janghwan/followers","following_url":"https://api.github.com/users/janghwan/following{/other_user}","gists_url":"https://api.github.com/users/janghwan/gists{/gist_id}","starred_url":"https://api.github.com/users/janghwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janghwan/subscriptions","organizations_url":"https://api.github.com/users/janghwan/orgs","repos_url":"https://api.github.com/users/janghwan/repos","events_url":"https://api.github.com/users/janghwan/events{/privacy}","received_events_url":"https://api.github.com/users/janghwan/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T17:07:26Z","updated_at":"2015-08-21T17:07:26Z","body":"Thanks! @andrestc @sksamuel "}}