{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/4727","repository_url":"https://api.github.com/repos/atom/electron","labels_url":"https://api.github.com/repos/atom/electron/issues/4727/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/4727/comments","events_url":"https://api.github.com/repos/atom/electron/issues/4727/events","html_url":"https://github.com/atom/electron/issues/4727","id":139517336,"number":4727,"title":"Unclear how appData/userData folder behaves with multiple Electron instances","user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-09T09:04:56Z","updated_at":"2016-03-10T08:04:46Z","closed_at":"2016-03-10T07:45:50Z","body":"This is more a question or ask to update docs, not an issue: When using Electron, all of Chromes configuration files end up in appData (e.g. local storage, indexdb). It is not clear to me if it is OK to have 2 instances of Electron running at the same time both sharing the same appData folder. \r\n\r\nIn the past I have seen at least one case where this was not possible: Using IndexDB seems to lock the appData folder so that a second instance is not fighting over the IndexDB resources. This seems like a valid thing for IndexDB to do. \r\n\r\nHowever, in which cases is it OK to have multiple instances on the same appData folder and when should it be prevented? Imagine the second instance is not spawning a renderer process and is just there to talk to the \"main\" instance via some ipc mechanism. Would the appData folder still have resources that both instances would fight over?\r\n"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/194723323","html_url":"https://github.com/atom/electron/issues/4727#issuecomment-194723323","issue_url":"https://api.github.com/repos/atom/electron/issues/4727","id":194723323,"user":{"login":"zcbenz","id":639601,"avatar_url":"https://avatars.githubusercontent.com/u/639601?v=3","gravatar_id":"","url":"https://api.github.com/users/zcbenz","html_url":"https://github.com/zcbenz","followers_url":"https://api.github.com/users/zcbenz/followers","following_url":"https://api.github.com/users/zcbenz/following{/other_user}","gists_url":"https://api.github.com/users/zcbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zcbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcbenz/subscriptions","organizations_url":"https://api.github.com/users/zcbenz/orgs","repos_url":"https://api.github.com/users/zcbenz/repos","events_url":"https://api.github.com/users/zcbenz/events{/privacy}","received_events_url":"https://api.github.com/users/zcbenz/received_events","type":"User","site_admin":true},"created_at":"2016-03-10T08:04:46Z","updated_at":"2016-03-10T08:04:46Z","body":"Yeah under that condition it should be OK."}}