[feature/docs] Document GTS_WAZERO_COMPILATION_CACHE
for caching pre-compiled WASM to disk
#3233
Labels
GTS_WAZERO_COMPILATION_CACHE
for caching pre-compiled WASM to disk
#3233
Is your feature request related to a problem ?
When starting up the server binary, especially on lower power machines, the
precompiling WebAssembly
step can take a while, even if the version of the binary remains unchanged.Describe the solution you'd like.
It may be worthwhile to look at caching the compiled WASM to disk rather than just in memory, which can then be loaded into memory on subsequent starts. This could be to a directory in
/tmp
to that reboots clear out old versions automatically. A hash/commit/revision tag could be added to the cache file to ensure when upgrading the new version is compiled and placed on disk.Describe alternatives you've considered.
NONE
Additional context.
No response
The text was updated successfully, but these errors were encountered: