Skip to content

[RFC] MongoDB Storage Backend#207

Open
diegotoledano95 wants to merge 1 commit into
ExtendDB:mainfrom
diegotoledano95:rfc/mongodb-backend
Open

[RFC] MongoDB Storage Backend#207
diegotoledano95 wants to merge 1 commit into
ExtendDB:mainfrom
diegotoledano95:rfc/mongodb-backend

Conversation

@diegotoledano95

@diegotoledano95 diegotoledano95 commented Jul 8, 2026

Copy link
Copy Markdown

What

Adds docs/rfcs/0000-mongodb-backend.md, a draft RFC for adding MongoDB as a optional ExtendDB storage backend.

Why

MongoDB is a natural fit as an additional database target: data model alignment; high read/write throughput through horizontal scalability; infrastructure fit.

DynamoDB and MongoDB share the same data model approach - documents stored as schema-less JSON-like data. MongoDBs document model maps directly to the approach taken by DynamoDB with each item stored as a MongoDB BSON document with no impedance mismatch at the data model level. Unlike relational databases, the translation from JSON to BSON is direct without complicated relational mapping techniques required.

This PR proposes the RFC tracked by the below issue.

Closes #206
Related forked implementation code

Testing done

git diff --check
python docs/build-docs.py

Checklist

  • I have read CONTRIBUTING.md
  • Code is formatted (cargo fmt --check) (No Rust code was changed)
  • I have updated documentation if behavior changed - [x] This PR is the RFC for the proposed MongoDB storage backend

ADR / RFC: This PR

@LeeroyHannigan LeeroyHannigan added the RFC Request for Comments, a proposal open for discussion before implementation label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFC Request for Comments, a proposal open for discussion before implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC] MongoDB Storage Backend

2 participants