A complete microservice backed by MySQL, written in Rust and compiled into WASM

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • microservice-rust-mysql

    A template project for building a database-driven microservice in Rust and run it in the WasmEdge sandbox.

  • Here is a complete microservice backed by a MySQL database. It is written in Rust, compiled into WebAssembly and runs entirely in the WasmEdge sandbox. Why & how? https://github.com/second-state/microservice-rust-mysql

    WasmEdge is a cross-platform WebAssembly runtime for cloud native apps. For Rust and JS apps, it is a much lighter, faster, and more secure alternative to Linux containers. It is perfect for microservices and serverless functions.

    In the context of microservices, WasmEdge can be managed by existing container toolchains. In a Kubernetes cluster, WasmEdge apps can run side-by-side with Linux container apps.

    WasmEdge apps can be managed by container tools like

  • podman-wasm

  • Podman and the Docker Desktop and CLI (more on this next week!). Here is how to use Podman to start / manage WasmEdge: https://github.com/KWasm/podman-wasm

    Now back to the microservice itself. It provides a lightweight yet very fast web server to handle JSON over HTTP requests. It is based on the popular Rust tokio, hyper, and serde libraries. See more examples: https://github.com/WasmEdge/wasmedge_hyper_demo

    The microservice also features an async MySQL client to interact with backend databases. Even more examples: https://github.com/WasmEdge/wasmedge-db-examples

    This WasmEdge-based microservice utilizes high-performance non-blocking networking on both the HTTP service & the database client. It is a faster, lighter & more secure alt to Linux container-based microservices.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • wasmedge_hyper_demo

    Lightweight HTTP servers based on hyper / warp frameworks in the WasmEdge Runtime.

  • Podman and the Docker Desktop and CLI (more on this next week!). Here is how to use Podman to start / manage WasmEdge: https://github.com/KWasm/podman-wasm

    Now back to the microservice itself. It provides a lightweight yet very fast web server to handle JSON over HTTP requests. It is based on the popular Rust tokio, hyper, and serde libraries. See more examples: https://github.com/WasmEdge/wasmedge_hyper_demo

    The microservice also features an async MySQL client to interact with backend databases. Even more examples: https://github.com/WasmEdge/wasmedge-db-examples

    This WasmEdge-based microservice utilizes high-performance non-blocking networking on both the HTTP service & the database client. It is a faster, lighter & more secure alt to Linux container-based microservices.

  • wasmedge-db-examples

    Lightweight database clients in the WasmEdge Runtime

  • Podman and the Docker Desktop and CLI (more on this next week!). Here is how to use Podman to start / manage WasmEdge: https://github.com/KWasm/podman-wasm

    Now back to the microservice itself. It provides a lightweight yet very fast web server to handle JSON over HTTP requests. It is based on the popular Rust tokio, hyper, and serde libraries. See more examples: https://github.com/WasmEdge/wasmedge_hyper_demo

    The microservice also features an async MySQL client to interact with backend databases. Even more examples: https://github.com/WasmEdge/wasmedge-db-examples

    This WasmEdge-based microservice utilizes high-performance non-blocking networking on both the HTTP service & the database client. It is a faster, lighter & more secure alt to Linux container-based microservices.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts