[BlobStorage] Blob construction hints / allow client to specify file storage |
|||||
Issue descriptionAllow clients constructing blobs to specify they would like them saved directly to a file. This can enable certain WASM use-cases for later mmaping the file for execution. The file can have multiple blobs as long as they are all from the same origin, or same 'building group'? Pending investigation whether this is worth it / necessary.
,
May 5 2017
Actually this is unneeded - IDB writes blobs to files anyways. Would be maybe an optimization? AS we don't need to move memory from renderr to browser, just to write to file, as we know we will for IDB? The reading from file handle is more important here.
,
May 5 2017
Although, if we want the run-path of WASM to be the same for both idb-saved modules and regular modules, then it would be better to allow direct-to-file blob saving. Esp if things are really big? In that case they probably should be saved to blob directly from the network, which actually already exists. So maybe not necessary still from the construction point of view?
,
May 8 2017
,
May 9 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 9 2018
As mentioned in #2 unclear if this is actually something we want, but leaving available for now anyway. If we do want mmap-able blobs for non-idb backed blobs we'll likely need something like this after all. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dmu...@chromium.org
, May 5 2017