microservice-rust-mysql
postgres-wasm
microservice-rust-mysql | postgres-wasm | |
---|---|---|
14 | 4 | |
338 | 99 | |
1.2% | - | |
5.9 | 0.0 | |
5 days ago | about 1 year ago | |
Rust | Shell | |
Apache License 2.0 | MIT License |
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.
microservice-rust-mysql
-
Release: WasmEdge 0.12 and 0.12.1
https://github.com/second-state/microservice-rust-mysql
https://github.com/WasmEdge/wasmedge-db-examples
https://github.com/WasmEdge/wasmedge_hyper_demo
WasmEdge is already one of the smallest and most efficient Wasm runtimes out there. It embeds into libsql (SQLite on the server!) to execute user definited functions to perform complex tasks like HTTPS web services & AI inference from SQL statements! https://wasmedge.org/docs/embed/use-case/libsql/
The WasmEdge C++ and Rust SDKs allow host applications to embed Wasm functions asynchronously. It is critically important in many applications where the embedded Wasm function is simply not allowed to block the execution of the host applications. https://github.com/second-state/wasmedge-rustsdk-examples/bl...
Asynchronous host SDKs are complex and a lot of work still remains. We are continuously improving it with our end user and partner communities.
Preview: https://github.com/L-jasmine/WasmEdge/tree/feat/async
What's coming next?
* Support plugins in our Docker and k8s integrations
- A Rust Microservice Demo with MySQL CRUD Support
- A Rust Microservice demo with MySQL CRUD Support, Compiled to WebAssembly and Running on WasmEdge - A Secure and Lightweight Alternative to Linux containers
- A Rust Microservice with MySQL CRUD Support, Compiled to WebAssembly and Running on WasmEdge - A Secure and Lightweight Alternative to Native Compilation in Containers natively compiled Rust apps in Linux containers, can be run by Docker Podman, K8s etc
-
Rust microservices in server-side WebAssembly
The example below, from the microservice-rust-mysql demo app, shows how to create a web server in hyper for WasmEdge. The main listening loop of the web server is as follows:
postgres-wasm
-
The Docker+WASM Technical Preview
I used https://wasm.supabase.com/ to make sure some SQL commands I was writing for a blog were correct.
I miss a feature where I can share a link with some data/schema pre-seeded (maybe from a gist?)
-
Postgres WASM by Snaplet and Supabase
We achieve this by mounting a compressed 9P filesystem in the VM. 9P provides a Python script which takes a filesystem folder,renames every file an 8-character name and produces a filesystem.json file representing a nested structure with files, original file names, sizes, etc.
-
What is the best web-based PostgreSQL for Workshop
maybe https://wasm.supabase.com tech?
-
Show HN: Postgres WASM
Hey HN, we’re excited about this launch. This was a collaborative effort with the team at Snaplet [0].
postgres-wasm is an embeddable Linux VM with Postgres installed, which runs inside a browser. It provides some neat features: persisting state to browser, restoring from pg_dump, logical replication from a remote database, etc.
The idea was inspired by CrunchyData’s HN post about a month ago [1]. We love the possibilities of Postgres+WASM, and so Supabase & Snaplet teamed up to create an open source version. The linked blog post explains the technical difficulties we encountered, and the architecture decisions we made.
We’re still working hard on this, but it’s at a good “MVP” stage where you can run it yourself. Snaplet are working on a feature where you can drag-and-drop a snapshot into your browser to restore the state from any backup. Supabase are exploring ways we can run the entire Supabase stack inside the browser. You can find the Snaplet repo here [2], and the Supabase fork here [3]. There’s very little difference between these two, we just have a different browser UI.
Both Supabase team and the Snaplet team will be in here commenting if you want to know anything else about the technical details.
[0] Snaplet: [https://www.snaplet.dev/](https://www.snaplet.dev/)
[1] Crunchy post: [https://news.ycombinator.com/item?id=32498435](https://news....
[2] Snaplet repo: [https://github.com/snaplet/postgres-wasm](https://github.com...
[3] Supabase fork: [https://github.com/supabase-community/postgres-wasm](https:/...
What are some alternatives?
postgres-wasm - A PostgresQL server running in your browser
webusb - Connecting hardware to the web.
webvm - Virtual Machine for the Web
wasmer-postgres - 💽🕸 Postgres library to run WebAssembly binaries.
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.
byoda - Data breach resistant application: Bring Your Own Database
podman-wasm
websockproxy
dapr-wasm - A template project to demonstrate how to run WebAssembly functions as sidecar microservices in dapr
v86 - x86 PC emulator and x86-to-wasm JIT, running in the browser
wasmedge-db-examples - Lightweight database clients in the WasmEdge Runtime