Skip to content

WasmFS: Design for persistent backends #15946

Closed

Description

@tlively

There are a number of open questions about how persistent storage should work in WasmFS:

  1. How should persisted directory entries refer to files in other backends?

  2. What happens when a directory entry references a persisted file that no longer exists?

  3. Should the user be responsible for recreating the backends necessary to read persisted data or should the system somehow create the backends automatically?

  4. What happens when the data format a backend uses changes?

  5. What additional backend APIs will we need to allow backends to create meaningful names for persisted files?

Activity

  1. curiousdannii commented on Jan 10, 2022

    @curiousdannii
    Contributor

    I want to make a FS that connects to Dropbox. Would that be classified as "persisted"?

  2. tlively commented on Jan 11, 2022

    @tlively
    MemberAuthor

    Yes, because there might be data already there and ready to open on application startup.

  3. added this to the WasmFS feature parity milestone on Jan 11, 2022
  4. tlively commented on Jun 1, 2022

    @tlively
    MemberAuthor

    This was resolved by #16739. The backend API is now structured to work with persistent backends and proven out in the node and opfs backends.

  5. Repository owner moved this from Todo to Done in WasmFSon Jun 1, 2022
  6. mere-human commented on Jun 1, 2022

    @mere-human
    Contributor

    Will the backend API be officially available for external usage?

  7. tlively commented on Jun 1, 2022

    @tlively
    MemberAuthor

    Yes, although we'll want to iterate on it a lot more before stabilizing it. I filed #17122 track this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions