Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting concurrent OPFS file access in all supported web browsers #2043

Open
brandonpayton opened this issue Dec 3, 2024 · 2 comments
Open
Labels
[Aspect] Browser [Feature] OPFS [Type] Tracking Tactical breakdown of efforts across the codebase and/or tied to Overview issues.

Comments

@brandonpayton
Copy link
Member

Today, only Chromium-based browsers support concurrent access to files stored in OPFS. This makes it difficult to implement multiple PHP workers because each needs access to the same DB file.

I filed bugs for Firefox and a WebKit to support concurrent OPFS file access in the same way Chromium does, via the readwrite-unsafe mode argument to createSyncFileAccessHandle().

Let's use this issue to track the progress of those requests.

@brandonpayton brandonpayton added [Aspect] Browser [Feature] OPFS [Type] Tracking Tactical breakdown of efforts across the codebase and/or tied to Overview issues. labels Dec 3, 2024
@brandonpayton
Copy link
Member Author

For Firefox, there is this minor update:

This is a non-standard feature but there is a proposal and thanks to this bug, the process of defining a standards position has now been set in motion. Let's hope that it will be favorable.

No response for WebKit yet.

@brandonpayton
Copy link
Member Author

There is also this WebKit/standards-positions issue that seems relevant:

"Multiple Readers and Writers in File System Access API"
WebKit/standards-positions#238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Browser [Feature] OPFS [Type] Tracking Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Projects
None yet
Development

No branches or pull requests

1 participant