Skip to main content

Temporary database driver

Project description

mangodb

MangoDB is a very very thin wrapper around sync/async python mongo driver encapsulating all details necessary for temporary file storage with zero maintenance.

  1. Capped collection - when mongo collection is capped, old data is delete when disk space is exhausted

  2. TTL index - when an object has ttl index, mongo automatically deletes after ttl expires

  3. Chunked storage - as mongo max document size is capped at 16Mb we have to chunkinate the documents in the same manner GridFS does, but contrary to gridfs, we store metadata in the same collection as chunks, this way it will be deleted along with the chunks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mangodb, version 0.9
Filename, size File type Python version Upload date Hashes
Filename, size mangodb-0.9.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page