190 karma · joined August 16, 2017
[ my public key: https://keybase.io/ereslibre; my proof: https://keybase.io/ereslibre/sigs/FiZN0EHHCwufYf5mSLt-LRGOqQDO8ixaaZmRtzdaQXc ]
(Wasm Labs dev here) We haven't yet measured performance in a meaningful way that we can use to compare, mainly because our PHP builds also have certain limitations mentioned in the article, such as not having OPcache available at PHP. It is however an iterative process, and we are interested in this, as well as we understand that it's interesting for the community.
> Every time a HTTP request arrives, a CGI process should be initialized over and over again wasting CPU time on BSS section / runtime library initialization. Does it work any differently when it comes to WASM?
It's a little different in Wasm, in the sense that there is no need to fork/exec (if talking about bare CGI). The PHP executable gets loaded into the runtime once (what will compile it from Wasm -> native ISA), and then for every request we create a Wasm execution context, and run the PHP Wasm module that interprets the PHP script.
Creating a Wasm execution context is certainly much lighter than a fully fledged fork/exec.
Pyodide is certainly another option, but is emscripten based, not based in webassembly-language-runtimes or WASI.
WebAssembly also allows for powerful constructs like the component model, where components written in even different languages can interact between them.
Today, we announce a new Apache module to run WebAssembly modules: mod_wasm. This module opens a new set of possibilities as many languages and projects can run securely in Apache.
One thing that I knew oneinfra wouldn't do, funnily enough, was to create or manage infrastructure itself.
I'm not using Cluster API, but the oneinfra's defined set of API's, that are reduced in purpose, to reduce the complexity of spawning new clusters. Let me know if something doesn't click, I can help!
This is just an "in-house" Kubernetes managed service :)
It's a managed Kubernetes service that you can run anywhere you like, you can still leverage the public cloud (even on hybrid environments), but you are not tied to a specific public cloud Kubernetes managed offering.