persistent fifo queue class

Diez B. Roggisch deets at nospam.web.de
Tue Mar 6 09:12:48 CET 2007


David Bear schrieb:
> I'm looking to see if there are any examples or prewritting fifo queue
> classes. I know this is a broad topic. I'm looking to implement a simple
> application where a web server enqueue and pickle using a local socket on
> to a 'queue server' -- and then I will have another application dequeue the
> pickles again using a local socket.

Why don't you use a DB for that? If you want pickles, use a  blob 
column. But all the rest - a defined protocol, stable server, 
transactions - you get for free.

Diez



More information about the Python-list mailing list