Web Kernel

graph

subgraph Page: http://foo.com
    subgraph WASM Shared Memory
        subgraph Linux Kernel Library
            LklW(Linux Kernel Library WASM Module)-->|implements|LklWVIO(Linux Kernel Library VirtIO Web Drivers)
        end
    end

    subgraph Worker: http://foo.com/app_a
        AppA(WASM App A)-->|Links With|LklW
    end

    subgraph Worker: http://foo.com/app_b
        AppB(WASM App B)-->|Links With|LklW
    end

    WebAPI(Web API)<-->|interacts with|LklWVIO
end

Web File System

graph LR

subgraph JuiceFS Server
    ds(Object Storage - PostgreSQL)
    Mds(Metadata Engine - ElectricSQL)
end

subgraph Web App
    AppA(WASM App)<-->jfswasm(JuiceFS WASM client)

    jfswasm<-->|local|MdsC(Metadata Engine Cache - ElectricSQL)
    jfswasm<-->ds

    MdsC<-->Mds
end

subgraph Remote App
    AppB(Remote App)<-->jfsnative(JuiceFS Native client)

    jfsnative<-->|local|MdsCA(Metadata Engine Cache - ElectricSQL)
    jfsnative<-->ds

    MdsCA<-->Mds
end