I'll start with the big part. IPFS Companion is a browser extension. Extensions run in the main web UI thread. Service / web workers run in their own thread.
To improve performance of Drive, we could implement a service worker version of IPFS running in the browser.
This would not be compatible with IPFS Companion, so this means dropping support for IPFS Companion. It has about 20K installs and lets users run a local IPFS node.
Since we focus on making our services work web native in all browsers, even if they use some cutting edge tech, relying on extensions isn't in line with our goals.
The problem is that we need a separate ipfs daemon in every webpage. So, performance when running multiple apps / across multiple domains may be an issue.
Relevant discussions from IPFS land:
I'll start with the big part. IPFS Companion is a browser extension. Extensions run in the main web UI thread. Service / web workers run in their own thread.
To improve performance of Drive, we could implement a service worker version of IPFS running in the browser.
This would not be compatible with IPFS Companion, so this means dropping support for IPFS Companion. It has about 20K installs and lets users run a local IPFS node.
Since we focus on making our services work web native in all browsers, even if they use some cutting edge tech, relying on extensions isn't in line with our goals.
The problem is that we need a separate ipfs daemon in every webpage. So, performance when running multiple apps / across multiple domains may be an issue.
Relevant discussions from IPFS land: