in reply to Fast queue logic

You can't beat a named pipe (FIFO) for speed, but there are two requirements:

  1. Your queue items must be relatively small (usually less than 512 bytes).
  2. Your queue reader and writer processes must all be on the same machine.

-- Rocco Caputo - troc@pobox.com - poe.perl.org