spinframework/containerd-shim-spin

Redundant file copies for every pod start

Open

#40 opened on Mar 13, 2024

 (3 comments) (1 reaction) (0 assignees)Rust (30 forks)auto 404
help wanted

Repository metrics

Stars
 (138 stars)
PR merge metrics
 (PR metrics pending)

Description

The startup time for a Spin application distributed as an OCI artifact is affected by several copies of the Wasm components and static assets on disk.

Since this time is spent on every pod start, my assumption is that it affects performance, in particular for applications with a higher number of components and assets.

I'd like to see if we can improve this, potentially by implementing a Spin application loader that directly uses the runwasi list of WasmLayers and skips all the copies.

Contributor guide