zzzeek mostly computer stuff 2013-09-13T19:34:16Z Blogofile
http://techspot.zzzeek.org/feed/atom/ http://techspot.zzzeek.org
<![CDATA[Thoughts on Beaker]]>
http://techspot.zzzeek.org/2011/10/01/thoughts-on-beaker
2011-10-01T16:01:00Z 2011-10-01T16:01:00Z  Beaker is a widely
used caching and HTTP session library published by Ben Bangert.
It dates back to the early days of Pylons, when Pylons moved off
of the Myghty base to the Python Paste infrastructure. Beaker's
guts in fact were originally the internals to the caching and
session system of Myghty itself, which in turn was loosely based
on the caching code from HTML::Mason (which if those two colons
don't look familiar means we've made the jump across the ages to
Perl).  The key neato thing nestled deep inside of Beaker is
what I later was told is called a "dogpile lock". This is a
simple, but slightly less simple than dict.get() type of system
whereby the cache can put one thread to work on generating a new
value for a certain cache key, while all the other