Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andeya/wasmesh
wasmesh is a WebAssembly service mesh framework.
https://github.com/andeya/wasmesh
service-mesh wasm wasmer web webassembly
Last synced: 3 months ago
JSON representation
wasmesh is a WebAssembly service mesh framework.
- Host: GitHub
- URL: https://github.com/andeya/wasmesh
- Owner: andeya
- Created: 2021-06-28T16:09:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-27T11:16:26.000Z (over 2 years ago)
- Last Synced: 2024-06-21T13:22:40.001Z (5 months ago)
- Topics: service-mesh, wasm, wasmer, web, webassembly
- Language: Rust
- Homepage:
- Size: 629 KB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wasmesh
wasmesh(WebAssembly Service Mesh) is a WebAssembly service mesh framework.
## Install
```shell
git clone https://github.com/henrylee2cn/wasmesh.git
cd wasmesh
cargo install --path=pod
```*Will be installed to `~/.cargo/bin`*
## try it
maybe pre-install:
```shell
rustup target add wasm32-wasi
```build example:
```shell
cargo build-simple --release
```serve it:
- In wasmesh root path, fast run alias:
```shell
cargo run-simple-release
```[more alias](.cargo/config.toml)
- Directly use the command line:
```shell
cargo build --target=wasm32-wasi --package=simple --target-dir=service/rust/examples/target --release
wasmesh-pod serve --threads=16 --http=127.0.0.1:9090 service/rust/examples/target/wasm32-wasi/release/simple.wasm
```## Benchmark
- MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
- CPU: 2.3 GHz 4 Cores Intel Core i7
- Mem: 32 GB 3733 MHz LPDDR4X```shell
ab -c 100 -n 10000 http://127.0.0.1:9090/
```Result: 18K QPS
![](doc/wasmesh.png)