wasmCloud / wascc-host

Library for hosting actors and capability providers in a host process
Apache License 2.0
202 stars 15 forks source link

Live update functionality needs to download source bytes from Gantry #79

Closed autodidaddict closed 3 years ago

autodidaddict commented 4 years ago

When running on a lattice, the maximum message size (by default) is 1mb. This means that if someone attempts to send an entire wasm module via a single invocation while in lattice mode, it will break the connection to NATS because of exceeding the maximum payload size.

A newer, better way to deal with live updates is for the wascc host to accept chunked pieces of the live update before finally swapping the bytes. This will avoid breaking things when people try and use live update in lattice mode.

autodidaddict commented 3 years ago

Rather than chunking a push of an update to a target, once the target receives the update command, it will be responsible for downloading the bytes from Gantry

autodidaddict commented 3 years ago

No longer relevant.