Anyone had success with using Redis as Beaker backend? Can you tell me link or library how to do it? I am looking for any library which does this but could not get anything out of google search.
A:
I have posted to pylons user group and this information resolve my question..
http://groups.google.com/group/pylons-discuss/msg/a1144aa1ca8e0417
Here are the steps that worked for me:
- easy_install redis
- easy_install pip
- pip install git+git://github.com/bbangert/beaker_extensions.git
- Edit Pylons' development.ini
[app:main] full_stack = true static_files = true
cache_dir = %(here)s/data beaker.session.type = redis beaker.session.url:127.0.0.1:6379 beaker.session.key = appname
- (Optional) Edit this file and change the serialization method to JSON. Even though JSON is not as efficient byte for byte I like how it is easily readable and relatively well supported across the technologies I've chosen:
http://github.com/bbangert/beaker_extensions/blob/master/beaker_exten...
Posted by Jeff
Gopalakrishnan Subramani
2010-07-08 02:38:40