wasm32-wasi-benchmark
spin
wasm32-wasi-benchmark | spin | |
---|---|---|
4 | 22 | |
36 | 4,862 | |
- | 2.6% | |
10.0 | 9.8 | |
over 2 years ago | 6 days ago | |
C++ | Rust | |
- | 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.
wasm32-wasi-benchmark
-
Towards a modern Web stack (by Ian Hickson, author of the HTML5 spec and current Flutter tech lead)
On other benchmarks I'm seeing numbers closer to 20% slower, e.g. https://github.com/wasm3/wasm3/blob/main/docs/Performance.md and https://github.com/second-state/wasm32-wasi-benchmark. It's numerical code, which is the best case scenario for a native binary. It's much closer on an average web app or server workload, e.g. https://krausest.github.io/js-framework-benchmark/current.html - you can find WASM frameworks that beat most JS frameworks on there, but that is not as impressive considering the state of the JS ecosystem. Overall, it's already under 50%, and there is still plenty of room for improvement.
-
WasmEdge, a high-performance WebAssembly runtime with Rust first APIs and Features (Wasm on server side)
Source code of test cases: https://github.com/second-state/wasm32-wasi-benchmark
-
WasmEdge
We did benchmarks last year but not recently (Will update if there are new ones).
Paper: A Lightweight Design for High-performance Serverless Computing, published on IEEE Software, Jan 2021. https://arxiv.org/abs/2010.07115
Article: Performance Analysis for Arm vs. x86 CPUs in the Cloud, published on infoQ.com, Jan 2021. https://www.infoq.com/articles/arm-vs-x86-cloud-performance/
Source code of test cases: https://github.com/second-state/wasm32-wasi-benchmark
spin
-
Git Prom! My Favorite Git Alias
For example, here's a snippet of my Git config for the spin repository:
-
4 Ways to Participate in Advent of Spin - A Wasm Coding Challenge
We built (and open-sourced) Spin to make the developer experience easier, and we want to show you this through Fermyon's Advent of Spin. You will be presented with fun coding challenges that'll help you learn to build with Spin and WebAssembly.
-
Creating a Server Side Rust WebAssembly App with Spin 2.0
Fermyon Spin is the open source tool for building serverless functions with WebAssembly. We’re going to use a few Spin commands to go from blinking cursor to deployed app in just a few minutes. Along the way, we’ll walk through a Spin project and see some of the features of Spin 2.0.
-
Flawless – Durable execution engine for Rust
linky: https://github.com/fermyon/spin#readme (Apache 2; and while I don't see any CLA, interestingly they do require GPG signed commits: https://developer.fermyon.com/spin/contributing-spin#committ... )
-
Building microservices in Rust with Spin
To install the binary file on Windows, download the Windows binary release, unzip the file, and place the spin.exe file in your system path.
-
Spin 1.0 — The Developer Tool for Serverless WebAssembly
We are delighted to introduce Spin 1.0, the first stable release of the open source developer tool for building serverless applications with WebAssembly (Wasm)! Since we first introduced Spin last year, we have been hard at work together with the community on building a frictionless developer experience for building and running serverless applications with Wasm.
- Spin – Build Microservices with WebAssembly
-
Waggy v0.3 Released!!
“Waggy is used for writing WAGI (WebAssembly Gateway Interface) compliant API routers/individual handlers. WAGI was developed by deislabs for accepting and routing incoming HTTP requests with WebAssembly via a configuration file (modules.toml) defining routes, modules, volumes to be mounted, etc. WAGI can run as a stand alone server, or with a framework such as the Fermyon/Spin framework Go SDK. Waggy allows for the flexibility of handling the routing via the modules.toml, or to define it code (Waggy is written in Go), as well as various pieces of convenient functionality such as the new features described above!!”
-
WasmEdge
They’re VC-funded and will vendor lock-in you. See their response to my discussion:
https://github.com/fermyon/spin/discussions/861
With WasmEdge there is no vendor lock-in, it’s opaque and standards-based
-
Recommendations for a resource efficient backend framework?
What language do you want? And how experimental are you wanting to go? This project is crazy cool https://github.com/fermyon/spin , but might be harder to work with if you’re not willing to use rust :p, think they might have made it easy for c# too though
What are some alternatives?
SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
wasmCloud - wasmCloud allows for simple, secure, distributed application development using WebAssembly components and capability providers.
wasmtime - A fast and secure runtime for WebAssembly
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
wit-bindgen - A language binding generator for WebAssembly interface types
rusty_v8 - Rust bindings for the V8 JavaScript engine
component-model - Repository for design and specification of the Component Model
cpp_weekly - The official C++ Weekly Repository. Code samples and notes of future / past episodes will land here at various times. PR's will be accepted in some cases.
distribution-spec - OCI Distribution Specification
spec - WebAssembly for Proxies (ABI specification)
bartholomew - The Micro-CMS for WebAssembly and Spin