Skip to main content
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

Release files for tiddlywebplugins.redisstore 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tiddlywebplugins.redisstore 0.3
File Size Uploaded
tiddlywebplugins.redisstore-0.3.tar.gz 9.5 kB Details

Release files / tiddlywebplugins.redisstore-0.3.tar.gz

Download URL tiddlywebplugins.redisstore-0.3.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bdd9e0f57ee624a408e43bbe75b5b56fe48b995f4a8a8f1f162d3259bb2210b0
BLAKE2b-256 checksum
How to use checksums
07beaf3bab1eb990c0b4fe6e1ad4e41a19d13e44e5d5343634ebe050840b8bc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page