Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ericrasmussen/pyramid_redis_sessions

Pyramid web framework session factory backed by Redis
https://github.com/ericrasmussen/pyramid_redis_sessions

Last synced: about 2 months ago
JSON representation

Pyramid web framework session factory backed by Redis

Awesome Lists containing this project

README

        

Overview
========

pyramid_redis_sessions is a server-side session library for the Pyramid Web
Application Development Framework, using Redis for storage. This library
implements the `Pyramid ISession interface `_.

Why Use Redis for Your Sessions
===============================
Redis is fast, widely deployed, and stable. It works best when your data can
fit in memory, but is configurable and still quite fast when you need to sync
to disk. There are plenty of existing benchmarks, opinion pieces, and articles
if you want to learn about its use cases. But for `pyramid_redis_sessions`, I'm
interested in it specifically for these reasons:

* it really is bleeping fast (choose your own expletive)
* it has a very handy built-in mechanism for setting expirations on keys
* the watch mechanism is a nice, lightweight alternative to full transactions
* session data tends to be important but not mission critical, but if it is...
* it has configurable `persistence `_

Documentation
=============

To get up and running as fast as possible, check out the
`Getting Started `_
guide.

You can also read the
`full documentation `_
on Read the Docs.

Support
=======

You can report bugs or open feature/support requests in the
`GitHub issue tracker `_.

You can also get live help in #pyramid on irc.freenode.org. My nick is erasmas,
but if I'm not available you can still typically get support from the many other
knowledgeable regulars.

License
=======

pyramid_redis_sessions is available under a FreeBSD-derived license. See
`LICENSE.txt `_
for details.