Skip to main content

@keeb/mongodb-datastore

v2026.04.24.2

MongoDB-backed swamp datastore — distributed locks with TTL, heartbeat, and nonce fencing, plus GridFS-backed byte sync of the datastore tier between a local cache and MongoDB. Scoped by tenant + repo namespace. Requires MongoDB 4.0+ as a replica set.

Repository

https://github.com/keeb/swamp-mongodb-datastore

Labels

mongodbdatastoredistributed-lockgridfsreplica-set

Contents

Quality score

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @keeb/mongodb-datastore

MongoDBconfigurable
@keeb/mongodb-datastoremongodb/mod.ts

Stores swamp runtime coordination and datastore bytes in MongoDB — distributed locks with TTL + heartbeat + nonce fencing, plus GridFS-backed sync of the datastore tier between local cache and MongoDB. Scoped by tenant + repo namespace. Requires MongoDB 4.0+ running as a replica set.