axum-aws-lambda
wasmCloud
axum-aws-lambda | wasmCloud | |
---|---|---|
2 | 7 | |
70 | 1,275 | |
- | 4.7% | |
5.6 | 10.0 | |
about 2 months ago | 6 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
axum-aws-lambda
-
Rust on AWS Lambda?
If you are developing a HTTP web app i recommend Axum and https://crates.io/crates/axum-aws-lambda. It lets you run your app as a standard web app anywhere (good for local dev/testing) and also run using the aws-lambda-rust runtime with no code changes. The other advantage is you get a bunch of middleware available for free like CORS, compression etc.
-
What's your experience with FaaS and Rust?
I put together a crate that exports a shim tower::Layer between axum and the lambda runtime: enabling you to switch between running a local server for debugging and compiling for AWS Lambda.
wasmCloud
- Wasmcloud 1.0 Release Notes
- CNCF WasmCloud 1.0
- Carl Hewitt has died [pdf]
- Need some help for writing WebAssembly module in Rust
-
What's your experience with FaaS and Rust?
There’s a lot more to go into there, but you may find https://wasmcloud.dev interesting 🙂
-
Are there any open source Elixir projects that I could help with as a beginner?
The wasmCloud project (https://wasmcloud.dev) has a number of areas where people can contribute. As someone else said, you can filter on "good first issue" to get an idea for what needs doing.
-
The Missing Kubernetes Type System
Webassembly is also gaining steam for server workloads due to several advantages (less overhead, better capability based security, composability, ...).
See Spin [1], Wasmcloud [2], Lunatic [3], etc.
My system is based on a distributed Webassembly runtime.
The reason for taking inspiration from Kubernetes is making deployment of distributed workloads on that runtime easy.
A nice benefit for a Kubernetes alike system is that the equivalent to controllers can be much more light-weight WASM actors that are easier to deploy and scale.
[1] https://github.com/fermyon/spin
[2] https://github.com/wasmCloud/wasmCloud
[3] https://github.com/lunatic-solutions/lunatic
What are some alternatives?
shuttle - Build & ship backends without writing any infrastructure files.
spin - Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.
workers-rs - Write Cloudflare Workers in 100% Rust via WebAssembly
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
keda - KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes
flyctl - Command line tools for fly.io services
capability-providers - wasmCloud official capability providers
aws-lambda-rust-runtime - A Rust runtime for AWS Lambda
riker - Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.