{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/103","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/103/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/103/events","html_url":"https://github.com/arvidn/libtorrent/issues/103","id":102148900,"number":103,"title":"Question about how to persist DHT's stored items","user":{"login":"aldenml","id":143813,"avatar_url":"https://avatars.githubusercontent.com/u/143813?v=3","gravatar_id":"","url":"https://api.github.com/users/aldenml","html_url":"https://github.com/aldenml","followers_url":"https://api.github.com/users/aldenml/followers","following_url":"https://api.github.com/users/aldenml/following{/other_user}","gists_url":"https://api.github.com/users/aldenml/gists{/gist_id}","starred_url":"https://api.github.com/users/aldenml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldenml/subscriptions","organizations_url":"https://api.github.com/users/aldenml/orgs","repos_url":"https://api.github.com/users/aldenml/repos","events_url":"https://api.github.com/users/aldenml/events{/privacy}","received_events_url":"https://api.github.com/users/aldenml/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-08-20T14:13:29Z","updated_at":"2015-09-26T23:05:57Z","closed_at":null,"body":"Hi @arvidn, I want to ask first if this is something that you are open to incorporate in the library.\r\n\r\nMy motivations is that in mobile devices, the process can be destroyed aggressively, and losing all the stored items (mutable and inmutable) does not help to the network. Also, this could open the door to very big tables without RAM penalty.\r\n\r\nMy idea is: some how provide a \"dht_item_table_storage\" whose default (and only) implementation is a RAM std::map as it is now. If you think this is a good idea, a will appreciate your tips about I should start passing this parameter."},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/143503185","html_url":"https://github.com/arvidn/libtorrent/issues/103#issuecomment-143503185","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/103","id":143503185,"user":{"login":"aldenml","id":143813,"avatar_url":"https://avatars.githubusercontent.com/u/143813?v=3","gravatar_id":"","url":"https://api.github.com/users/aldenml","html_url":"https://github.com/aldenml","followers_url":"https://api.github.com/users/aldenml/followers","following_url":"https://api.github.com/users/aldenml/following{/other_user}","gists_url":"https://api.github.com/users/aldenml/gists{/gist_id}","starred_url":"https://api.github.com/users/aldenml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldenml/subscriptions","organizations_url":"https://api.github.com/users/aldenml/orgs","repos_url":"https://api.github.com/users/aldenml/repos","events_url":"https://api.github.com/users/aldenml/events{/privacy}","received_events_url":"https://api.github.com/users/aldenml/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T23:05:57Z","updated_at":"2015-09-26T23:05:57Z","body":"I settled for a session method but with the restriction that the dht can't be running: https://github.com/arvidn/libtorrent/pull/189"}}