New issue
Advanced search Search tips

Issue 719004 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Feature

Blocking:
issue 719007


Participants' hotlists:
OWP-Storage-WASM


Sign in to add a comment

[BlobStorage] Blob construction hints / allow client to specify file storage

Project Member Reported by dmu...@chromium.org, May 5 2017

Issue description

Allow 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.
 
Blocking: 719007
Components: Blink>Storage
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.
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?
Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)
Project Member

Comment 5 by sheriffbot@chromium.org, May 9 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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

Comment 6 by mek@chromium.org, May 9 2018

Status: Available (was: Untriaged)
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