Skip to main content

Mongodb Datastore

@keeb/mongodb-datastorev2026.05.25.1· 8d agoDATASTORES
01README

MongoDB-backed swamp datastore — distributed locks with TTL, heartbeat, and nonce fencing, plus a manifest+content-addressed-blob sync protocol that streams the datastore tier as inline-bytes cursor batches. Blobs over 15 MB are transparently chunked across multiple docs so they fit under MongoDB's 16 MB BSON limit. Scoped by tenant + repo namespace. Requires MongoDB 4.0+ as a replica set.

02Datastores1
MongoDBconfigurable
@keeb/mongodb-datastoremongodb/mod.ts

Stores swamp runtime coordination and datastore bytes in MongoDB — distributed locks with TTL + heartbeat + nonce fencing, plus manifest + content-addressed blob sync of the datastore tier between local cache and MongoDB. Blobs over 15MB are transparently chunked across multiple docs so they fit under MongoDB's 16MB BSON limit. Scoped by tenant + repo namespace. Requires MongoDB 4.0+ running as a replica set.

03Previous Versions6
2026.05.23.1May 24, 2026
2026.05.21.1May 21, 2026
2026.05.05.1May 5, 2026

updated labels

2026.05.04.1May 4, 2026
2026.04.24.2Apr 24, 2026
2026.04.24.1Apr 24, 2026
04Stats
B
85 / 100
Downloads
75
Archive size
388.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit0/2missing
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels