WasmEdge/wasmedge-db-examples

Lightweight database clients in the WasmEdge Runtime

Hosted by Cloud Native Computing Foundation · part of Linux Foundation

View on GitHub ↗Jump to charts ↓

WasmEdge/wasmedge-db-examples has 70+ stars and 10+ forks on GitHub, is written in Rust, and was last pushed on Feb 6, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 13 minutes ago
Added to GitGenius on October 15th, 2026
Created on June 9th, 2022
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Enabled
Number of forks: 11
Total Stargazers: 71 (+0)
Total Subscribers: 3 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.
Sign in

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

wasmedge-db-examples is a collection of example applications demonstrating how to use database clients within the WasmEdge Runtime.

The project addresses the challenge of accessing databases from WebAssembly applications running in WasmEdge. It leverages WasmEdge's non-blocking network socket API and a Tokio-like async runtime to enable popular database drivers to run in the WebAssembly environment. The examples cover multiple database systems: MySQL, MariaDB, and TiDB for relational databases; GreptimeDB for time series data; Postgres for SQL workloads; Redis for key-value storage; and Qdrant for vector databases. This approach allows developers to build database-connected applications that compile to WebAssembly and execute within WasmEdge's sandboxed runtime.

Developers considering these examples should understand they serve as reference implementations for integrating specific database clients into WasmEdge applications. The repository is most useful for teams building microservices or event-driven applications in WebAssembly that need direct database connectivity. The examples demonstrate both standalone database access patterns and integration with larger architectures, including HTTP servers with database backends and Kafka-driven microservices. As an alternative approach, the project acknowledges that developers can use the Dapr SDK for Wasm to access databases through Dapr sidecars rather than direct client connections.

The project maintains working examples across multiple database systems, indicating active curation of the collection to keep pace with both WasmEdge runtime capabilities and the underlying database client libraries. The repository includes references to complete microservice demonstrations, suggesting the maintainers validate these patterns in realistic application scenarios beyond isolated examples.