I am running this configuration right now and have been very happy with it so far. Redis is an amazingly fast key-value store and seems perfect for sessions.
Here are the steps that worked for me: 1. easy_install redis 2. easy_install pip 3. pip install git+git://github.com/bbangert/beaker_extensions.git 4. 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 5. (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_extensions/redis_.py -Jeff On Tue, Jul 6, 2010 at 11:15 AM, Gopalakrishnan S <[email protected]> wrote: > I want to use redis as my session data store. How to do I configure > the redis and beaker in Pylons? > > I could not find any sample..I could see this link example for > tyrant.. > > Please help me out.. > > Regards, > > Krish > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
