You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using and being part of the Envoy Wasm experiment I'd strongly encourage you to not focus on Wasm middleware but rather dynamic module support so that any language that can be compiled to a shared object can be used.
Going in the direction of loadable modules offers flexibility and simplicity and building a loadable module which brings in a Wasm runtime becomes relatively simple. It also allows for easy customization of the proxy through an extension pattern which means that the proxy can be extended without polluting the codebase with extensions of various quality.
Closing as duplicate of #1239 (programmable Rust hooks design proposal). The hook surface is now planned as compile-time-linked Rust rather than WASM, but the original extensibility intent is preserved in the new scope.
Activity
marc-barry commentedon Aug 23, 2024
After using and being part of the Envoy Wasm experiment I'd strongly encourage you to not focus on Wasm middleware but rather dynamic module support so that any language that can be compiled to a shared object can be used.
As an example, see envoyproxy/envoy#35420. There is an effort underway in Envoy which dates way back to 2017 (envoyproxy/envoy#2053) to add loadable modules. Work is underway to start this with envoyproxy/envoy#35550 and is based on https://github.com/mathetake/envoy-dynamic-modules. The ABI is simple and straightforward and the SDK directory contains examples for both Go and Rust (https://github.com/mathetake/envoy-dynamic-modules/tree/main/source/extensions/dynamic_modules/sdk).
Going in the direction of loadable modules offers flexibility and simplicity and building a loadable module which brings in a Wasm runtime becomes relatively simple. It also allows for easy customization of the proxy through an extension pattern which means that the proxy can be extended without polluting the codebase with extensions of various quality.
FlorentinDUBOIS commentedon May 5, 2026
Closing as duplicate of #1239 (programmable Rust hooks design proposal). The hook surface is now planned as compile-time-linked Rust rather than WASM, but the original extensibility intent is preserved in the new scope.