Skip to content

Use squasfs for conda environment #85

@martenrichter

Description

@martenrichter

Still, Jupyter Lite with Xeus kernel suffers from long startup times.
I concluded that little tweaks would not help overcome the problem.

One main time-consuming part for the startup is downloading and decompressing the tar archives.
So it would be a better idea to store the environment in a squashfs. (Only download files really required!)
I have looked into the Emscripten source code, and the new WASMFS should allow a relatively simple implementation (though it has to be included in Emscripten).
One caveat is that it is only performant if the browser and server allow caching of HTTP range downloads. This may add some complexity.
It will also add a decompression step for file access.

I do not know if and when I would invest time in this idea. Before the question, does this solution sound worth pursuing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions