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.
Are there any I have missed that I should know about? What are your 2c?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|