beaker.ext.redisnm – Redis NameSpace Manager and Synchronizer

Module Contents

class beaker.ext.redisnm.RedisNamespaceManager(namespace, url, **kw)

Provides the NamespaceManager API over Redis.

Provided url can be both a redis connection string or an already existing StrictRedis instance.

The data will be stored into redis keys, with their name starting with beaker_cache:. So make sure you provide a specific database number if you don’t want to mix them with your own data.

class beaker.ext.redisnm.RedisSynchronizer(identifier, url)

Synchronizer based on redis.

Provided url can be both a redis connection string or an already existing StrictRedis instance.

This Synchronizer only supports 1 reader or 1 writer at time, not concurrent readers.