4 ms·
Does anyone have any examples of a sort of self hosted way to do functions as a service with web assembly? I know you can do web assembly FaaS with Cloudflare W
by johnnypangs 5y ago
Does anyone have any examples of a sort of self hosted way to do functions as a service with web assembly? I know you can do web assembly FaaS with Cloudflare Workers (https://github.com/cloudflare/workers-rs https://github.com/cloudflare/workers-rs among others) but am unaware of a way to self host.
- thelastbender12 5y agoThat would indeed be super useful to extend self hosted automation tools like Huginn. From what I understand, wasm/wasi modules don't have full networking or filesystem access support yet. So you probably have to rely on specific runtimes to provide hooks for doing that, and regular code won't work out of the box. 1. https://github.com/suborbital/reactr https://github.com/suborbital/reactr 2. https://wasmedge.org/ https://wasmedge.org/
- callahad 5y agoIt's still early days, but as far as I understand it, one of Suborbital's explicit goals is to commoditize wasm-backed FaaS platforms: https://suborbital.dev https://suborbital.dev
- immibis 5y agoThis is amusing to me because CGI is basically self-hosted functions-as-a-service.
- jabl 5y agoSo now (or in the near future) you can run WASM functions on a WASM FaaS platform running in a container running on K8S running in a VM on a cloud platform, and achieve what you could do in 1993 with Apache CGI and Perl 4.x! Progress!