{"action":"created","issue":{"url":"https://api.github.com/repos/krotik/eliasdb/issues/8","repository_url":"https://api.github.com/repos/krotik/eliasdb","labels_url":"https://api.github.com/repos/krotik/eliasdb/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/krotik/eliasdb/issues/8/comments","events_url":"https://api.github.com/repos/krotik/eliasdb/issues/8/events","html_url":"https://github.com/krotik/eliasdb/issues/8","id":191279861,"number":8,"title":"Return key?","user":{"login":"dmikov","id":5971459,"avatar_url":"https://avatars.githubusercontent.com/u/5971459?v=3","gravatar_id":"","url":"https://api.github.com/users/dmikov","html_url":"https://github.com/dmikov","followers_url":"https://api.github.com/users/dmikov/followers","following_url":"https://api.github.com/users/dmikov/following{/other_user}","gists_url":"https://api.github.com/users/dmikov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikov/subscriptions","organizations_url":"https://api.github.com/users/dmikov/orgs","repos_url":"https://api.github.com/users/dmikov/repos","events_url":"https://api.github.com/users/dmikov/events{/privacy}","received_events_url":"https://api.github.com/users/dmikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T14:09:16Z","updated_at":"2016-11-23T19:16:36Z","closed_at":null,"body":"Well first off all, I like it very much. The storage engine is nice and well documented. I like how it's  follows physical storage model, but dynamic size allocation. I wish I could get it for python lol. \r\nAnyway trying to see on how I can get a key if I supply just a data. The swagger looks, like it doesn't return anything but 200 when you store. Is there special sequence provider I overlooked?\r\nThirdly, partitions are nice, but I liked how OrientDb linked them to the types(classes) so if you store Line db knows which partition it goes to. Makes for explicit configuration, but more fluid application coding. Just a suggestion.\r\nFourthly, do you hang on Gitter or any other channels to talk about this project other then issues section?"},"comment":{"url":"https://api.github.com/repos/krotik/eliasdb/issues/comments/262606638","html_url":"https://github.com/krotik/eliasdb/issues/8#issuecomment-262606638","issue_url":"https://api.github.com/repos/krotik/eliasdb/issues/8","id":262606638,"user":{"login":"krotik","id":7659149,"avatar_url":"https://avatars.githubusercontent.com/u/7659149?v=3","gravatar_id":"","url":"https://api.github.com/users/krotik","html_url":"https://github.com/krotik","followers_url":"https://api.github.com/users/krotik/followers","following_url":"https://api.github.com/users/krotik/following{/other_user}","gists_url":"https://api.github.com/users/krotik/gists{/gist_id}","starred_url":"https://api.github.com/users/krotik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krotik/subscriptions","organizations_url":"https://api.github.com/users/krotik/orgs","repos_url":"https://api.github.com/users/krotik/repos","events_url":"https://api.github.com/users/krotik/events{/privacy}","received_events_url":"https://api.github.com/users/krotik/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T19:16:36Z","updated_at":"2016-11-23T19:16:36Z","body":"Hi,\r\n\r\nI am glad you like it :-) The key (as well as the node kind) is supposed to be provided by the client. A simple way to generate a key would be for example to run MD5 over the existing data (if you want to avoid duplication) or you could just use a uuid generator.\r\n\r\nIn the moment the REST API does indeed only return a 200 or an error. The interface used in the tutorial is using the REST API.\r\n\r\nIf you just want to store a binary blob it might make sense to expose the low level storage manager interface in the REST API. Here you just store binary data and get a record location. This is currently not implemented.\r\n\r\nA main reason why I didn't go with python was the GIL and that Go is a compiled language.\r\n\r\nAssuming types/classes are the node kinds in EliasDB it would be possible to do some kind of auto routing for partitions but couldn't this be easily implemented on the client side? Implementing this on the server side, you would need some kind of mapping kind->partition and a default partition. Or have I misunderstood your suggestion?\r\n\r\nI've never used Gitter before but I see that a lot of OSS projects are there so I'll open an account :-)\r\n\r\nAddress is: gitter.im/eliasdb"}}
{"actor":{"display_login":"krotik"}}