Is there anywhere I can find actual numbers in terms of performance gains from running NGINX like this vs "the usual way"?
Wasmer – Universal Binaries Powered by WebAssembly
11–20 of 22 posts
Re: Wasmer – Universal Binaries Powered by WebAssembly
#12For people who like the idea, check Terrarium[1] from Fastly. They use Wasmer with Fastly services to have edge computing capabilities. Think AWS Lambda but in a CDN. It looks promising! [1] https://wasm.fastlylabs.com/
So, AWS Lambda@Edge
Re: Wasmer – Universal Binaries Powered by WebAssembly
#13> Once installed, you will be able to run any wasm module (including Nginx!) If you're running on Linux, I suppose that applies only to WASM modules that interface with a POSIX system (?)
Doesn't WASM interface with a JS/WASM VM, which is then responsible for interfacing with the OS? There are plenty of POSIX compatible VMs, including V8, the Chrome engine.
I think what was needed was that someone implemented posix APIs inside webassembly, by delegating to the javascript APIs that e.g. node.js provides, or by building a native module that proxies those calls.
Re: Wasmer – Universal Binaries Powered by WebAssembly
#14For people who like the idea, check Terrarium[1] from Fastly. They use Wasmer with Fastly services to have edge computing capabilities. Think AWS Lambda but in a CDN. It looks promising! [1] https://wasm.fastlylabs.com/
Re: Wasmer – Universal Binaries Powered by WebAssembly
#15Re: Wasmer – Universal Binaries Powered by WebAssembly
#16Earlier quoted context omitted.
Doesn't WASM interface with a JS/WASM VM, which is then responsible for interfacing with the OS? There are plenty of POSIX compatible VMs, including V8, the Chrome engine.
The "posix" needs to be on the other side. Things like v8 use a posix interface for interacting with the OS. However they don't provide a posix interface the code which is running inside the VM. I think what was needed was that someone implemented posix APIs inside webassembly, by delegating to the javascript APIs that e.g. node.js provides, or by building a native module that proxies those calls.
Re: Wasmer – Universal Binaries Powered by WebAssembly
#17How is this different from what Java was a few years back?
But yes, technically speaking it's not that much different from JVM bytecode execution. Software is more consensus than breakthroughs though, so WASM might succeed where Java failed (well, kind of) because we're ready for it and the major players want it.
Re: Wasmer – Universal Binaries Powered by WebAssembly
#18Stupid question - how are they handling system calls in wasmer? I can't seem to find the answer easily.
We first wanted to focus on running Emscripten-generated WebAssembly files, so we are wrapping the syscalls that Emscripten is using with the real syscalls under the hood. Here's an example of that: https://github.com/wasmerio/wasmer/blob/master/src/apis/emsc...
Re: Wasmer – Universal Binaries Powered by WebAssembly
#19For people who like the idea, check Terrarium[1] from Fastly. They use Wasmer with Fastly services to have edge computing capabilities. Think AWS Lambda but in a CDN. It looks promising! [1] https://wasm.fastlylabs.com/
Re: Wasmer – Universal Binaries Powered by WebAssembly
#20For people who like the idea, check Terrarium[1] from Fastly. They use Wasmer with Fastly services to have edge computing capabilities. Think AWS Lambda but in a CDN. It looks promising! [1] https://wasm.fastlylabs.com/
Surely they’re not using wasmer. They’re using cranelift with their own runtime, correct? This talk mentions a cranelift runtime fastly built in-house. https://youtu.be/FkM1L8-qcjU