Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

TiddlyWeb store using Redis

Project description

Experiment with using redis as a store for TiddlyWeb.

You must be running a redis server for the tests to pass. The 'redis' module
for Python is required. If you have hiredis, parsing will be improved.

This code supports the full StorageInterface, including policies and
tiddler revisions.

It makes no assumptions about how you are managing your redis server.
You will need to start that, and if you use any non-default configuration
you will need to put that in tiddlywebconfig.py. For example if you want
do use db 5, then you could have:

config = {
'server_store': ['redisstore', {'db': 5}],
}

!ToDo

* Consider using r->keys('tid:1:*') and similar to gather keys for
deletion. This may not be ideal though, as matching for keys when
there are many may be expensive.

* Dealing with keys that might have ':' in them.

* Manage keys that operate as reverse indexes for things we might
like to index_query, such as modifier, tags and fields. This has
not been done thus far as diddling with that would distract from
getting the core set of keys in place.

* Consider reverse indexes for things like bags in recipes, and
users in policies. (Such things have been useful in TiddlySpace).
Again these are not yet done so as to maintain focus.

* See what the options are for pub/sub.

!Copyright Etc

Copyright 2011, Chris Dent <cdent@peermore.com>
Released under the BSD License

Project details


Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tiddlywebplugins.redisstore-0.3.tar.gz (9.5 kB) Copy SHA256 hash SHA256 Source None Aug 30, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page