Faasta is a cutting-edge Function-as-a-Service (FaaS) platform designed for exceptional speed and efficiency. With cold start times under 1ms and a memory overhead of less than 1KB, Faasta runs native Linux shared libraries under strong per-request isolation.
- Builds your Rust handlers into native x86_64 Linux shared libraries (
.so) - Uses the
#[faasta]macro and strongly typed request/response primitives - Provides secure per-request isolation with kvmserver
- Achieves ultra-fast cold starts without the overhead of traditional containerization
- Self-hostable with simple setup - run your own Faasta instance anywhere
- Powered by KVM + TinyKVM for fast reset and isolation
- Includes a free hosted instance at faasta.lol
Install the Faasta CLI:
cargo install cargo-faastaCreate a new Faasta project:
cargo faasta init
# or
cargo faasta new my-functionBuild your function:
cargo faasta buildLogin with your GitHub account:
cargo faasta loginDeploy your function:
cargo faasta deployYour function will be available at https://your-function-name.faasta.lol
Faasta runs functions as native Linux code and isolates requests using kvmserver:
- The CLI builds a
.soartifact (x86_64-unknown-linux-gnu) - The server launches functions through
kvmserver kvmserveruses TinyKVM snapshots for fast request isolation and reset
For self-hosting, see:
Faasta is fully self-hostable. The provided systemd setup runs:
/opt/faasta/faasta-server(control plane / routing)/opt/faasta/kvmserver(request execution runtime)