Skip to content

MIT licensed · pre-release

fdyno

The DynamoDB API on FoundationDB, on your own hosts. Each write commits its item, indexes and stream record in one strictly serializable transaction.

Start locally Guarantees

One PutItem, step by step: the item, its index entry and its stream record commit in one FoundationDB transaction, or none of them do.

Try it

With an orders table keyed only by pk, a status index and stream, and SDK local/local key and Region configured:

import boto3

endpoint = "http://127.0.0.1:8000"
db = boto3.resource("dynamodb",
    endpoint_url=endpoint)
db.Table("orders").put_item(Item={
    "pk": "order#1", "status": "paid"})

What you can rely on

  • A success means committed. fdyno does not queue writes for later.
  • LSIs never lag. A GSI read is eventually consistent, as in DynamoDB. A new index holds every item only when it is ACTIVE.
  • Reads are current by default, with or without ConsistentRead. Each request is one transaction. A sequence of requests is not one snapshot.
  • fdyno's own retries apply a write at most once (scope). Use ClientRequestToken for client retries of TransactWriteItems.
  • Any fdyno process can fail. fdyno keeps all durable state in FoundationDB.

Not guaranteed

fdyno has no global tables and no multi-region writes. It has no IAM, no managed service and no supported release.

fdyno is pre-release. The release candidate v0.1.0-rc1 is tagged but not yet published.

The storage format is frozen: record format 3 at cluster version 12. A store from another format needs a reset. You run the FoundationDB cluster. Your cluster sets durability, availability and capacity.

One deployment is one trust domain. You can limit a key to some tables. fdyno has no accounts. The long test runs do not prove that stream record cleanup keeps up over long periods with the default settings.

Guarantees · Compare databases · Design tables · Run fdyno

How we know: conformance, fault histories and model checks.