{"action":"created","issue":{"url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/issues/34","labels_url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/issues/34/comments","events_url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/issues/34/events","html_url":"https://github.com/hamiltop/rethinkdb-elixir/issues/34","id":74997080,"number":34,"title":"`Exrethinkdb.Connection.init` should not block.","user":{"login":"hamiltop","id":354848,"avatar_url":"https://avatars.githubusercontent.com/u/354848?v=3","gravatar_id":"","url":"https://api.github.com/users/hamiltop","html_url":"https://github.com/hamiltop","followers_url":"https://api.github.com/users/hamiltop/followers","following_url":"https://api.github.com/users/hamiltop/following{/other_user}","gists_url":"https://api.github.com/users/hamiltop/gists{/gist_id}","starred_url":"https://api.github.com/users/hamiltop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamiltop/subscriptions","organizations_url":"https://api.github.com/users/hamiltop/orgs","repos_url":"https://api.github.com/users/hamiltop/repos","events_url":"https://api.github.com/users/hamiltop/events{/privacy}","received_events_url":"https://api.github.com/users/hamiltop/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/labels/Connection","name":"Connection","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/milestones/1","html_url":"https://github.com/hamiltop/rethinkdb-elixir/milestones/1.0.0","labels_url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/milestones/1/labels","id":1094457,"number":1,"title":"1.0.0","description":"Requirements:\r\n\r\nConnection driver supports:\r\n1. Supervision\r\n2. Can be connection pooled if someone wants to do it (not part of this lib)\r\n3. Support all queries\r\n\r\nQuery language:\r\n1. Every function in official API reference (with some exception which should be noted)\r\n2. Accepts native erlang data and converts to ReQL (arrays, objects, etc.)\r\n3. Documented and spec'd\r\n\r\nResults:\r\n1. Raw result (not an ORM)\r\n2. Feeds are Enumerable\r\n3. Some mechanism for a supervised feed should be possible (documented, but doesn't have to be provided by this lib)\r\n\r\nI feel like these are the foundational pieces and that we can commit to the APIs presented here.","creator":{"login":"hamiltop","id":354848,"avatar_url":"https://avatars.githubusercontent.com/u/354848?v=3","gravatar_id":"","url":"https://api.github.com/users/hamiltop","html_url":"https://github.com/hamiltop","followers_url":"https://api.github.com/users/hamiltop/followers","following_url":"https://api.github.com/users/hamiltop/following{/other_user}","gists_url":"https://api.github.com/users/hamiltop/gists{/gist_id}","starred_url":"https://api.github.com/users/hamiltop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamiltop/subscriptions","organizations_url":"https://api.github.com/users/hamiltop/orgs","repos_url":"https://api.github.com/users/hamiltop/repos","events_url":"https://api.github.com/users/hamiltop/events{/privacy}","received_events_url":"https://api.github.com/users/hamiltop/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":22,"state":"open","created_at":"2015-05-04T03:04:30Z","updated_at":"2015-10-16T21:17:54Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-10T20:32:37Z","updated_at":"2015-10-16T21:17:54Z","closed_at":"2015-10-16T21:17:54Z","body":"The supervisor blocks until start_link is completed. If we were to encounter a network timeout, the supervisor would be blocked the entire time. An alternative approach is to start the process and send it a message to :connect.\r\n\r\nAn example is at https://github.com/ericmj/postgrex/blob/master/lib/postgrex/connection.ex#L45"},"comment":{"url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/issues/comments/148839012","html_url":"https://github.com/hamiltop/rethinkdb-elixir/issues/34#issuecomment-148839012","issue_url":"https://api.github.com/repos/hamiltop/rethinkdb-elixir/issues/34","id":148839012,"user":{"login":"hamiltop","id":354848,"avatar_url":"https://avatars.githubusercontent.com/u/354848?v=3","gravatar_id":"","url":"https://api.github.com/users/hamiltop","html_url":"https://github.com/hamiltop","followers_url":"https://api.github.com/users/hamiltop/followers","following_url":"https://api.github.com/users/hamiltop/following{/other_user}","gists_url":"https://api.github.com/users/hamiltop/gists{/gist_id}","starred_url":"https://api.github.com/users/hamiltop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamiltop/subscriptions","organizations_url":"https://api.github.com/users/hamiltop/orgs","repos_url":"https://api.github.com/users/hamiltop/repos","events_url":"https://api.github.com/users/hamiltop/events{/privacy}","received_events_url":"https://api.github.com/users/hamiltop/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T21:17:53Z","updated_at":"2015-10-16T21:17:53Z","body":"Built on top of `fishcakez/connection` and it works great. Closing."}}