open-policy-agent / opa

Open Policy Agent (OPA) is an open source, general-purpose policy engine.
https://www.openpolicyagent.org
Apache License 2.0
9.76k stars 1.36k forks source link

wasm-sdk: explore compilation caching #3650

Open srenatus opened 3 years ago

srenatus commented 3 years ago

Wasmtime (the wasm runtime used in OPA) supports caching the output of JIT compiling a wasm module.

We could explore if that brings us any benefits. One thing is that currently, in our VM pool, each one will compile the wasm module itself; this could be avoided.

(Currently, configuring this requires config files 👉 https://github.com/bytecodealliance/wasmtime/issues/3085)

stale[bot] commented 3 years ago

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days.