Beaker is session a middleware

http://wsgi.org/wsgi/Middleware_and_Utilities

reference:http://beaker.groovie.org/

Beaker is a library for caching and sessions for use with web applications and stand-alone Python scripts and applications. It comes with WSGI middleware for easy drop-in use with WSGI based web applications, and caching decorators for ease of use with any Python based application.

  • Lazy-Loading Sessions: No performance hit for having sessions active in a request unless they're actually used
  • Performance: Utilizes a multiple-reader / single-writer locking system to prevent the Dog Pile effectwhen caching.
  • Mulitple Back-ends: File-based, DBM files, memcached, memory, and database (via SQLAlchemy) back-ends available for sessions and caching
  • Cookie-based Sessions: SHA-1 signatures with optional AES encryption for client-side cookie-based session storage
  • Flexible Caching: Data can be cached per function to different back-ends, with different expirations, and different keys
  • Extensible Back-ends: Add more backends using setuptools entrypoints to support new back-ends.

News


[Bottle][2] Bottle 常见问题解答

 

http://article.yeeyan.org/view/35282/120735

bottle and session beaker

http://snipplr.com/view/26459/python-web-with-bottle-and-session-beaker/

 

posted on 2010-09-14 21:21  lexus 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/lexus/archive/2010/09/14/1826275.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值