{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/leo-project/erocksdb/pulls/26","id":68615412,"html_url":"https://github.com/leo-project/erocksdb/pull/26","diff_url":"https://github.com/leo-project/erocksdb/pull/26.diff","patch_url":"https://github.com/leo-project/erocksdb/pull/26.patch","issue_url":"https://api.github.com/repos/leo-project/erocksdb/issues/26","number":26,"state":"open","locked":false,"title":"erocksdb using dirty nifs","user":{"login":"benoitc","id":14498,"avatar_url":"https://avatars.githubusercontent.com/u/14498?v=3","gravatar_id":"","url":"https://api.github.com/users/benoitc","html_url":"https://github.com/benoitc","followers_url":"https://api.github.com/users/benoitc/followers","following_url":"https://api.github.com/users/benoitc/following{/other_user}","gists_url":"https://api.github.com/users/benoitc/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitc/subscriptions","organizations_url":"https://api.github.com/users/benoitc/orgs","repos_url":"https://api.github.com/users/benoitc/repos","events_url":"https://api.github.com/users/benoitc/events{/privacy}","received_events_url":"https://api.github.com/users/benoitc/received_events","type":"User","site_admin":false},"body":"This branch replace the custom thread pool by the usage of dirty nifs. It also contains the following changes:\r\n\r\n- add support for column families\r\n- refactor the code to reuse parts of it across functions\r\n- move the functions that need it under the erocksdb namespace and rename them to use the rocksdb style\r\n- `put`, `get`and `delete` functions are now using `rocksdb:Put`,  `rocksdb:Get`,  `rocksdb:Delete` instead of using write_batch. \r\n- add in memory databases support\r\n- use latest stable version of rocksdb\r\n- add `erocksdb:flush/1` and `erocksdb:aproximate_size/3` functions\r\n\r\nLet me know if you're interested by such change. I can also simply rename the procject as erocksdb_nif if you don't want to support such changes for now :)","created_at":"2016-05-02T20:24:17Z","updated_at":"2016-05-02T20:24:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leo-project/erocksdb/pulls/26/commits","review_comments_url":"https://api.github.com/repos/leo-project/erocksdb/pulls/26/comments","review_comment_url":"https://api.github.com/repos/leo-project/erocksdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leo-project/erocksdb/issues/26/comments","statuses_url":"https://api.github.com/repos/leo-project/erocksdb/statuses/c8c7c76f8891c94b048598e939384769069ce681","head":{"label":"barrel-db:barrel-alpha","ref":"barrel-alpha","sha":"c8c7c76f8891c94b048598e939384769069ce681","user":{"login":"barrel-db","id":12270884,"avatar_url":"https://avatars.githubusercontent.com/u/12270884?v=3","gravatar_id":"","url":"https://api.github.com/users/barrel-db","html_url":"https://github.com/barrel-db","followers_url":"https://api.github.com/users/barrel-db/followers","following_url":"https://api.github.com/users/barrel-db/following{/other_user}","gists_url":"https://api.github.com/users/barrel-db/gists{/gist_id}","starred_url":"https://api.github.com/users/barrel-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barrel-db/subscriptions","organizations_url":"https://api.github.com/users/barrel-db/orgs","repos_url":"https://api.github.com/users/barrel-db/repos","events_url":"https://api.github.com/users/barrel-db/events{/privacy}","received_events_url":"https://api.github.com/users/barrel-db/received_events","type":"Organization","site_admin":false},"repo":{"id":57916719,"name":"erocksdb","full_name":"barrel-db/erocksdb","owner":{"login":"barrel-db","id":12270884,"avatar_url":"https://avatars.githubusercontent.com/u/12270884?v=3","gravatar_id":"","url":"https://api.github.com/users/barrel-db","html_url":"https://github.com/barrel-db","followers_url":"https://api.github.com/users/barrel-db/followers","following_url":"https://api.github.com/users/barrel-db/following{/other_user}","gists_url":"https://api.github.com/users/barrel-db/gists{/gist_id}","starred_url":"https://api.github.com/users/barrel-db/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barrel-db/subscriptions","organizations_url":"https://api.github.com/users/barrel-db/orgs","repos_url":"https://api.github.com/users/barrel-db/repos","events_url":"https://api.github.com/users/barrel-db/events{/privacy}","received_events_url":"https://api.github.com/users/barrel-db/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/barrel-db/erocksdb","description":"Erlang bindings to RocksDB datastore ","fork":true,"url":"https://api.github.com/repos/barrel-db/erocksdb","forks_url":"https://api.github.com/repos/barrel-db/erocksdb/forks","keys_url":"https://api.github.com/repos/barrel-db/erocksdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/barrel-db/erocksdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/barrel-db/erocksdb/teams","hooks_url":"https://api.github.com/repos/barrel-db/erocksdb/hooks","issue_events_url":"https://api.github.com/repos/barrel-db/erocksdb/issues/events{/number}","events_url":"https://api.github.com/repos/barrel-db/erocksdb/events","assignees_url":"https://api.github.com/repos/barrel-db/erocksdb/assignees{/user}","branches_url":"https://api.github.com/repos/barrel-db/erocksdb/branches{/branch}","tags_url":"https://api.github.com/repos/barrel-db/erocksdb/tags","blobs_url":"https://api.github.com/repos/barrel-db/erocksdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/barrel-db/erocksdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/barrel-db/erocksdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/barrel-db/erocksdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/barrel-db/erocksdb/statuses/{sha}","languages_url":"https://api.github.com/repos/barrel-db/erocksdb/languages","stargazers_url":"https://api.github.com/repos/barrel-db/erocksdb/stargazers","contributors_url":"https://api.github.com/repos/barrel-db/erocksdb/contributors","subscribers_url":"https://api.github.com/repos/barrel-db/erocksdb/subscribers","subscription_url":"https://api.github.com/repos/barrel-db/erocksdb/subscription","commits_url":"https://api.github.com/repos/barrel-db/erocksdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/barrel-db/erocksdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/barrel-db/erocksdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/barrel-db/erocksdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/barrel-db/erocksdb/contents/{+path}","compare_url":"https://api.github.com/repos/barrel-db/erocksdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/barrel-db/erocksdb/merges","archive_url":"https://api.github.com/repos/barrel-db/erocksdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/barrel-db/erocksdb/downloads","issues_url":"https://api.github.com/repos/barrel-db/erocksdb/issues{/number}","pulls_url":"https://api.github.com/repos/barrel-db/erocksdb/pulls{/number}","milestones_url":"https://api.github.com/repos/barrel-db/erocksdb/milestones{/number}","notifications_url":"https://api.github.com/repos/barrel-db/erocksdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/barrel-db/erocksdb/labels{/name}","releases_url":"https://api.github.com/repos/barrel-db/erocksdb/releases{/id}","deployments_url":"https://api.github.com/repos/barrel-db/erocksdb/deployments","created_at":"2016-05-02T19:44:04Z","updated_at":"2016-05-02T19:46:27Z","pushed_at":"2016-05-02T20:06:31Z","git_url":"git://github.com/barrel-db/erocksdb.git","ssh_url":"git@github.com:barrel-db/erocksdb.git","clone_url":"https://github.com/barrel-db/erocksdb.git","svn_url":"https://github.com/barrel-db/erocksdb","homepage":null,"size":3419,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"barrel-alpha"}},"base":{"label":"leo-project:develop","ref":"develop","sha":"20a446e2770f52719f0d8643684cb649d032270b","user":{"login":"leo-project","id":1684134,"avatar_url":"https://avatars.githubusercontent.com/u/1684134?v=3","gravatar_id":"","url":"https://api.github.com/users/leo-project","html_url":"https://github.com/leo-project","followers_url":"https://api.github.com/users/leo-project/followers","following_url":"https://api.github.com/users/leo-project/following{/other_user}","gists_url":"https://api.github.com/users/leo-project/gists{/gist_id}","starred_url":"https://api.github.com/users/leo-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo-project/subscriptions","organizations_url":"https://api.github.com/users/leo-project/orgs","repos_url":"https://api.github.com/users/leo-project/repos","events_url":"https://api.github.com/users/leo-project/events{/privacy}","received_events_url":"https://api.github.com/users/leo-project/received_events","type":"Organization","site_admin":false},"repo":{"id":27795796,"name":"erocksdb","full_name":"leo-project/erocksdb","owner":{"login":"leo-project","id":1684134,"avatar_url":"https://avatars.githubusercontent.com/u/1684134?v=3","gravatar_id":"","url":"https://api.github.com/users/leo-project","html_url":"https://github.com/leo-project","followers_url":"https://api.github.com/users/leo-project/followers","following_url":"https://api.github.com/users/leo-project/following{/other_user}","gists_url":"https://api.github.com/users/leo-project/gists{/gist_id}","starred_url":"https://api.github.com/users/leo-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo-project/subscriptions","organizations_url":"https://api.github.com/users/leo-project/orgs","repos_url":"https://api.github.com/users/leo-project/repos","events_url":"https://api.github.com/users/leo-project/events{/privacy}","received_events_url":"https://api.github.com/users/leo-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leo-project/erocksdb","description":"Erlang bindings to RocksDB datastore ","fork":false,"url":"https://api.github.com/repos/leo-project/erocksdb","forks_url":"https://api.github.com/repos/leo-project/erocksdb/forks","keys_url":"https://api.github.com/repos/leo-project/erocksdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leo-project/erocksdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leo-project/erocksdb/teams","hooks_url":"https://api.github.com/repos/leo-project/erocksdb/hooks","issue_events_url":"https://api.github.com/repos/leo-project/erocksdb/issues/events{/number}","events_url":"https://api.github.com/repos/leo-project/erocksdb/events","assignees_url":"https://api.github.com/repos/leo-project/erocksdb/assignees{/user}","branches_url":"https://api.github.com/repos/leo-project/erocksdb/branches{/branch}","tags_url":"https://api.github.com/repos/leo-project/erocksdb/tags","blobs_url":"https://api.github.com/repos/leo-project/erocksdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leo-project/erocksdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leo-project/erocksdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/leo-project/erocksdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leo-project/erocksdb/statuses/{sha}","languages_url":"https://api.github.com/repos/leo-project/erocksdb/languages","stargazers_url":"https://api.github.com/repos/leo-project/erocksdb/stargazers","contributors_url":"https://api.github.com/repos/leo-project/erocksdb/contributors","subscribers_url":"https://api.github.com/repos/leo-project/erocksdb/subscribers","subscription_url":"https://api.github.com/repos/leo-project/erocksdb/subscription","commits_url":"https://api.github.com/repos/leo-project/erocksdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/leo-project/erocksdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/leo-project/erocksdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/leo-project/erocksdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/leo-project/erocksdb/contents/{+path}","compare_url":"https://api.github.com/repos/leo-project/erocksdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leo-project/erocksdb/merges","archive_url":"https://api.github.com/repos/leo-project/erocksdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leo-project/erocksdb/downloads","issues_url":"https://api.github.com/repos/leo-project/erocksdb/issues{/number}","pulls_url":"https://api.github.com/repos/leo-project/erocksdb/pulls{/number}","milestones_url":"https://api.github.com/repos/leo-project/erocksdb/milestones{/number}","notifications_url":"https://api.github.com/repos/leo-project/erocksdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leo-project/erocksdb/labels{/name}","releases_url":"https://api.github.com/repos/leo-project/erocksdb/releases{/id}","deployments_url":"https://api.github.com/repos/leo-project/erocksdb/deployments","created_at":"2014-12-10T01:09:01Z","updated_at":"2016-04-13T18:21:00Z","pushed_at":"2016-05-02T20:16:33Z","git_url":"git://github.com/leo-project/erocksdb.git","ssh_url":"git@github.com:leo-project/erocksdb.git","clone_url":"https://github.com/leo-project/erocksdb.git","svn_url":"https://github.com/leo-project/erocksdb","homepage":null,"size":3376,"stargazers_count":22,"watchers_count":22,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":22,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/leo-project/erocksdb/pulls/26"},"html":{"href":"https://github.com/leo-project/erocksdb/pull/26"},"issue":{"href":"https://api.github.com/repos/leo-project/erocksdb/issues/26"},"comments":{"href":"https://api.github.com/repos/leo-project/erocksdb/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/leo-project/erocksdb/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/leo-project/erocksdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leo-project/erocksdb/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/leo-project/erocksdb/statuses/c8c7c76f8891c94b048598e939384769069ce681"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":30,"additions":2173,"deletions":2726,"changed_files":32}}