sozu
sozu copied to clipboard
WebAssembly plugins
I would like to introduce wasm plugins at these points:
- main process, for small tasks that can change the configuration (talking to a service discovery, etc)
- routing filter, deciding on different routes to applications than what the main router would do
- request and response filters: editing header, body, overriding responses, etc
We can get inspiration from Envoy's wasm filters: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/wasm/v3/wasm.proto