coldsnap
rust-wasm-on-lambda-edge
coldsnap | rust-wasm-on-lambda-edge | |
---|---|---|
1 | 2 | |
156 | 24 | |
2.6% | - | |
7.3 | 9.2 | |
8 days ago | 1 day ago | |
Rust | Rust | |
Apache License 2.0 | 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.
coldsnap
-
Keeping a snapshot in case we want to play later
I haven’t tried with lightsail but it should work the same. Also, if you want to and have th storage, you can use something like coldsnap to download the snapshot as a disk image. You can put it back the same way and restore to start the instance later if you want. This way you don’t even need to pay for the snapshot.
rust-wasm-on-lambda-edge
-
WASM/JS- which toolchain/libraries to use?
AWS Lambda@Edge is much, much more convoluted because IIRC you can only run node and python there. In other words, you have to use some glue to make it work.
-
Rust/Wasm on AWS Lambda@Edge
I adopted a rollup based approach, since it's quite easy to get configured and also something we use at work. I always found webpack a little bit too cumbersome, and parcel is just yet another new kid on the block. I'm pretty sure you can adjust the project to your needs. All we need here is: compile TS to JS and bundle up everything into a single JS file. In the past I found the WebAssembly dependency management very tricky, in the end I used a plain "move the .wasm file into the final bundle" approach, which just works fine, because I did not want to inline the WebAssembly code (as most plugins try). Maybe you have a smarter solution for that, please open a pull-request in the repo. Just keep in mind: wasm-bindgen creates already a pretty decent module loader, so there is no need to work around that, but I fail to get any of these bundlers to move the wasm files along with it into the bundle output directory.
What are some alternatives?
rds_iamauth_proxy - Postgres proxy which allows tools that don't natively supports IAM auth to connect to AWS RDS instances.
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
matano - Open source security data lake for threat hunting, detection & response, and cybersecurity analytics at petabyte scale on AWS
serde-wasm-bindgen - Native integration of Serde with wasm-bindgen
k9 - Rust testing library
aws-lambda-events - Rust event types for AWS Lambda
resvg-js - A high-performance SVG renderer and toolkit, powered by Rust based resvg and napi-rs.
engine - The Orchestration Engine To Deliver Self-Service Infrastructure Faster ⚡️
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
aws-sdk-rust - AWS SDK for the Rust Programming Language
rs2ts - Rust structs and enums to TypeScript interfaces and enums