Skip to main content
Glama
nubo-db

Dynoxide

Official

Dynoxide

crates.io docs.rs CI conformance license

A DynamoDB emulator backed by SQLite. Runs as an HTTP server, an MCP server for coding agents, or embeds directly into Rust and iOS applications as a library.

Why Dynoxide?

I built Dynoxide because DynamoDB Local is slow, heavy, and can't embed. It needs a JVM, and the typical Docker-based setups adds 2–3 seconds of cold-start, ~185 MB of memory at idle, and a ~225MB Docker image (~471 MB on disk) before you've done anything useful. If you're running integration tests, that's Docker starting, the JVM warming up, and your pipeline waiting.

Dynoxide is a native binary. It starts in milliseconds, idles at ~4.9 MB, and ships as a ~3 MB download. Point any DynamoDB SDK at it and your tests just work.

For Rust projects, there's also an embedded mode - direct API calls via Database::memory() with no HTTP layer at all. Each test gets an isolated in-memory database with zero startup cost. And because it compiles to a native library with no runtime dependencies, it runs on platforms where DynamoDB Local can't, including iOS.

Performance

Local Development (Apple Silicon)

Metric

Dynoxide (embedded)

Dynoxide (HTTP)

DynamoDB Local

Cold startup

~0.2ms

~15ms

~2,287ms

GetItem (p50)

9µs

0.1ms

0.8ms

PutItem throughput

~51,613 ops/s

~6,703 ops/s

~945 ops/s

50-test suite (sequential)

~484ms

~569ms

~2,407ms

50-test suite (4x parallel)

~203ms

~235ms

~1,189ms

CI (GitHub Actions)

Numbers from ubuntu-latest (2-core AMD EPYC 7763, 8GB RAM). Commit e066fc0.

Metric

Dynoxide (embedded)

Dynoxide (HTTP)

DynamoDB Local

LocalStack (all services)

Cold startup

<1ms

~2ms

~2,596ms

~11,648ms

GetItem (p50)

14µs

0.3ms

0.8ms

-

50-test CI suite

784ms

778ms

2,518ms

-

Full workload (10K items)

-

3.0s

11.5s

-

Binary / image (download)

~3 MB

~3 MB

225 MB

1.1 GB

Binary / image (on disk)

6 MB

6 MB

471 MB

1.1 GB

Idle memory (RSS)

~4.9 MB

~8 MB

~185 MB

~494 MB

The gap is wider on Apple Silicon because the faster CPU amplifies the difference between native code and JVM overhead. Both are real measurements of the same benchmark suite. Full methodology and per-operation breakdowns →

Conformance

Dynoxide is continuously verified against real DynamoDB by the dynamodb-conformance suite, which runs one test matrix against AWS itself and every major DynamoDB emulator. Pass rates move as the suite grows and each engine changes, so rather than pin a snapshot that goes stale, see the live standings:

This covers the native build. The WebAssembly build is a preview and isn't run against the suite yet.

How It Compares

Dynoxide

DynamoDB Local

LocalStack (all services)

dynalite

Language

Rust

Java

Python + Java

Node.js

Storage

SQLite

SQLite

SQLite (via DDB Local)

LevelDB

Runtime dependency

-

JVM

Docker + LocalStack

Node.js

Embeddable (Rust / iOS)

-

-

-

MCP server for agents

-

-

-

LocalStack uses DynamoDB Local internally as its DynamoDB engine, so its startup and memory overhead includes DynamoDB Local's JVM plus LocalStack's own Python routing layer.

Related MCP server: CentralMind/Gateway

Quick Start

Install from npm and start a local server:

npm install --save-dev dynoxide
npx dynoxide --port 8000

Or run it in Docker, a drop-in for amazon/dynamodb-local:

docker run --rm -p 8000:8000 ghcr.io/nubo-db/dynoxide

Point any AWS SDK or DynamoDB client at http://localhost:8000. For Homebrew, Cargo, pre-built binaries, and embedding as a Rust library, see the installation guide.

Documentation

Supported Operations

Dynoxide implements the DynamoDB API across tables, items, query and scan, batches, transactions, PartiQL, streams, TTL, and tags, with GSI and LSI support, the full expression syntax, and DynamoDB-compatible pagination, validation, and error codes. For the operation-by-operation breakdown and a comparison, see the compatibility summary.

Limitations

Dynoxide is built for local development, testing, and CI, not as a production DynamoDB replacement, so two classes of thing are missing on purpose.

Cloud-only operations with no local equivalent aren't implemented: backups and point-in-time restore, global tables, Kinesis streaming, resource policies, and capacity management. Call one and you get an UnknownOperationException.

A few behavioural differences are also worth knowing when you test against it:

  • ConsistentRead is accepted but changes nothing. SQLite is strongly consistent, so every read already is - you can't reproduce eventually-consistent reads.

  • Streams expose a single shard. DescribeStream returns one shard, and its ExclusiveStartShardId and Limit paging parameters are accepted but ignored.

  • Transaction-contention errors (TransactionConflictException, TransactionInProgressException) aren't emulated - there's no concurrent contention in a single process.

For the live, per-feature support matrix see paritysuite.org/capabilities, and the full operation-by-operation breakdown is in the compatibility summary.

Acknowledgements

Dynoxide's DynamoDB API semantics and validation logic were informed by dynalite, the excellent DynamoDB emulator built on LevelDB by Michael Hart and now maintained by the Architect team.

Dynoxide is a clean-room Rust implementation. No code was ported directly, but dynalite's thorough approach to matching live DynamoDB behaviour, including edge cases and error messages, was an invaluable reference.

Dynoxide uses SQLite as its storage layer. (AWS's DynamoDB Local also uses SQLite internally.)

License

Dual-licensed under MIT and Apache 2.0. See LICENSE-MIT and LICENSE-APACHE.

Trademarks

Amazon DynamoDB, DynamoDB, and AWS are trademarks of Amazon.com, Inc. or its affiliates. Dynoxide is an independent project and is not affiliated with, endorsed by, or sponsored by Amazon, and nothing here grants any right to use those names or marks.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
1dResponse time
1wRelease cycle
12Releases (12mo)
Commit activity
Issues opened vs closed

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nubo-db/dynoxide'

If you have feedback or need assistance with the MCP directory API, please join our Discord server