(I'm so close to building my own search engine just against my own content there.)
If anyone else is awake and wants to pick up the baton...
- CPU limits are just using an arbitrary amount of wasmtime "fuel". Would be worth looking into epoch interrupts instead.
- Memory limits aren't implemented. Seems like wasmtime-py doesn't expose bindings to anything with a wasmtime::ResourceLimiter trait.
- All i/o is going through tempfiles instead of dealing with proper interfaces.
If anyone else is awake and wants to pick up the baton...
- CPU limits are just using an arbitrary amount of wasmtime "fuel". Would be worth looking into epoch interrupts instead.
- Memory limits aren't implemented. Seems like wasmtime-py doesn't expose bindings to anything with a wasmtime::ResourceLimiter trait.
- All i/o is going through tempfiles instead of dealing with proper interfaces.