Jeppe has asked for the wisdom of the Perl Monks concerning the following question:
Esteemed Perl professionals and enthusiasts alike,
I'm looking for a solution or a product. What I need to do is to scale an application across servers.
The preferred method of doing so would be to send hundreds (or a few thousand) messages to a queue a second, and then whoever is available will grab a message from the queue and process it. The messages are small, just a short string containing a tablename and an ID.
All nodes will have a database connection to the same database, so I am indeed considering implementing this in a database table. But are there better alternatives out there?
I know about these solutions:
- Websphere MQ server - which is interesting but expensive, yet within reach for really large clients.
- Spread - which is not really suited for our purposes, as it sends one copy to each node.
- Spread::Queue - has not been maintained since 2002, not thread-safe, but looks OK otherwise.
- POE - a framework, so I need to create both server and client code.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Distributed FIFO queues?
by Rhandom (Curate) on Aug 15, 2007 at 13:55 UTC | |
by jettero (Monsignor) on Aug 15, 2007 at 15:00 UTC | |
by Rhandom (Curate) on Aug 15, 2007 at 22:58 UTC | |
by jettero (Monsignor) on Aug 17, 2007 at 14:30 UTC | |
Re: Distributed FIFO queues?
by Joost (Canon) on Aug 15, 2007 at 13:38 UTC | |
Re: Distributed FIFO queues?
by exussum0 (Vicar) on Aug 15, 2007 at 15:21 UTC | |
Re: Distributed FIFO queues?
by rsmah (Scribe) on Aug 15, 2007 at 23:15 UTC | |
by Anonymous Monk on Aug 16, 2007 at 07:09 UTC | |
Re: Distributed FIFO queues?
by hubb0r (Pilgrim) on Aug 15, 2007 at 20:32 UTC | |
Re: Distributed FIFO queues?
by rcaputo (Chaplain) on Aug 17, 2007 at 09:28 UTC | |
Re: Distributed FIFO queues?
by NiJo (Friar) on Aug 16, 2007 at 20:23 UTC | |
Re: Distributed FIFO queues?
by john_oshea (Priest) on Aug 21, 2007 at 10:42 UTC |
Back to
Seekers of Perl Wisdom