Skip to main content

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.

Source Distribution

mongodb_gridfs_beaker-0.5.4.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mongodb_gridfs_beaker-0.5.4-py2.7.egg (13.1 kB view details)

Uploaded Egg

File details

Details for the file mongodb_gridfs_beaker-0.5.4.tar.gz.

File metadata

File hashes

Hashes for mongodb_gridfs_beaker-0.5.4.tar.gz
Algorithm Hash digest
SHA256 e270e050b8b2e174bfad2bc856c17163cceb94446f7b06876877cd93566ccec4
MD5 b01b8ee67aa53e2d7336c83e926f8ab3
BLAKE2b-256 f6bcddbdfcc359dc1f73ca2e13d7de2c70112066abe2bd1a3ab9291d81bff69a

See more details on using hashes here.

File details

Details for the file mongodb_gridfs_beaker-0.5.4-py2.7.egg.

File metadata

File hashes

Hashes for mongodb_gridfs_beaker-0.5.4-py2.7.egg
Algorithm Hash digest
SHA256 bbe84f07bf5789ef59f420e47fb976d7d51f05612ffb0537285ded9025cc3c78
MD5 d6d38370a4c2fe33ed4ffd030fce57b0
BLAKE2b-256 c2e9c476ca2a3dff69ad6328e95c324ad287f92be24e7c06d76328e5a2307273

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page