29 ms·
No worries, it wasn't mentioned in this post in particular :) Security is certainly one of the reasons to use WASM, the ability to run it in a sandbox means th
by nicholastmosher 5y ago
No worries, it wasn't mentioned in this post in particular :)
Security is certainly one of the reasons to use WASM, the ability to run it in a sandbox means that untrusted user code can be uploaded to Fluvio's Streaming Processing Units and do the processing inline, rather than on the client side. This can save big on network bandwidth, especially with a dataset where filtering whittles down a lot on volume.
Other reasons include that WASM is a fast and portable bytecode format and that there is very good tooling and support for compiling Rust to WASM as well as embedding WASM runtimes in Rust, which works well for Fluvio as it's written in Rust.
Here's another post with a bit more detail about some of the design and motivational factors if you're interested: https://www.infinyon.com/blog/2021/06/introducing-fluvio/#fluvio-programmable-platform-for-data-in-motion https://www.infinyon.com/blog/2021/06/introducing-fluvio/#fl...