Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Beaker backend to write sessions and caches to a MongoDB GridFS

Project description

mongodb_gridfs_beaker

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.

Configuration

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 = 127.0.0.1:11211
... 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.

Files for mongodb_gridfs_beaker, version 0.5.4
Filename, size File type Python version Upload date Hashes
Filename, size mongodb_gridfs_beaker-0.5.4-py2.7.egg (13.1 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size mongodb_gridfs_beaker-0.5.4.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page