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.
Back to
Seekers of Perl Wisdom