Skip to main content

Temporary database driver

Project description


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.

Source Distribution

mangodb-0.9.tar.gz (3.6 kB view hashes)

Uploaded source

Supported by

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