Persistent Queue implementations?

dsavitsk dsavitsk at e-coli.net
Mon Dec 23 18:54:47 EST 2002


"Karl A. Krueger" <kkrueger at example.edu> wrote in message
news:au833j$a7f$1 at baldur.whoi.edu...
> Kevin Altis <altis at semi-retired.com> wrote:

* * *

> I'm looking a little closer at the shelve module.  I've worked with Perl
> "tied hashes" before, and shelves seem to be similar.  The problem then
> is wrapping a semaphore around the shelf so it's thread safe, and
> putting a Queue-like interface around it.  Something like:

I can't offer anything in the way of programming for this, but I did want to
add an "I could really use this if you ever create it."  It would be
particularly useful for me if multiple python processes (as happens on win32
using COM servers) could share a single queue.

I have written a fairly sloppy version of this for win32 which acts like a
queue and runs as a service allowing multiple clients to connect and
disconnect via named pipes and use the queue as it is w/o loss of data (if
the service is stopped, or if the server is shutdown, the data is lost, but
i am working on a way to fix this.)

anyway, my project is very win32 specific and (sort of) lives at
http://ecpspooler.sourceforge.net

-d





More information about the Python-list mailing list