Skip to main content

Beaker backend to write sessions and caches to a MongoDB GridFS

Project description


MongoDB. GridFS. backend for Beaker.’s caching / session system.

Based upon mongodbbeaker.

Really basic, first implementation of MongoDB GridFS as a backend storage for Beaker.


Example of configuration in Pylons project:

>>> # new style cache settings
... beaker.cache.regions = comic_archives, navigation
... beaker.cache.comic_archives.type = libmemcached
... beaker.cache.comic_archives.url =
... beaker.cache.comic_archives.expire = 604800
... beaker.cache.navigation.type = mongodb_gridfs
... beaker.cache.navigation.url = mongodb://localhost:27017/beaker.navigation
... beaker.cache.navigation.expire = 86400

Using Beaker Sessions

Pylons application configuration for mongodb_beaker has the following session_configuration:

>>> beaker.session.type = mongodb_gridfs
... beaker.session.url = mongodb://localhost:27017/beaker.sessions

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

mongodb_gridfs_beaker-0.4.tar.gz (5.3 kB view hashes)

Uploaded source

Built Distribution

mongodb_gridfs_beaker-0.4-py2.7.egg (12.9 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page