A TiddlyWeb plugin to dispatch tiddlers to asynchronous job queues.
This plugin uses beanstalkd to provide an in memory queing system
holding queues to external processes which will do something with
the information in the queue. The general goal is to allow processing
of tiddlers asynchronously: For example to do indexing, send mail,
etc.
The general model goes as follows:
* In init() of the plugin two things happen:
** a Store HOOK for tiddler put and delete is registered, that hooke has
one job: put a message in the default queue of beanstalkd
** N+1 external process are either forked or if launched by some other
mechanism, registered. The '1' processs listens on the default
queue and writes the tiddler ID into a queue named after each of
the N external processes (e.g. a tube named 'index')
* Each of the process listening on non-default tubes, processes
the tiddler, and then deletes it from the queue.
This is _highly_ experimental. You will need to be able to compile
beanstalkd in order to use this.
External requirements are:
client: http://github.com/earl/beanstalkc
server: http://github.com/kr/beanstalkd
Copyright 2010, Chris Dent <cdent@peermore.com>
BSD License
This plugin uses beanstalkd to provide an in memory queing system
holding queues to external processes which will do something with
the information in the queue. The general goal is to allow processing
of tiddlers asynchronously: For example to do indexing, send mail,
etc.
The general model goes as follows:
* In init() of the plugin two things happen:
** a Store HOOK for tiddler put and delete is registered, that hooke has
one job: put a message in the default queue of beanstalkd
** N+1 external process are either forked or if launched by some other
mechanism, registered. The '1' processs listens on the default
queue and writes the tiddler ID into a queue named after each of
the N external processes (e.g. a tube named 'index')
* Each of the process listening on non-default tubes, processes
the tiddler, and then deletes it from the queue.
This is _highly_ experimental. You will need to be able to compile
beanstalkd in order to use this.
External requirements are:
client: http://github.com/earl/beanstalkc
server: http://github.com/kr/beanstalkd
Copyright 2010, Chris Dent <cdent@peermore.com>
BSD License
Release files for tiddlywebplugins.dispatcher 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tiddlywebplugins.dispatcher-0.9.tar.gz | 5.0 kB | Details |
Release files / tiddlywebplugins.dispatcher-0.9.tar.gz
| Download URL | tiddlywebplugins.dispatcher-0.9.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c02b023aaa0d9e4c7a7324fe9893ba7f90eef16c892aa405ec199fd526eab5f4
|
|
BLAKE2b-256 checksum How to use checksums |
e9ef05d51b22383535ec6e65eb33db5901bed90d1a09c13b48c2be43142f5a09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |