On Mon, 11 Oct 2010 22:14:29 +0200 Martijn Lievaart <> wrote:
ML> On Mon, 11 Oct 2010 14:17:58 -0500, Ted Zlatanov wrote:
>> If you need low latency, use a message queue.
ML> Speaking of message queues, what do people recommend on Unix/Linux?
I've heard positive things about
http://www.rabbitmq.com/ but haven't
used it myself. There's a lot of others, see
http://en.wikipedia.org/wiki/Categor...ted_middleware
Depending on your needs, TIBCO may fit. It's very popular in the
financial industry and in my experience has been a pretty good system
over the last 3 years I've used it. The Perl bindings
are... well... usable. The major headaches I've had were when the
process is slow handling incoming data. Unless you write your Perl very
carefully, it's easy to block and balloon the memory size (because
TIBCO's queue uses your own application's memory) to multi-gigabyte
footprints. So forget about database interactions, for instance--you
have to move them to a separate process and use IPC or file drops.
Threads (as in "use threads") are probably a bad idea too.
Ted