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
Expiration is standard beaker syntax, although not supported at the moment in this backend.
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
Built Distribution
Close
Hashes for mongodb_gridfs_beaker-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a2e58682353deda62a088a0b371c21bed2936b43cf7321a90f61351e63646b |
|
MD5 | b5dc3b987eee3e091f7492147eea24d2 |
|
BLAKE2b-256 | f4fb80ac83cf46b2af4fc15126bcce3ecc09d2a20ec58d55c1deafbf4f7f0cfd |
Close
Hashes for mongodb_gridfs_beaker-0.3-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf199f3456bfb06654bb938a46c5fb8e22407a52a98e467c8b91f3d9baa6aea8 |
|
MD5 | 1fe3540fb93522622293c0092a98e874 |
|
BLAKE2b-256 | 2541ee9a6eaa2298fb3eee7e8cae2f129c07a19979891af4889443ff754fef09 |