Show HN: Faasta – A self-hosted Serverless platform for WASM-wasi-HTTP in Rust

github.com

95 points by alexboehm 15 days ago


I've just released an early version off my project I've been working on for a few months now and would love some feedback.

https://github.com/fourlexboehm/faasta

I was surprised there isn't yet an open/source and standards compliant way to host wasi-http functions in a way that takes advantages of WASM, a multi tenanted application.

If you're not familiar with wasi, Compared to something like AWS Lambda, this approach is much more efficient as a single process can serve 1000s of function invocations concurrently and asynchronously, instead requiring an entire VM.

This is still early days for the project, but feel free to download the cli utility with cargo install cargo-faasta.

Feel free to test deploying functions on my hosted instance at https://website.faasta.xyz.

The service is free to use and currently supports deployments via GitHub OAuth, with a limit of 10 functions per GitHub account.

mrmagoo17 - 15 days ago

That's a really cool implementation! I hope I'll have some time soon to have a peek at the code. I am honestly a bit surprised to see that none of the major cloud providers are even thinking to leverage WASM and WASI for serverless...

kaliqt - 14 days ago

Bun likely has a larger footprint than this but it's also gaining lots of traction: https://bun.sh/docs/runtime/loaders

How might this project differentiate itself from Bun as it grows? Because Bun aims to be compact and fast (fast being the priority in their case).

xkcd-sucks - 14 days ago

Unfortunate name collision with FASTA the bioinformatic sequence file format

singularity2001 - 14 days ago

You could link to faasta.xyz in github about and add EXAMPLES there.

The lambdas should be able to be accessible via http(s) e.g.

https://square.faasta.xyz/3 => 9

https://faasta.xyz/square/3 => 9

Great idea if done right!

PhilippGille - 13 days ago

Is this similar to Fermyon's Spin?

https://github.com/spinframework/spin

badmonster - 15 days ago

Do you plan to support custom domains and SSL certificates for self-hosted Faasta deployments, or will that be handled externally via reverse proxies?

foresterre - 14 days ago

Since there is no LICENSE in the repo, I assume this will not be an open source project? Will it have an open core or similar license?

lettersdigitsda - 14 days ago

[flagged]