AimDB architecture: data flows from STM32 MCU sensors through Linux edge gateways to Kubernetes cloud and browser via WASM using same Rust API

Distributed by design. Data-driven by default.

Typed dataplane for distributed systems.
MCU to Cloud. Same API.

Define records once
One type, every tier
No conversion layer

AimDB turns data contracts into the architecture. Define schemas once and deploy them unchanged across microcontrollers, edge gateways, Kubernetes and the browser, with typed migrations when the contract evolves.

Core Concept

Portable Data Contracts

Define once, deploy anywhere.

AimDB portable data contracts enable no_std + alloc compatible schema definitions that compile identically for STM32 microcontrollers, Linux edge gateways with Tokio, Kubernetes cloud deployments, and browser SPAs via WASM. Same Rust code runs on MCU, edge, cloud and browser with built-in schema evolution and portable serialization.

One contract, many runtimes

Define your schema once and deploy to MCU, Edge, or Cloud without changes.

No IDLs, no schema registries

The Rust type is the wire format. Define once, no codegen pipelines, no integration layer.

Portable schemas + transforms

Consistent serialization and behavior everywhere, with built-in schema evolution.

Data Contract

Schema + Serde + Transforms

MCU

Embassy / no_std + alloc

Edge

Linux / Tokio

Cloud

Kubernetes

Browser

WASM

Why AimDB

Distributed systems spend most of their complexity budget translating between layers. AimDB removes that layer.

AimDB is a Rust typed dataplane for distributed systems. The same Rust code runs on microcontrollers with Embassy, Linux edge gateways with Tokio, Kubernetes cloud deployments and browser SPAs via WASM, with no conversion layer between tiers.

One type, every tier.

The same struct compiles for firmware and cloud. No conversion layer between them.

The buffer defines how data moves.

No manual queue wiring, no separate transport config. Buffer semantics are part of the contract.

No untyped boundaries.

Streaming, migration, observability and connectors are unlocked by traits, not glue code.

Ready to Get Started?

AimDB is open source. Explore the code, report issues, or join the community discussion.

AimDB open source Rust embedded typed dataplane for MCU to cloud data synchronization with portable data contracts and no_std async runtime support.

Stay in the loop

Get notified about new posts and releases. No spam — unsubscribe anytime.

Powered by Buttondown