-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from sunng87/chore/add-greptimedb-to-readme
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# Database client examples for WasmEdge | ||
|
||
Based on WasmEdge's [non-blocking network socket API](https://wasmedge.org/book/en/dev/rust/networking-nonblocking.html) and a Tokio-like [async runtime](https://github.com/WasmEdge/tokio_wasi), | ||
Based on WasmEdge's [non-blocking network socket API](https://wasmedge.org/book/en/dev/rust/networking-nonblocking.html) and a Tokio-like [async runtime](https://github.com/WasmEdge/tokio_wasi), | ||
we are able to port popular database drivers and clients for the WasmEdge Runtime. This repo is a collection of examples accessing databases from inside WasmEdge applications. | ||
|
||
* [MySQL / MariaDB / TiDB](mysql_async/) example | ||
* [GreptimeDB](greptimedb/) example | ||
* [Postgres](postgres/) example | ||
* [Redis](redis/) example | ||
|
||
Alternatively, you can use the [Dapr SDK for Wasm](https://github.com/second-state/dapr-sdk-wasi) to access database or KV store services attached to your Dapr sidecars. [See examples here](https://github.com/second-state/dapr-wasm). | ||
|
||
You can also check out | ||
You can also check out | ||
|
||
* [A complete microservice demo](https://github.com/second-state/microservice-rust-mysql) with a HTTP server and a MySQL backend. | ||
* [An event-driven microservice demo](https://github.com/docker/awesome-compose/tree/master/wasmedge-kafka-mysql) with a Kafka queue and a MySQL backend. |